generate_pairs_for_binance#

API documentation for tradingstrategy.binance.utils.generate_pairs_for_binance Python function.

generate_pairs_for_binance(symbols, fee=0.0005)[source]#

Generate trading pair identifiers for Binance data.

Parameters:
  • symbols (list[str]) – List of symbols to generate pairs for

  • fee (float) – fee override for the trading pairs in float form, to make trading cost the same as DEX

Returns:

List of trading pair identifiers

Return type:

list[tradingstrategy.pair.DEXPair]