let binance_futures = new ccxt.binance({ options: { defaultMarket: 'futures' } }) 上面一行是用 JavaScript 写的。 python 中的等效行会是什么样子?像这样我得到一个错误: binance_futures = ccxt.binance({ 'option': { defaultMarket: 'futures' } }) NameError: name 'defaultMarket' is not defin...
问通过ccxt结清Binance Futures头寸ENPython中进行并发编程一般使用threading和multiprocessing模块,不过大部分...
future_depth =binance.fapiPublicGetDepth({"symbol":ba_futures_symbol}) 通过返回结果可以看到,我们成功的使用隐式方法,调取到了币安u本位BTCUSDT合约的深度数据。 而对于OKEX交易所来说,我们也可以遵循同样的步骤,来获取OK我们需要币种(合约)的深度数据。我们还是通过print(dir(ccxt.okex())),打印ccxt支持的okex...
Pionex— 6 grid bots, spot-futures arb bot, smart trade and DCA bots. Free forAndroidandiOS! AAX— trade bitcoin futures with fees as low as 0.02% and up to 100x leverage! Certified Cryptocurrency Exchanges Supported Cryptocurrency Exchange Markets ...
exchange = ccxt.binanceusdm({ 'apiKey': 'blabla', 'secret': 'secret', 'enableRateLimit': True, 'options': { 'defaultType': 'future' } }) 而不是 exchange = ccxt.binance({... 这个问题不仅限于杠杆,甚至可以直接在交易上指定止损或止盈,因此我的代码有 3 次迭代 order 任何帮助将不胜...
binance = ccxt.binance() We get the binance exchange. markets = binance.load_markets() Withload_marketswe get all markets on Binance. Different markets (spot, futures) have different pairs. data = list(ccxt.Exchange.keysort(markets).items()) ...
A JavaScript / TypeScript / Python / C# / PHP cryptocurrency trading library with support for 100+ exchanges. Latest version: 4.3.46-alpha.1.0.0-arz.1.1, last published: 8 months ago. Start using ccxt-ir in your project by running `npm i ccxt-ir`. There
Hi, I have recently updated my CCXT version, having not done so for a while, and have noticed that filtering for futures symbols no longer works. I'm essentially trying to get a list of funding rates for USD-M futures on Binance. Normally I would be able to loop through each symbol f...
Hi I'm trying to find a way to get my open futures position on Binance Futures. I've tried two methods, exchange.fetch_balance() provides everything except for an actual position amount, so this is useless. I also found exchange.fapiPrivatePositionrisk() on your website but this just ...
输出交易所的Trading Pair所有类别,有的交易所称为Pairs。在CCXT中称为symbol 2 python实现 import ccxt # 交易所名称 # 可以是以下交易所 ''' 通过print(ccxt.exchanges)打印查看 ['aax', 'alpaca', 'ascendex', 'bequant', 'bibox', 'bigone', 'binance', 'binancecoinm', 'binanceus', 'binanceusd...