Coder Social home page Coder Social logo

Comments (8)

seongs1024 avatar seongs1024 commented on July 4, 2024

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.

Igosuki avatar Igosuki commented on July 4, 2024

Please kindly point to the outdated endpoints so I can remove the methods.

from binance-rs-async.

Igosuki avatar Igosuki commented on July 4, 2024

@seongs1024 it's just that the endpoint needs to be removed from the API as it's not available anymore

from binance-rs-async.

seongs1024 avatar seongs1024 commented on July 4, 2024

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.

seongs1024 avatar seongs1024 commented on July 4, 2024

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.

Igosuki avatar Igosuki commented on July 4, 2024

@seongs1024 I removed the method from 1.1.9

from binance-rs-async.

DoctorEenot avatar DoctorEenot commented on July 4, 2024

Hi, I implemented some functions for endpoints in account
#79

from binance-rs-async.

Marvino98 avatar Marvino98 commented on July 4, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.