getting the trade ID of multiple trades #95
katredanded
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Run: trade= await client.buy(amount, asset, direction, time) to place multiple asynchronous trades
and then check trade ID: trade[1]['id']
only returns the trade ID of one trade instead of all executed trades. Say if I do a multi trade of 5 different assets, check trade ID only returns that of one asset for all 5, instead of 5 unique trade IDs.
How to fix?
All reactions