Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is the futures trade endpoint working ? #243

Open
stefaj opened this issue Jun 22, 2024 · 1 comment
Open

Is the futures trade endpoint working ? #243

stefaj opened this issue Jun 22, 2024 · 1 comment

Comments

@stefaj
Copy link

stefaj commented Jun 22, 2024

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
Copy link
Author

stefaj commented Jun 22, 2024

Please see #244 for a potential solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant