Comments (5)
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
from node-binance-api.
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.
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.
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.
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)
- specify commission asset
- Reqest futuresHistoricalTrades and get status code: 401 Unauthorized HOT 1
- request historicalTrades and got status 401 Unauthorized
- Subscribe to several user streams with one websocket connection
- is there some API to simply convert e.g. USDT to BTC HOT 1
- Problem with await when getting balances HOT 3
- call return price of a symbol
- variable of binance.websockets.bookTickers
- Lack support for Binance mining pool. label:feature-request
- Close futures positions
- Withdraw error not documented -4009
- quoteOrderQty request sometimes not working on 100% buy market
- Custom indicators with websockets
- Timestamp for this request is outside of the recvWindow.
- binance.websockets.trades()
- how to know the change of status of an order?
- support for userFutureData HOT 1
- Support for avgPrice of VESUSDT/VESBUSD/VESUSDC/VESETH/VESBTC HOT 1
- Method to retrieve cross / isolated margin pairs
- Binance
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 node-binance-api.