Exchange fees on the application.yaml #228
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#228
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?
In the configuration yaml file there is the
feeskeyword to specify the exchange fees. What exactly is the fee expected here? I am asking because most (if not all) exchanges have a different fee if you are a maker or a taker in the market.How should we specify the maker fee and the taker fee? Is it possible?
Arbitrader will always place a limit order which most exchanges consider a "maker" fee and charge at a lower rate.
Additionally, Arbitrader will always try to query the exchange's API to retrieve the current fees when it starts up. If it can get the fee directly from the exchange it will override the
feesvalue. To confuse the issue a little further, I have found a couple exchanges such as Gemini that have APIs that return the wrong rate for their fees, so there is afeeOverridethat you can set to make it ignore the exchange's API and force it to use your own value.You can find examples of how to use these fields in
application.example.yaml.The value should be expressed as a decimal. Some examples:
6% would be 0.0006
16% would be 0.0016
60% would be 0.0060
Each exchange configuration has its own
feesfield, so you can define it independently for each exchange.