The following code work binance futures using ccxt. What is the correct code/configuration for kucoin futures?
import ccxt
import pandas as pd
binance = ccxt.binance()
binance.options = {'defaultType': 'delivery', 'adjustForTimeDifference': True}
securities = pd.DataFrame(binance.load_markets()).transpose()
print(securities)
=== OUTPUT ===
percentage feeSide tierBased taker maker ... inverse expiry expiryDatetime active contractSize
BTC/USD True get False 0.0005 0.0001 ... True None None True 100
BTCUSD_210924 True get False 0.0005 0.0001 ... True 1632470400000 2021-09-24T08:00:00.000Z True 100
...
kucoinfutures
requires you to create an apiKey and secret on futures.kucoin.com that is separate from your apiKey and secret forkucoin
that you may have created on kucoin.com. For this reason, kucoinfutures is a separate class from kucoinThe equivalent code for kucoinfutures to the code in your question is
output
if you want to create an order on
kucoinfutures
you can dooutput