utils#

API documentation for tradingstrategy.binance.utils Python module in Trading Strategy.

Module description#

Utility functions to help automatically generate Binance data.

Functions#

add_info_columns_to_ohlc(df, pairs)

Add single pair informational columns to an OHLC dataframe.

generate_exchange_for_binance(pair_count)

Generate an exchange identifier for Binance data.

generate_exchange_universe_for_binance(...)

Generate an exchange universe for Binance data.

generate_lending_reserve_for_binance(...[, ...])

Generate a lending reserve for Binance data.

generate_pair_for_binance(symbol[, fee, ...])

Generate a trading pair identifier for Binance data.

generate_pairs_for_binance(symbols[, fee])

Generate trading pair identifiers for Binance data.