mango-v4/programs
Christian Kamm ec99376a8f
Perp: Allow setting pnl asset weights (#391)
This replaces the previous distinction between trusted and untrusted
markets, they are equivalent to setting the asset weights to 1 or 0
instead.

This way, we can weigh positive pnl in the trusted case at less than 1
which is more correct from a risk point of view and allows for more
flexibility when it comes to liquidation.

Co-authored-by: microwavedcola1 <microwavedcola@gmail.com>
2023-01-16 16:49:09 +01:00
..
mango-v4 Perp: Allow setting pnl asset weights (#391) 2023-01-16 16:49:09 +01:00
margin-trade Upgrade to solana ~1.14.9 2022-12-13 17:00:57 +01:00