Stepped lot size #93
No reviewers
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!93
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "stepped-lot-size"
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?
Some exchanges require trade sizes to be specific volumes (e.g. multiples of 0.01).
Fortunately XChange has a setting in the exchange metadata that indicates the lot size. This new feature will use that metadata, if it is present, to round off trades for that exchange to meet the required lot size.
Unfortunately none of the exchanges I use have this requirement so I can't test any live trades. This PR is blocked until @sanitariu or somebody else from the community has an opportunity to test it using an exchange that requires it, such as Binance.
To test, you may build from the
stepped-lot-sizebranch or you can use thescionaltera/arbitrader:stepped-lot-sizeDocker tag. Post your log here to show that it used the correct lot sizes for a trade. Feel free to scrub other information like dollar amounts.Closes #86