The number of swaps
The number of wins
The number of losses
Average hold period, in seconds, for positions sold during the window. Estimated with average-cost accounting: sells realize the age of the sold cost basis, so unsold holdings do not affect the result. A lower bound, capped at the window length. Returns null when under $1 of cost basis was sold in the window.
Used By
Returned by- detailedWalletStats: Returns detailed stats for a wallet.