Set the max amount of the market currency (BTC, ETH, XMR, BNB, or USDT) we will use to buy a pair.
This amount is the maximum amount spent for EACH initial purchase. If our set initial_cost is bigger than our MAX_INITIAL_COST we use the max cost. This can especially happen when we use a dynamicaly calculated initial_cost of a % based initial_cost
# TCV is 1000 USDT and initial_cost = 3%
# That means initial cost is 30 USDT
# But since max is set to 25 USDT.
# Our initial purchases will be 25 USDT
DEFAULT_max_initial_cost = 25
or
DEFAULT_max_initial_cost = 2%
If you use
keep_balance
the balance used to calculatemax_initial_cost%
does not include the reserved amount. e.g Balance = 1 BTC,keep_balance
= 0.5 BTC,max_initial_cost
of 1% will equal 0.005 BTC not 0.01 BTC.
The above keep_balance logic is only valid for SPOT exchanges