perp position cumulative funding, in quote token units. If the user paid $1 in funding for a short position, this would be -1e6. Caveat: This will only return cumulative interest since the perp position was last opened. If the perp position was closed and reopened multiple times it is necessary to add this result to cumulative funding at each of the prior perp position closings (from mango API) to get the all time cumulative funding.
perp position cumulative funding. Caveat: This will only return cumulative interest since the perp position was last opened.
Generated using TypeDoc