0

我编写了一个方法来使用 ccxt 从 binance 或 bybit 获取 ohlvc 数据。我想从这两个交易所的测试网中获取数据。我怎样才能做到这一点 ?我稍微搜索了 ccxt 代码,发现 binance 交换存在 testnet url,所以这应该是可能的。但是我不知道如何设置。

我想应该有一些选项,例如 binance_futures = ccxt.binance({ 'option': { 'defaultMarket': 'future' } })

有人知道吗 ?

4

0 回答 0