-
Notifications
You must be signed in to change notification settings - Fork 127
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relative Order Size #29
Comments
The way how it could be done is that in Create Bot and Edit Bot windows, there will be a checkbox that defines relative order size that will be checked by default. The amount field that was used for amount of order will be used for percentage of the account's balance only when the Relative Order Size checkbox will be checked. |
Yes this sounds correct. It should also be noted that order size should not be relative to total account value (as measured in base asset, like USD), but relative to the balance of specific asset which will be allocated to order. For example in the BTS:USD market, if an order is to be placed to sell BTS (buy USD), the order size should be x% of the available BTS. The USD balance can be completely omitted. Same with the opposite side: when placing orders allocating USD (buy BTS), the order size should be a percentage of available USD. I would like to change the definition slighty. As I just stated, order size should be a percentage of available balance (earlier I said percentage of balance including orders). First, I think it is easier to get available balance. Second, in the future we want to add additional staggered orders to this strategy, and it's better for them to use percentage of available balance than of total balance. |
Just an additional note: Relative Order Size will result in different order sizes of opposite orders. This is to be expected. |
I think I should note here, about order size based on percentage of available balance. The way how update orders function works now is that it cancels all orders before replacing order on the market. If the order size amount will be calculated after all orders are cancelled, orders will be included in the balance because they are cancelled. |
Right, so it wouldn't have made any difference in this case. |
To be used in the Relative Orders strategy.
In stead of having the order size defined in absolute terms, it should be a percentage of the total balance of the asset in question. The percentage can be set by the user, and 10% can be the default.
The benefits of this are:
The text was updated successfully, but these errors were encountered: