Gate.io creating orders returns "Cannot read properties of undefined (reading 'toString')"
See original GitHub issueI have a weird error that I only get with instances for the exchange gatio.
Whenever I use exchange.createOrder or createMarketBuyOrder I get this error I can not resolve.
“Cannot read properties of undefined (reading ‘toString’)”
return this.exchange.createMarketBuyOrder( market.symbol, baseAmount )
in this particular example I use ETH/USDT for the “market.symbol” and 0.02 for the baseAmount
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
toString cause Cannot read properties of undefined (reading ...
The Window interface's opener property returns a reference to the window that opened the window, either with open(), or by navigating a link ......
Read more >Guide - Customer Support & Help Center | Gate.io
How to check order history on Gate.io website: Log in to your Gate.io account. Click "Order" - "Classic Account" - "Spot Orders". Choose...
Read more >Disabling cannot read property of undefined - GeeksforGeeks
Example 1: In this example, we will create a function that will accept a ... Cannot read properties of undefined (reading 'second_property').
Read more >JavaScript - Docs - PostHog
Super Properties are properties associated with events that are set once and then sent with every capture call, be it a $pageview, an ......
Read more >Uncaught TypeError: Cannot read property of undefined
If you get undefined error, you need to make sure that which ever variables throws undefined error, is assigned a value to it....
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 Free
Top 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
already updated my response. Thank you for this fast feedback. Did not expect an answer already. Cheers
Yes, that is correct, with spot markets you have to use limit orders. Closing this for now. Feel free to reopen it or just ask further questions if any.