blockworks-foundation / mango-client-v3

Mango Markets V3 TypeScript Client Library

Home Page:https://blockworks-foundation.github.io/mango-client-v3/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using the PerpAccount class

mcshel opened this issue · comments

Hi,

I am trying to use getAverageOpenPrice() function of the PerpAccount class, but I am missing some documentation / examples. What exactly is the events argument? Is there perhaps some other way of getting the "Avg Entry Price" that is displayed on the Web UI of the exchange?

Thanks for your help in advance!