目前我有一个非常手动的过程来从 Binance 返回一对历史烛台数据,例如 AVAXUSDT
我希望能够从 Binance 获取以 USDT(或其他)为基础货币的多对组合的烛台数据,例如 AVAXUSDT、LUNAUSDT、ADAUSDT 等。
这是我返回单对的脚本的一部分
candlesticks = client.get_historical_klines("AVAXUSDT", Client.KLINE_INTERVAL_12HOUR, "1 Jan, 2019", "18 Sep, 2021")
我怎样才能得到很多对?