zetamarkets / sdk

SDK for accessing the Zeta program
Other
84 stars 29 forks source link

Override equity param in leverage util #301

Closed filipzeta closed 9 months ago

filipzeta commented 9 months ago

Useful for an edge case in FE, an optional value to use the original equity for getLeverage() instead of the new one from the trade