4) You have an 'oracle' which reports the price of the assets, and your risk engine--the thing that calculates users' margin--uses prices from that oracle.
One asset--say XYZ--has a price of roughly $0.40 according to the oracle.
A user--Alice--has $200m XYZ and -$25m USD.
Conversation
11) First, FTX has EWMA price bands.
What this means is, roughly, that FTX consumes raw price feeds.
But, before feeding that into its risk engine, it bounds those price feeds so that they can't move more than ~20% over a 5 minute period.
8
22
170
14) Second, FTX uses 'IMF Factors'.
The larger your position, the greater % margin we charge.
For MNGO, the margin we charge is 0.00025 * sqrt(MNGO tokens).
If you wanted to have a 500m MNGO position, FTX would have required, uh, 500%. (Bounded at 'fully funded'.)
Replying to
15) The reason, basically, is that large positions--especially in illiquid tokens--can have a lot of impact.
So we charge more % margin the greater your position is.
3
8
108
17) So even before hitting position limits, the risk engine ensures that the collateral backing a position is sufficient.
And what if you try to use something other than dollars as collateral?
Well, we haircut it. In some cases, a lot.
4
4
102
