Git Product home page Git Product logo

Comments (5)

jaggedsoft avatar jaggedsoft commented on September 26, 2024 3

I have found a solution
You can call exchangeInfo()
If the status is "BREAK" then markets are frozen

https://api.binance.com/api/v1/exchangeInfo

image

from node-binance-api.

nickreese avatar nickreese commented on September 26, 2024

So turns out the order that I placed that showed matched isn't showing in my orders. Maybe the froze the state or something.

from node-binance-api.

jaggedsoft avatar jaggedsoft commented on September 26, 2024

This is indeed strange. Their API is frozen, but not down. No errors are being returned. So I can't even begin to think what we would check to see the status

I have seen this before, but it is typically for very short periods of time and does not result in your program crashing - just getting stuck doing nothing for some time, then resumes as normal

from node-binance-api.

jaggedsoft avatar jaggedsoft commented on September 26, 2024

I suppose we could test the duration since the last trade for specific markets, that would tell you if there have been no trades in a certain time period, for example 5+ minutes

from node-binance-api.

jaggedsoft avatar jaggedsoft commented on September 26, 2024

There is now a way to check system status
https://api.binance.com/wapi/v3/systemStatus.html

added systemStatus() function to next version

binance.systemStatus((error, response) => {
	if ( response.status === 0 ) {
		console.log("API is online");
	} else console.log(response);
});

from node-binance-api.

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.