Loading...
Loading...
View what a wallet holds on DFlow's Kalshi prediction markets — current positions, unrealized mark-to-market, realized P&L, activity history, and redeemable winners. Use when the user asks "what are my positions?", "what do I own?", "am I up or down?", "what's my fill history?", "what can I redeem?", "mark my portfolio to market", or "show me this wallet's DFlow activity". Read-only. Do NOT use to place sells or redemptions (use `dflow-kalshi-trading`), for market-wide data unrelated to a wallet (use `dflow-kalshi-market-data`), or to discover new markets (use `dflow-kalshi-market-scanner`).
npx skill4agent add dflowprotocol/dflow-skills dflow-kalshi-portfoliohttps://pond.dflow.net/mcpsearch_d_flowquery_docs_filesystem_d_flowdflow/positionsdflow positionsuiAmountredemptionStatusdflow positions{
"ok": true,
"data": {
"wallet": "<pubkey>",
"positions": [
{ "type": "spot", "mint": "...", "symbol": "USDC", "amount": "1326161", "uiAmount": 1.326161, "decimals": 6 },
{ "type": "outcome", "mint": "...", "symbol": "DFlowYU0192", "amount": "2000000", "uiAmount": 2.0, "decimals": 6,
"side": "yes", "market": { "title": "...", "status": "active" } }
]
}
}type: "spot"type: "outcome"side"yes""no"markettitlestatus/build/recipes/prediction-markets/track-positionsgetParsedTokenAccountsByOwner(wallet, { programId: TOKEN_2022_PROGRAM_ID })POST /api/v1/filter_outcome_mintsPOST /api/v1/markets/batchyesBidyesAsknoBidnoAskredemptionStatusaccounts.yesMintnoMintaccounts.yesMintaccounts.noMintyesBidnoBiduiAmount * parseFloat(yesBid)uiAmount * parseFloat(noBid)GET /api/v1/onchain-trades?wallet=<pubkey>&sortBy=createdAt&sortOrder=desc&limit=NcreatedAtmarketTickersideinputAmountoutputAmounttransactionSignaturefeeAmountstatusdeterminedfinalizedredemptionStatus"open"resultdflow-kalshi-tradingorderAddressGET /order-status?orderAddress=<addr>dflow positionsmarkets/batchonchain-tradesdflow positionsDFLOW_API_KEYx-api-keyhttps://prediction-markets-api.dflow.netx-api-keyhttps://dev-prediction-markets-api.dflow.nethttps://pond.dflow.net/build/api-keydflow positionsdflow setupdflow-kalshi-trading/positionsTOKEN_2022_PROGRAM_IDyesBidnoBidfilter_outcome_mintsmarkets/batchfilter_outcome_mintsredemptionStatusdflow positions--walletdflow setupdflow positionsamountuiAmountdecimalssidemarket.titlemarket.statusuiAmountyesBidnoBidmarkets/batchredemptionStatusmarkets/batch/onchain-tradesyesMintnoMintdflow positionsmarkets/batchonchain-tradesgetParsedTokenAccountsByOwnerfilter_outcome_mintsmarkets/batchonchain-tradesredemptionStatussearch_d_flowquery_docs_filesystem_d_flow/build/recipes/prediction-markets/track-positionsdflow-kalshi-tradingdflow-kalshi-market-datadflow-kalshi-market-scannerdflow-proof-kyc