-
Hello, I m looking for the API for binance future and huobi future, I installed the simple binance and huobi xchange API wich are for the spot data . do Binance stream and huboi stream are the futur…
-
In huobi_usdt_swap_cross, **async def on_ticker,cancel_orders,place_orders are not reached through**
quant.loop.run_forever.
**Orderbook and trade data are properly received** through on_event…
igkoh updated
3 years ago
-
在 example/huobi_swap/strategy.py 中import alpha/platforms/huobi_swap_trade 的HuobiSwapTrade 类,然后在 example/huobi_swap/strategy.py 的函数 on_event_kline_update(self, kline: Kline) 中调用 HuobiSwapTrade 类的create…
-
新春快乐!
我通过Kline获取到实时的close数据,然后我设置close到达某个值时,进行买入多或者空的操作,应该调用哪个函数来实现这个逻辑?进一步来说,是调用huobi_swap_markey.py中的process_trade(self, data)来实现吗?这个函数感觉只是在打印实时的交易数据呢?谢谢!
-
对于“huobi_swap” demo 的文件“main.py ”中除了初始化quant.initialize(config_file) initialize()外,就是quant.start();
跳转到quant.py, start()方法最核心的功能语句是 self.loop.run_forever() ;而run_forever() 是python实现的函数,不是我们自己写的函数,那我…
-
**Hi @kroitor,
I am using the latest version of CCXT to get private data from my Xena testnet account like BTC Balance etc. But getting below ccxt error
OS: Windows
Programming Language version…
-
Hi,
Currently, cryptofeed is managing data coming from exchanges.
Please, is there any contraindication for proposing new data feeds like CoinMarketCap, CoinGecko, Nomics...
From these data feeds…
-
With the sample config.json in examples\huobi_future,
"ACCOUNTS": [
{
"platform": "huobi_swap",
"account": "account",
"host": "https://api.hbdm.v…
igkoh updated
4 years ago
-
async def on_ticker(self, *args, **kwargs):
""" 定时执行任务
"""
ts_diff = int(time.time()*1000) - self.last_orderbook_timestamp
if ts_diff > self.orderbook_invalid_s…
-
If program runs for n hours with 1 min disconnected/reconnected, self.trader.orders
**does not contain the 1 min disconnected period**. **What is the method to get the persistent
data of ALL OP…
igkoh updated
4 years ago