binance-rs icon indicating copy to clipboard operation
binance-rs copied to clipboard

Is the futures trade endpoint working ?

Open stefaj opened this issue 8 months ago • 1 comments

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" }

stefaj avatar Jun 22 '24 09:06 stefaj