This wallet in ZC
/sigmafi/zc/portfolioapi_keyEvery bond unit and share token this wallet holds, with its status, borrowedByMe flag, cost from the wallet's history, mark and the actions open now (including extinguish when this wallet holds its own borrowed bond unit); the bonds it borrows on (with holdsUnit and extinguish availability); its open orders, asks, offers, lots and requests; its wraps; unrealized and realized P&L per market. history is the wallet history's status: off, not-configured, loading, ready or unavailable. Units with no recorded acquisition have cost null.
Query parameters
ifRevisioninteger · int64Answer 304 when the snapshot revision still equals this.
Responses
200The portfolioZcObject▶
▶
atZcAtThe snapshot a read or quote was taken from.
heightintegerblockIdstringindexedHeightintegerrevisioninteger · int64Changes whenever anything a read returns changes, the mempool included.
cutbooleanTrue when the book is at its size cap and left boxes out.
mempoolbooleanWhether unconfirmed boxes are laid over the confirmed book.
304Nothing changed since `ifRevision`.▶
403Missing or wrong api_key.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
503ZC tracking is off or not seeded, or the node, its index or the wallet did not answer. Nothing was sent.ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description