Warning: TypeError: binance.order is not a function
See original GitHub issueTitle
- help
Short Description:
- Warning: TypeError: binance.order is not a function
Platform:
- linux
node version:
- v10.4.0
Long descrption
- UnhandledPromiseRejectionWarning: TypeError: binance.order is not a function
code
orderId = binance.order(side, symbol, Q, price, {type:'LIMIT'}, (error, response) => {
if (response="{}") {
console.log(chalk.bgRed(symbol + " : " + side + "ERROR ORDER RETURN EMPTY DATA"))
return;
} else {
console.log("Limit "+side+" response", response);
console.log("order id: " + response.orderId);
..
}
return response.orderId
})
thank you
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Node.js basic error: Uncaught TypeError: Binance is not a ...
const client = new Binance();. but I get another error saying Binance is not a constructor. This is the function declaration in the...
Read more >How to Resolve Order Issues - Binance
Issues like the inability to cancel your orders or coins not being credited to your account require further support. Please contact our Customer ......
Read more >JavaScript & Node.js Tutorials Examples of binance-api-node
Best JavaScript code snippets using binance-api-node(Showing top 15 results out ... return } else { log(logSymbols.warning, chalk.gray("MARKET ORDER NOT YET ...
Read more >TypeError: binance.options is not a function - Bountysource
Unable to run getting started code, running the code will return message 'TypeError: binance.options is not a function'.
Read more >A Complete Guide to Winston Logging in Node.js - Better Stack
log file ( warn and error levels in this case). A common need that Winston does not enable by default is the ability...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed https://github.com/jaggedsoft/node-binance-api/commit/d865907888f25a4016a9c2092e56071ec9ec0b7a Available in v0.7.3
hey, they were some recent changes to constructor.
specifically
const binance = new Binance();
how are you instantiating?