mango-v4/ts/client/src/accounts
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
..
bank.ts add reduce only field on ts classes 2023-01-04 13:14:05 +01:00
group.ts Fix ids api (#371) 2023-01-12 20:43:37 +01:00
healthCache.spec.ts Perp: Allow setting pnl asset weights (#391) 2023-01-16 16:49:09 +01:00
healthCache.ts Perp: Allow setting pnl asset weights (#391) 2023-01-16 16:49:09 +01:00
mangoAccount.ts mango account freeze (#372) 2023-01-12 13:08:10 +01:00
oracle.ts use provider connection to fetch switchboard idl 2022-11-21 16:48:35 -05:00
perp.ts Perp: Allow setting pnl asset weights (#391) 2023-01-16 16:49:09 +01:00
serum3.ts combine open orders create with place order (#362) 2023-01-05 08:31:07 +01:00