Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request calculation logics on previous Fuze SDK #1

Closed
0xhipo opened this issue Feb 15, 2023 · 1 comment
Closed

Request calculation logics on previous Fuze SDK #1

0xhipo opened this issue Feb 15, 2023 · 1 comment

Comments

@0xhipo
Copy link

0xhipo commented Feb 15, 2023

Hi Zeta taem,

Would be great if ABI could ship with calculations of accounts and oracles. These calculations are among the core logics of Zeta Markets, so I'd suggest they are maintained here instead of 3rd party programs.

We are trying to use the new ABI package and find these methods missing from previous dependency:

1. MarginAccount.get_initial_margin()
2. MarginAccount.get_maintenance_margin()
3. MarginAccount.get_unrealized_pnl()
@xjcaa
Copy link

xjcaa commented Feb 20, 2023

Should be resolved in #2

@xjcaa xjcaa closed this as completed Feb 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants