Versions in this module Expand all Collapse all v1 v1.1.0 Dec 5, 2026 Changes in this version + func FormatCyclesCSV(cycles []Cycle) (string, error) + func FormatScaled18(units *big.Int) string + func IsPerpFill(coin string) bool + func ParseScaled18(input string) (*big.Int, error) + type Cycle struct + AvgEntryPx string + AvgExitPx string + CloseTimeMs int64 + Coin string + Direction string + FillCount int + OpenTimeMs int64 + PeakSize string + RealizedPnL string + Status string + TotalFees string + func GroupPositionCycles(fills []RawFill) ([]Cycle, error) + type RawFill struct + ClosedPnl string + Coin string + Fee string + Px string + Side string + StartPosition string + Sz string + TID int64 + Time int64