Release notes: StarkEx Perpetual Trading 2.1
New feature: Dynamic risk factor
Dynamic risk factor enables you to increase the risk factor for a synthetic asset as the amount of that asset held in a position increases.
You define the tiers for risk factor with risk_factor
in the general configuration file.
Each tier is defined by an upper bound, upper_bound
, and risk factor, risk
. You can define as many tiers as you require.
For example, Table 1, “Tiers of risk” shows the risk_factor
for an asset with three tiers:
Amount of synthetic asset | upper_bound |
risk |
---|---|---|
0-5,000 |
5,000 |
128849019 |
5,001 - 10,000 |
10,000 |
171798692 |
10,001 - 2128-1 |
2128-1 |
214748365 |
Additional resources