Thank you MJW, your comments are always helpful. I corrected the BNBUSDT but I still getting an error.
You mentioned to node-binance-api, that’s what I am using right now, could you explain, which function can I use to bring me exchange info?
I also I am getting mysterious error when I try to place a market order using node-binance-api by using the following function, any suggestion is greatly appreciated!
binance.buy(“BNBUSDT”, 0.3, 0, “MARKET”)
the error I am getting is:
(node:17200) UnhandledPromiseRejectionWarning: #
(node:17200) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17200) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.