History

client.wallets.history(wallet) — resolved markets a wallet traded: won/lost, realized PnL, entry forecast. Over the settlement fold, newest first.

no resolved markets
const { history } = await client.wallets.history(wallet)
// { marketId, marketName, chosenOutcome, won, realizedPl, invested, payoutValue, forecast, resolvedAt }