Note that this seed project requires node >=v6.9.0 and npm >=3.
In order to start the project import or open this project in IDE:
# git clone the repository
# cd into the root directory and install the project's dependencies
$ npm install
# Start the Program by `npm start`.
$ npm start
This project purpose is to monitor the executionReport delay after submitting an order to binance
- send a API post request to create and retrieve a listen key for web socket
- create a new web socket connection to listen to User Data Streams
- submit an order through api while web socket is opened
- websocket return
executionReportEvent time if an order is matched - the execution data is saved as a new JSON file.
- If parameters is not entered, default value will be used where symbol = LTCBTC, side = SELL, type = LIMIT, timeInForce = GTC, quantity = 0.1, price =0.004
- enter 'e' to exit program anytime
- the return data will be display on screen and save as a new JSON file.