Open mioxtw opened 2 years ago
Again
ubuntu@ip-172-31-17-19:~/ArbBot/bin/src/example$ ./arb arb50000_close.json
[FTX] SubAccount Name: [ARB50000] Open/Close positions: [close] Size: [1000] Premium: [-0.5 %] Batch size limit: [100] Hedge Mode: [1] FTX Futures[FTT-PERP] / FTX Spot[FTT/USD]
[FTX] Balance: [USD] :[-288964] [FTX] Balance: [FTT] :[6500] [FTX] Margin Balance: [USD] :[70108.9]
[FTX] Max Leverage: [20] [FTX] Current Leverage: [12.4586] [FTX] Spot Positions: [FTT] :[6500]
[2021-10-14 16:23:29] [info] asio async_read_at_least error: asio.ssl.stream:1 (stream truncated):[40.8] [2021-10-14 16:23:29] [error] handle_read_frame error: websocketpp.transport:2 (Underlying Transport Error)
Available Solution: https://www.coder.work/article/7300281
[2021-09-25 00:10:47] [info] asio async_read_at_least error: asio.ssl.stream:1 (stream truncated):[3.7] [2021-09-25 00:10:47] [error] handle_read_frame error: websocketpp.transport:2 (Underlying Transport Error) [2021-09-25 00:10:47] [info] asio async_shutdown error: asio.ssl.stream:1 (stream truncated)
Probable Solution: Need to implement ping pong each 15s
From FTX Websocket API: [Send pings at regular intervals (every 15 seconds): {'op': 'ping'}. You will see an {'type': 'pong'} response.]