Comments (8)
Examples aren't working.
Run with:
cargo run --features futures_api --example binance_futures
Error is:
[2022-06-16T03:27:22Z ERROR binance_futures] Error: BinanceError { response: BinanceContentError { code: 400, msg: "The endpoint has been out of maintenance", extra: {} } }
from binance-rs-async.
Please kindly point to the outdated endpoints so I can remove the methods.
from binance-rs-async.
@seongs1024 it's just that the endpoint needs to be removed from the API as it's not available anymore
from binance-rs-async.
The error occurs from the function, get_all_liquidation_orders()
.
Other functions are working well, so that the example is running if below codes are commented out.
// from the line 107 to 112 in ./examples/binance-futures.rs
async fn market_data() {
/* snippet */
match market.get_all_liquidation_orders().await {
Ok(LiquidationOrders::AllLiquidationOrders(answer)) => {
info!("First liquidation order: {:?}", answer[0])
}
Err(e) => error!("Error: {:?}", e),
}
/* snippet */
}
from binance-rs-async.
From binance API doc, the endpoint for get_all_liquidation_orders()
is no longer available.
2021-04-27
WEBSOCKET
- The following liquidation orders streams do not push realtime order data anymore. Instead, they push snapshot order data at a maximum frequency of 1 order push per second.:
<symbol>@forceOrder
!forceOrder@arr
REST
- The endpoint
GET /fapi/v1/allForceOrders
stop being maintained and no longer accepts request.
So the functionality can be served only by websocket.
from binance-rs-async.
@seongs1024 I removed the method from 1.1.9
from binance-rs-async.
Hi, I implemented some functions for endpoints in account
#79
from binance-rs-async.
Hi, I am a heavy futures API user. Can there be an implementation to transfer futures assets to spot wallet? https://binance-docs.github.io/apidocs/spot/en/#new-future-account-transfer-user_data @Igosuki
from binance-rs-async.
Related Issues (20)
- Stop Loss Orders & Take Profit Orders for futures HOT 3
- NOT working - get_exchange_info HOT 1
- Futures API HOT 1
- not support COIN-M Futures
- Change in API caused deserialization to break model HOT 1
- To support proxy connection to binance websocket HOT 6
- Fix: wallet api bugs HOT 12
- Margin Account cancel_all_orders on open OCO order yields MarginOCOOrderResult instead of MarginOrderCancellationResult HOT 6
- add PartialEq on OrderStatus and similar types HOT 1
- errors while using the wallet feature? HOT 2
- Is futures websocket stream not implemented? HOT 10
- futures position_information implementation HOT 1
- The GET method internally creates a new `reqwest::Client` each time.
- Configure timeout of the client. HOT 5
- Dependency Dashboard
- Proxy support? HOT 11
- Version 1.3.2 didn't match with the available ones HOT 2
- Signature for this request in not valid HOT 2
- How to solve recvWindow error?
- tokio-tungstenite updating to version 0.20 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from binance-rs-async.