i wrote a small script to download ohlcv data from binance or bybit with ccxt. I want to get candle data from the testnet as well as the main net. I looked at ccxt code and there are urls for both nets, yet i do not know how to set the option.
I guess there has to be something like. bybitt = ccxt.binance({ 'option': { 'defaultMarket': 'future' }})
Does anyone know?