v1

latestSwagger 2.02026-07-179553242.0 KB
User

Get a summary of all of your wallet transactions (deposits, withdrawals, PNL).

Provides an aggregated view of transactions, by transaction type, over a specific time period.

get/user/walletSummary

Query parameters

currencystring

Any currency. For all currencies, see <a href="#!/Wallet/Wallet_getAssetsConfig">asset config endpoint</a>. For all currencies specify "all"

startTimestring date-time

Start time for the summary

endTimestring date-time

End time for the summary

Response

Request was successful

accountnumber double required
currencystring
transactTypestring
symbolstring
amountnumber double
pendingDebitnumber double
realisedPnlnumber double
walletBalancenumber double
unrealisedPnlnumber double
marginBalancenumber double

Example response

[
  {
    "realisedPnl": 5.962133916683182,
    "unrealisedPnl": 2.3021358869347655,
    "symbol": "XBTUSD",
    "amount": 6.027456183070403,
    "pendingDebit": 1.4658129805029452,
    "transactType": "transactType",
    "walletBalance": 5.637376656633329,
    "currency": "XBt",
    "account": 0.8008281904610115,
    "marginBalance": 7.061401241503109
  }
]