'Can't listen to FTX filled orders in-stream by using FtxWebsocketClient
guys
I want to listen to someone's FTX future orders in-stream and I try this
from client import FtxWebsocketClient
import time
wsm_client = FtxWebsocketClient()
while True:
if wsm_client.get_fills() != []:
print(wsm_client.get_fills())
if wsm_client.get_orders() != {}:
print(wsm_client.get_orders())
time.sleep(0.25)
But it always returns an empty string but there are orders get filled.
Any ideas?
Thank you
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
