-
Notifications
You must be signed in to change notification settings - Fork 74
Order Placement & recvWindow
The following timing diagram illustrates the meaning and application of the recvWindow argument as well as the relationship of the high-level and low-level APIs.
NOTE: This diagram displays an ideal situation where your local time is synchronized with the Binance server time. This is not always so and is why there is a synchronization process which calculates an offset used during timestamp creation. As you can see, it is important for reliable use of the recvWindow argument -- and the API in general -- that timestamps are synchronized. The default recvWindow value, based on the latest Binance API documentation, is 5000 (5 seconds). The synchronization process cannot be disabled, but the rate at which the timestamp offset is refreshed can be controlled (default period is arbitrarily set at 1 hour).

- Verify connection to the Binance server (minimal examples).
- Get the market depth (order book) for a symbol.
- Maintain a real-time order book cache for a symbol.
- Get the aggregate trades for a symbol.
- Maintain a real-time trade history cache for a symbol.
- Get the candlesticks for a symbol.
- Maintain a real-time price chart cache for a symbol.
- Get the 24-hour statistics for a symbol.
- Get current prices for all symbols for a price ticker.
- Get best price and quantity on the order book for all symbols.
- Get a list of all current symbols.
- Place a LIMIT order.
- Place a MARKET order.
- Place a TEST order to verify client order properties.
- Look-up an existing order to check status.
- Cancel an open order.
- Get all open orders for a symbol.
- Get all orders for a symbol.
- Get current account information.
- Get account trades for a symbol.
- Submit a withdraw request.
- Get deposit history.
- Get withdraw history.
- Donate BTC to the creator of this library.