I am using ccxt library to work with exchange. Struggling with making market order on Bybit. How it can be fixed? The error i've got is TypeError: Exchange.request() takes from 1 to 3 positional arguments but 5 were given
bybit_spot = ccxt.bybit({
"apiKey": config.bybit_API_KEY,
"secret": config.bybit_SECRET_KEY,
"options": {'defaultType': 'spot' }})
bybit_spot.private_post_spot_v1_order("GMTUSDT", "buy", "market", amount)