-
Open interest and liquidation are important features in trading.
Currently open interest is received in async def on_event_kline_update as
response=requests.get(self.OIurl)
with OIurl as '_https…
igkoh updated
3 years ago
-
2021-03-12 12:29:11|INFO|ws_utils.py|22|3440|wss://api.btcgateway.pro/linear-swap-ws||
2021-03-12 12:29:13|ERROR|_logging.py|66|6924|error from callback : _on_open() takes 1 positional argument but 2…
-
The Autofarm ecosystem comprises of 3 main products; firstly, a cross-chain yield optimizer which automates yield farming for users, a DEX aggregator (AutoSwap) that provides users' with the best swap…
0xsis updated
3 years ago
-
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,控制台实时打印了三种类型的信息:
[2021-02-05 09:08:51,968] [-] [MyStrategy] orderbook: {"platform": "huobi_swap", "symbol": "BTC-USD", "asks": [["37181.40000000", "2997.00000000"], ["37181.…
-
how could I get data details, including but not limited to market, trade and kline.
for example:
![image](https://user-images.githubusercontent.com/33723964/108225450-e9f29180-7176-11eb-8a87-e71db0f…
-
我想修改huobi_swap demo运行时的打印内容,请问应该修改哪个文件夹中哪个文件的哪个函数?非常感谢
-
**Describe the bug**
I get following error message from HUOBI_SWAP.
```bash
2020-12-02 21:46:59,329 : ERROR : HUOBI_SWAP: encountered an exception, reconnecting
Traceback (most recent call last):
…