binance-rs
binance-rs copied to clipboard
Is the futures trade endpoint working ?
According to https://dev.binance.vision/t/futures-trades-websocket-with-trade/17246 there is a @trade futures endpoint, and I see in the code there is a FuturesWebsocketEvent::Trade
.
https://github.com/nkaz001/collect-binancefutures/blob/master/collect/binancefutures.py is using it as well.
I have tried subscribing to the following:
- wifusdc@trade
- wifusdc@aggTrade
- wifusdc@depth20@500ms
- wifusdc@kline_1m
- wifusdc@bookTicker
All except the first is working.
I get no data during, FuturesWebsocketEvent::Trade(trade_event) => println!("Trade {:?}", trade_event);
I am using binance = { git = "https://github.com/wisespace-io/binance-rs.git" }