-
Notifications
You must be signed in to change notification settings - Fork 9
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
Trade history? #5
Comments
Trades aren't stored historically on the blockchain since the program is stateless. If you want to log your own trades to your own database you can run the subscribe_transaction example (https://github.com/zetamarkets/zetamarkets-py/blob/master/examples/subscribe_transaction.py) and write trade events to your db. Else if that's a hassle we do this for you, and the historical trades are available in the Zeta front-end in your trade history (we store it in a database on our end and expose it via API). At some point we're looking to add CSV export of trades to make users accounting easier. Lmk if any other qs. |
@0xtristan Hello is it possible to get this API exposed to fetch account historical information? Thank you! |
@ksajan you can grab this via api.zeta.markets/v2/trades |
I did a brief pass through the API, I didn't see a way to extract my historical trades. It helps to pay my taxes :)
The text was updated successfully, but these errors were encountered: