Returns a list of (upto count) accounts, and the pnl that is settle'able on this perp market, the list is sorted ascending for 'negative' direction and descending for 'positive' direction.
NOTE: keep in sync with perp_pnl.rs:fetch_top
TODO: replace with a more performant offchain service call
Generated using TypeDoc
Returns instantaneous funding rate for the day. How is it actually applied - funding is continuously applied on every interaction to a perp position. The rate is further multiplied by the time elapsed since it was last applied (capped to max. 1hr).