jaggedsoft / node-binance-api

Node Binance API is an asynchronous node.js library for the Binance API designed to be easy to use.
MIT License
1.58k stars 769 forks source link

WS userData execution_callback Bug #834

Open CagriAldemir opened 2 years ago

CagriAldemir commented 2 years ago

https://github.com/jaggedsoft/node-binance-api/blob/583a34a1f70a600a7286ed3e08b9809ad221049e/node-binance-api.js#L5350

The above line looks wrong. I think it should be like below.

Binance.options.execution_callback = execution_callback ? execution_callback : callback;