Adding Binance support #86
Labels
No labels
blocked
breaking
bug
dependencies
duplicate
enhancement
good first issue
help wanted
question
tech debt
testing
wontfix
No milestone
No project
No assignees
1 participant
Due date
No due date set.
Dependencies
No dependencies set.
Reference
scion/arbitrader#86
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I tried adding Binance support.
Everything seems fine except when trading.
This is the error I have:
Seems like LOT_SIZE is not OK. I did put $29 for maximum trade value but bot seems to use values like $28.9995597 or so. Can we use value without decimal split like $29 or even $30 ?
Here i found more information. Maybe its specific for each exchange:
https://github.com/binance-exchange/binance-official-api-docs/blob/master/rest-api.md#filters
Check for LOT_SIZE how to pass....
I edited your original post slightly to make the logs more readable. Hope you don't mind.
Thanks for working on this, and for the link to the
LOT_SIZEdocumentation. I'll take a look and see if I can figure out what we need to do.It looks like XChange provides a way for me to look up the lot size for each currency pair on each exchange. I'll experiment with that and try adjusting the trade volume if there is an applicable lot size. I'll have to rely on you to test since I don't have an account with Binance.
Thanks for editing. It was my blind copy/paste from terminal :(
I have binance account and wil use it in trading even if it did make some errors.... so you can count on me for testing and bug reporting. Binance have high fees like 0.1 but its okay for me.
I have pushed a branch with code that knows how to get an exchange's lot size if it has one and round orders to the correct volumes. I don't think any of the exchanges I use have this feature though, so if you could try it out I'd appreciate it. The branch is named
stepped-lot-size. If you're using Docker there is a tag you can pull with that same name. Let me know how it works out.Closing for now. If it doesn't work, go ahead and open a new issue.