Download OpenAPI specification:Download
| denom required | string Asset to deposit (eg. BTC) |
{- "denom": "string"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "recipientAddress": "string",
- "depositAddress": "string",
- "b64PngDepositAddressQrCode": "string",
- "denom": "string"
}| uuid | string <uuid> Unique id for the withdrawal, Automatically generated if not sent. |
| denom required | string Asset to withdraw |
| amount required | string Amount to be withdrawn |
| recipientAddress | string Address to send uncommitted asset to. Only for security entitlements |
| memo | string Optional memo for withdrawing certain assets to networks that support it |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "denom": "string",
- "amount": "string",
- "recipientAddress": "string",
- "memo": "string"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "fee": "string"
}| uuid | string <uuid> Unique id for the withdrawal, Automatically generated if not sent. |
| amount required | number |
| wireAccountId required | string <uuid> |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "amount": 0,
- "wireAccountId": "c1dfbeab-91e3-4c01-bb87-f631c954a0bc"
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "recipientAddress": "string",
- "amount": "string",
- "currency": "string",
- "status": "UNKNOWN_WITHDRAW_STATUS",
- "fee": "string",
- "memo": "string"
}| denom required | string The denom display name, e.g. hash |
| amount required | number The amount in terms of the display quantity to commit, e.g. 0.1 hash |
{- "denom": "string",
- "amount": 0
}"string"| actions | Array of strings (TransferAction) Items Enum: "DEPOSIT" "WITHDRAW" "INTEREST" "REFUND" "RETURN" "REWARD" "ISSUANCE" "RECEIVE_YLDS_PAYMENT" "P2P" "CBL_DISBURSEMENT" "CBL_PAYMENT" "REPAYMENT_TRANSFER" "MARGIN" "NMS_SEND" "NMS_RECEIVE" "SEND" "RECEIVE" "SEND_COLLATERAL" "RECEIVE_COLLATERAL" |
| assets | Array of strings |
| page | integer <int32> |
| size | integer <int32> |
{- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "action": "DEPOSIT",
- "recipientAddress": "string",
- "senderAddress": "string",
- "currency": "string",
- "denom": "string",
- "amount": "string",
- "transferDateTime": "2019-08-24T14:15:22Z",
- "transferUpdateDateTime": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "fee": "string",
- "groupProposalId": 0,
- "memo": "string",
- "toEmail": "string",
- "expiration": "2019-08-24T14:15:22Z",
- "fromEmail": "string",
- "fiatRail": "ACH",
- "clearingDate": "2019-08-24T14:15:22Z",
- "transactionHash": "string",
- "brokerage": {
- "brokerageName": "string",
- "dtcNumber": "string",
- "accountNumber": "string"
}
}
], - "pagination": {
- "page": 0,
- "size": 0,
- "totalPages": 0,
- "totalCount": 0
}
}Get current portfolio balances, or balances at a specified time.
| atTime | string <date-time> |
{- "accountAddress": "string",
- "totalValue": 0,
- "timestamp": "2019-08-24T14:15:22Z",
- "assets": [
- {
- "asset": "string",
- "totalBalance": 0,
- "displayBalance": 0,
- "exchangeBalance": 0,
- "tradingPower": 0,
- "loanBalance": 0,
- "offerBalance": 0,
- "smartContractLendingBalance": 0,
- "cblBalance": 0,
- "cblOwedBalance": 0,
- "uncommittedBalance": 0,
- "stakedBalance": 0,
- "rewardsBalance": 0,
- "unbondingBalance": 0,
- "stakableBalance": 0,
- "unvestedBalance": 0,
- "fiatLedgerBalance": 0,
- "exchangePrice": 0
}
], - "loans": [
- {
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "balance": 0,
- "asset": "string",
- "rateRange": {
- "minRate": 0,
- "maxRate": 0
}, - "currentPeriodRate": 0,
- "currentPeriodFeeRate": 0,
- "currentPeriodLenderRate": 0
}
], - "offers": [
- {
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d",
- "balance": 0,
- "interestBalance": 0,
- "totalBalance": 0,
- "asset": "string",
- "rate": 1,
- "status": "PENDING",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "scLending": [
- {
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "asset": "string",
- "balance": 0
}
], - "cryptoBackedLoans": [
- {
- "loanId": "7f89c4c5-c1d0-4b4b-ae8c-fb112b2c21a4",
- "loanNumber": "string",
- "asset": "string",
- "balance": 0,
- "collateralAsset": "string",
- "collateralBalance": 0,
- "interestRate": 1,
- "ltv": 1,
- "status": "string",
- "paymentAssets": [
- "string"
]
}
]
}| limit | integer <int32> |
| offset | integer <int64> |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "identityId": "ebc92baa-b430-498d-b30d-132ff32a5256",
- "active": true,
- "bankName": "string",
- "bankAddress": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "street1": "string",
- "street2": "string",
- "street3": "string",
- "city": "string",
- "stateOrProvince": "string",
- "postalCode": "string",
- "country": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "beneficiaryName": "string",
- "beneficiaryAddress": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "street1": "string",
- "street2": "string",
- "street3": "string",
- "city": "string",
- "stateOrProvince": "string",
- "postalCode": "string",
- "country": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}, - "accountNumberMask": "string",
- "routingNumber": "string",
- "transferInstructions": "string",
- "createdAt": "2019-08-24T14:15:22Z",
- "updatedAt": "2019-08-24T14:15:22Z"
}
], - "limit": 0,
- "count": 0,
- "nextOffset": 0
}Replace with call to /balances
{- "totalPortfolioBalance": "string",
- "totalPortfolioValue": "string",
- "cashEquivalentBalance": "string",
- "assetBalance": "string",
- "totalAssetValue": "string",
- "marketPositions": [
- {
- "symbol": "string",
- "marketDisplayName": "string",
- "marketId": "string",
- "denom": "string",
- "quoteDenom": "string",
- "quantity": "string",
- "tradingPower": "string",
- "balance": "string",
- "quoteQuantity": "string",
- "quoteTradingPower": "string",
- "quoteBalance": "string",
- "lastTradedPrice": "string",
- "midMarketPrice": "string",
- "averageOpen": "string",
- "averageClose": "string",
- "unrealizedPL": "string",
- "value": 0,
- "exchangePrice": "string"
}
], - "cashEquivalentPositions": [
- {
- "denom": "string",
- "quantity": "string",
- "balance": "string",
- "tradingPower": "string",
- "loanBalance": "string"
}
], - "uncommittedAssets": [
- {
- "denom": "string",
- "quantity": "string"
}
], - "uncommittedCashEquivalents": [
- {
- "denom": "string",
- "quantity": "string",
- "balance": "string",
- "tradingPower": "string",
- "loanBalance": "string"
}
], - "assetPositions": [
- {
- "denom": "string",
- "quantity": "string",
- "balance": "string",
- "tradingPower": "string",
- "loanBalance": "string"
}
], - "totalLoanValue": "string",
- "loanBalances": [
- {
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "balance": 0,
- "currency": "string",
- "rateRange": {
- "minRate": 0,
- "maxRate": 0
}, - "totalValue": 0,
- "currentPeriodRate": 0,
- "currentPeriodFeeRate": 0,
- "currentPeriodLenderRate": 0,
- "principal": 0,
- "interest": 0,
- "fees": 0,
- "pendingPayments": 0
}
], - "totalOfferValue": "string",
- "offerBalances": [
- {
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d",
- "amt": 0,
- "interestAmt": 0,
- "totalAmt": 0,
- "asset": "string",
- "rate": 0,
- "totalValue": 0
}
], - "ltv": 0,
- "cryptoBackedLoanValue": 0,
- "cryptoBackedLoanBalances": [
- {
- "loanId": "7f89c4c5-c1d0-4b4b-ae8c-fb112b2c21a4",
- "loanNumber": "string",
- "asset": "string",
- "balance": 0,
- "collateralAsset": "string",
- "collateralBalance": 0,
- "interestRate": 1,
- "ltv": 1,
- "status": "string",
- "paymentAssets": [
- "string"
]
}
]
}Use v2, which introduces SEND, RECEIVE, SEND_COLLATERAL, RECEIVE_COLLATERAL
| actions | Array of strings (TransferAction) Items Enum: "DEPOSIT" "WITHDRAW" "INTEREST" "REFUND" "RETURN" "REWARD" "ISSUANCE" "RECEIVE_YLDS_PAYMENT" "P2P" "CBL_DISBURSEMENT" "CBL_PAYMENT" "REPAYMENT_TRANSFER" "MARGIN" "NMS_SEND" "NMS_RECEIVE" "SEND" "RECEIVE" "SEND_COLLATERAL" "RECEIVE_COLLATERAL" |
| assets | Array of strings |
| page | integer <int32> |
| size | integer <int32> |
{- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "action": "DEPOSIT",
- "recipientAddress": "string",
- "senderAddress": "string",
- "currency": "string",
- "denom": "string",
- "amount": "string",
- "transferDateTime": "2019-08-24T14:15:22Z",
- "transferUpdateDateTime": "2019-08-24T14:15:22Z",
- "status": "PENDING",
- "fee": "string",
- "groupProposalId": 0,
- "memo": "string",
- "toEmail": "string",
- "expiration": "2019-08-24T14:15:22Z",
- "fromEmail": "string",
- "fiatRail": "ACH",
- "clearingDate": "2019-08-24T14:15:22Z",
- "transactionHash": "string",
- "brokerage": {
- "brokerageName": "string",
- "dtcNumber": "string",
- "accountNumber": "string"
}
}
], - "pagination": {
- "page": 0,
- "size": 0,
- "totalPages": 0,
- "totalCount": 0
}
}{- "accountAddress": "string",
- "totalValue": 0,
- "assets": [
- {
- "asset": "string",
- "totalBalance": 0,
- "displayBalance": 0,
- "exchangeBalance": 0,
- "tradingPower": 0,
- "loanBalance": 0,
- "offerBalance": 0,
- "smartContractLendingBalance": 0,
- "cblBalance": 0,
- "cblOwedBalance": 0,
- "uncommittedBalance": 0,
- "stakedBalance": 0,
- "rewardsBalance": 0,
- "unbondingBalance": 0,
- "stakableBalance": 0,
- "unvestedBalance": 0,
- "fiatLedgerBalance": 0,
- "exchangePrice": 0
}
], - "loans": [
- {
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "balance": 0,
- "asset": "string",
- "rateRange": {
- "minRate": 0,
- "maxRate": 0
}, - "currentPeriodRate": 0,
- "currentPeriodFeeRate": 0,
- "currentPeriodLenderRate": 0
}
], - "offers": [
- {
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "offerId": "42da58f8-9040-4cf5-98ce-bce9965cca0d",
- "balance": 0,
- "interestBalance": 0,
- "totalBalance": 0,
- "asset": "string",
- "rate": 1,
- "status": "PENDING",
- "createdAt": "2019-08-24T14:15:22Z"
}
], - "scLending": [
- {
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "asset": "string",
- "balance": 0
}
], - "cryptoBackedLoans": [
- {
- "loanId": "7f89c4c5-c1d0-4b4b-ae8c-fb112b2c21a4",
- "loanNumber": "string",
- "asset": "string",
- "balance": 0,
- "collateralAsset": "string",
- "collateralBalance": 0,
- "interestRate": 1,
- "ltv": 1,
- "status": "string",
- "paymentAssets": [
- "string"
]
}
]
}| id required | string <uuid> Client generated unique payment id |
| leveragePoolId required | string <uuid> |
| amount required | number |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "amount": 0
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "asset": "string",
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "amount": 0,
- "status": "PENDING"
}| id required | string <uuid> Client generated unique loan id |
| amount required | number > 0 |
| leveragePoolId required | string <uuid> |
| loanType required | string (LoanType) Default: "MARGIN" Enum: "MARGIN" "OFF_PLATFORM_MARGIN" Type of loan to create |
object (WithdrawRequest) Optional MPC withdraw request for off platform loan | |
object (FiatWithdrawRequest) Optional fiat withdraw request for off platform loan |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "amount": 0,
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "loanType": "MARGIN",
- "withdrawRequest": {
- "amount": "string",
- "recipientAddress": "string",
- "currency": "string",
- "feeId": "9ed713df-fd25-4df4-998a-8235f4f7a0b3",
- "memo": "string",
- "uncommitOnly": true
}, - "fiatWithdrawRequest": {
- "amount": 0,
- "currency": "string",
- "paymentRail": "ACH",
- "destinationPlaidAccountId": "0013e9e5-eabe-40c3-a996-8a42afbb90ac"
}
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rate": {
- "amt": 0,
- "rate": 0,
- "periodIntAmt": 0,
- "periodRate": 0
}
}| location required | string (com.figuremarkets.exchange.proto.hft.Markets.Market.MarketLocation) Enum: "UNKNOWN_MARKET_LOCATION" "US" "CAYMAN" "IRELAND" |
| consentType | string (ConsentType) Enum: "TRADING_CONSENT" "DOMESTIC_MARGIN_CONSENT" "INTERNATIONAL_MARGIN_CONSENT" "DOMESTIC_OFF_PLATFORM_MARGIN_CONSENT" "INTERNATIONAL_OFF_PLATFORM_MARGIN_CONSENT" "CAYMAN_EXEMPTION_CONSENT" "LENDER_CONSENT" "REFERRAL_CONSENT" "TRADER_API_CONSENT" "DEMOCRATIZED_PRIME_BORROWER_CONSENT" |
{- "location": "UNKNOWN_MARKET_LOCATION",
- "consentType": "TRADING_CONSENT"
}{- "accountAddress": "string",
- "location": "UNKNOWN_MARKET_LOCATION",
- "leveragePoolIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "status": "ACTIVE",
- "isMarginEnabledForUser": true,
- "isOffPlatformMarginEnabledForUser": true,
- "isAutopayEnabled": true
}{- "accountAddress": "string",
- "location": "UNKNOWN_MARKET_LOCATION",
- "leveragePoolIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "status": "ACTIVE",
- "isMarginEnabledForUser": true,
- "isOffPlatformMarginEnabledForUser": true,
- "isAutopayEnabled": true
}| size | integer <int32> [ 1 .. 50 ] Default: 20 |
| page | integer <int32> >= 1 Default: 1 |
| leverage_pool_uuid required | string <uuid> |
| period | string (PeriodSpan) Enum: "HOUR" "DAY" "WEEK" "MONTH" "YEAR" |
{- "data": [
- {
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "currency": "string",
- "rolloverAmount": 0,
- "newLoanIncurred": 0,
- "fees": 0,
- "effectiveApr": 0,
- "payments": 0,
- "endingBalance": 0,
- "lenderInterest": 0,
- "marketFees": 0
}
], - "pagination": {
- "page": 0,
- "size": 0,
- "totalPages": 0,
- "totalCount": 0
}
}{- "data": [
- {
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "balance": 0,
- "currency": "string",
- "rateRange": {
- "minRate": 0,
- "maxRate": 0
}, - "totalValue": 0,
- "currentPeriodRate": 0,
- "currentPeriodFeeRate": 0,
- "currentPeriodLenderRate": 0,
- "principal": 0,
- "interest": 0,
- "fees": 0,
- "pendingPayments": 0
}
], - "ltv": 0,
- "status": "HEALTHY",
- "collateralValue": 0,
- "loansValue": 0
}| size | integer <int32> [ 1 .. 100 ] Default: 20 |
| page | integer <int32> >= 1 Default: 1 |
{- "data": [
- {
- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "liquidationDtm": "2019-08-24T14:15:22Z",
- "assets": [
- {
- "currency": "string",
- "quantity": 0,
- "fee": 0,
- "feeValue": 0,
- "price": 0,
- "totalValue": 0
}
]
}
], - "pagination": {
- "page": 0,
- "size": 0,
- "totalPages": 0,
- "totalCount": 0
}
}| location | string (com.figuremarkets.exchange.proto.hft.Markets.Market.MarketLocation) Enum: "UNKNOWN_MARKET_LOCATION" "US" "CAYMAN" "IRELAND" |
| type | string (LeveragePoolType) Enum: "TERM" "TRADE" "HELOC" "CBL" "AUTO" |
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "marginRate": 0,
- "marginCallRate": 0,
- "liquidationRate": 0,
- "minIntRate": 0,
- "maxIntRate": 0,
- "leverageType": "TERM",
- "marketLocationType": "US",
- "termDuration": "string",
- "asset": "string",
- "minimumOffer": 0,
- "minimumLoan": 0,
- "feeRate": 0,
- "liquidationFeeRate": 0,
- "collateralAssets": [
- "string"
], - "loansOutstanding": 0,
- "currentRate": 0,
- "currentLendRate": 0,
- "currentBorrowRate": 0
}
]{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "description": "string",
- "marginRate": 0,
- "marginCallRate": 0,
- "liquidationRate": 0,
- "minIntRate": 0,
- "maxIntRate": 0,
- "leverageType": "TERM",
- "marketLocationType": "US",
- "termDuration": "string",
- "asset": "string",
- "minimumOffer": 0,
- "minimumLoan": 0,
- "feeRate": 0,
- "liquidationFeeRate": 0,
- "collateralAssets": [
- "string"
], - "loansOutstanding": 0,
- "currentRate": 0,
- "currentLendRate": 0,
- "currentBorrowRate": 0
}| uuid required | string <uuid> Unique id for the NMS send |
| amount required | integer <int64> Amount to send |
| asset required | string (Asset name) |
required | object (NmsBrokerage) Brokerage details |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "amount": 0,
- "asset": "string",
- "brokerage": {
- "brokerageName": "string",
- "dtcNumber": "string",
- "accountNumber": "string"
}
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "recipientAddress": "string",
- "amount": "string",
- "currency": "string",
- "status": "UNKNOWN_WITHDRAW_STATUS",
- "fee": "string",
- "memo": "string"
}| uuid required | string <uuid> Unique id for the NMS receive |
| asset required | string (Asset name) |
| quantity required | integer <int64> Quantity of shares |
required | object (NmsBrokerage) Brokerage details |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "asset": "string",
- "quantity": 0,
- "brokerage": {
- "brokerageName": "string",
- "dtcNumber": "string",
- "accountNumber": "string"
}
}{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "asset": "string",
- "brokerage": {
- "brokerageName": "string",
- "dtcNumber": "string",
- "accountNumber": "string"
}, - "status": "REQUESTED"
}| uuid | string <uuid> Unique id for the order, automatically generated if not sent. |
| marketId required | string Market id |
| quantity required | number > 0 |
| direction required | string (Direction) Enum: "UNKNOWN_DIRECTION" "ASK" "BID" |
{- "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f",
- "marketId": "string",
- "quantity": 0,
- "direction": "UNKNOWN_DIRECTION"
}| pageSize | integer <int32> |
| pageToken | string |
| orderId | string |
| clordId | string |
| startTime | string <date-time> |
| endTime | string <date-time> |
| symbol | string |
| accounts | Array of strings |
| side | string (com.connamara.ep3.orders.v1beta1.Side) Enum: "SIDE_UNDEFINED" "SIDE_BUY" "SIDE_SELL" |
| type | string (com.connamara.ep3.orders.v1beta1.OrderType) Enum: "ORDER_TYPE_UNDEFINED" "ORDER_TYPE_MARKET_TO_LIMIT" "ORDER_TYPE_LIMIT" "ORDER_TYPE_STOP" "ORDER_TYPE_STOP_LIMIT" |
| orderStateFilter | string (com.connamara.ep3.orders.v1beta1.OrderStateFilter) Enum: "ORDER_STATE_FILTER_UNDEFINED" "ORDER_STATE_FILTER_OPEN" "ORDER_STATE_FILTER_CLOSED" "ORDER_STATE_FILTER_NEW" "ORDER_STATE_FILTER_PARTIALLY_FILLED" "ORDER_STATE_FILTER_FILLED" "ORDER_STATE_FILTER_CANCELED" "ORDER_STATE_FILTER_REPLACED" "ORDER_STATE_FILTER_REJECTED" "ORDER_STATE_FILTER_EXPIRED" "ORDER_STATE_FILTER_PENDING_RISK" |
| crossId | string |
| hostCrossId | string |
| clientAccountId | string |
| clientParticipantId | string |
| parentOrderId | string |
| symbolSubType | string |
object (com.connamara.ep3.type.v1beta1.Date) | |
object (com.connamara.ep3.type.v1beta1.Date) | |
| withLastExecution | boolean |
{- "pageSize": 0,
- "pageToken": "string",
- "orderId": "string",
- "clordId": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "symbol": "string",
- "accounts": [
- "string"
], - "side": "SIDE_UNDEFINED",
- "type": "ORDER_TYPE_UNDEFINED",
- "orderStateFilter": "ORDER_STATE_FILTER_UNDEFINED",
- "crossId": "string",
- "hostCrossId": "string",
- "clientAccountId": "string",
- "clientParticipantId": "string",
- "parentOrderId": "string",
- "symbolSubType": "string",
- "startTransactTradeDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "endTransactTradeDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "withLastExecution": true
}{- "order": [
- {
- "id": "string",
- "type": "ORDER_TYPE_UNDEFINED",
- "side": "SIDE_UNDEFINED",
- "orderQty": 0,
- "symbol": "string",
- "clordId": "string",
- "timeInForce": "TIME_IN_FORCE_UNDEFINED",
- "account": "string",
- "cumQty": 0,
- "avgPx": 0,
- "leavesQty": 0,
- "state": "ORDER_STATE_NEW",
- "participant": "string",
- "price": 0,
- "insertTime": "2019-08-24T14:15:22Z",
- "stopPrice": 0,
- "minQty": 0,
- "createTime": "2019-08-24T14:15:22Z",
- "allOrNone": true,
- "crossId": "string",
- "hostCrossId": "string",
- "submittingParticipant": "string",
- "clientAccountId": "string",
- "clientParticipantId": "string",
- "parentOrderId": "string",
- "commissionsBasisPoints": "string",
- "participateDontInitiate": true,
- "cashOrderQty": 0,
- "symbolSubType": "string",
- "strictLimit": true,
- "riskCheckTime": "2019-08-24T14:15:22Z",
- "collateralMemo": "string",
- "priorityWeight": 0,
- "goodTillTime": "2019-08-24T14:15:22Z",
- "context": {
- "anyContext": {
- "typeUrl": "string",
- "value": "string"
}, - "fixContext": {
- "beginString": "string",
- "targetCompId": "string",
- "senderCompId": "string",
- "origClordId": "string",
- "securityType": "string",
- "targetSubId": "string",
- "targetLocationId": "string",
- "senderSubId": "string",
- "senderLocationId": "string",
- "onBehalfOfCompId": "string",
- "onBehalfOfSubId": "string"
}, - "validationContexts": [
- {
- "typeUrl": "string",
- "value": "string"
}
], - "serviceName": "string"
}, - "bestLimit": true,
- "immediatelyExecutableLimit": true,
- "blockTradeIndicator": true,
- "lastTradeId": "string",
- "triggerMethod": "CONDITION_TRIGGER_METHOD_UNDEFINED",
- "priceToQuantityFilled": {
- "property1": 0,
- "property2": 0
}, - "commissionNotionalTotalCollected": 0,
- "selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_UNDEFINED",
- "orderCapacity": "ORDER_CAPACITY_UNDEFINED",
- "ignorePriceValidityChecks": true,
- "transactionBookedTime": "2019-08-24T14:15:22Z",
- "lastTransactTime": "2019-08-24T14:15:22Z",
- "priceScale": 0,
- "fractionalQuantityScale": 0,
- "makerCommissionsBasisPoints": "string",
- "manualOrderIndicator": "MANUAL_ORDER_INDICATOR_UNDEFINED",
- "clordLinkId": "string",
- "visibleQty": 0,
- "shortIntent": true
}
], - "nextPageToken": "string",
- "lastExecutions": [
- {
- "id": "string",
- "order": {
- "id": "string",
- "type": "ORDER_TYPE_UNDEFINED",
- "side": "SIDE_UNDEFINED",
- "orderQty": 0,
- "symbol": "string",
- "clordId": "string",
- "timeInForce": "TIME_IN_FORCE_UNDEFINED",
- "account": "string",
- "cumQty": 0,
- "avgPx": 0,
- "leavesQty": 0,
- "state": "ORDER_STATE_NEW",
- "participant": "string",
- "price": 0,
- "insertTime": "2019-08-24T14:15:22Z",
- "stopPrice": 0,
- "minQty": 0,
- "createTime": "2019-08-24T14:15:22Z",
- "allOrNone": true,
- "crossId": "string",
- "hostCrossId": "string",
- "submittingParticipant": "string",
- "clientAccountId": "string",
- "clientParticipantId": "string",
- "parentOrderId": "string",
- "commissionsBasisPoints": "string",
- "participateDontInitiate": true,
- "cashOrderQty": 0,
- "symbolSubType": "string",
- "strictLimit": true,
- "riskCheckTime": "2019-08-24T14:15:22Z",
- "collateralMemo": "string",
- "priorityWeight": 0,
- "goodTillTime": "2019-08-24T14:15:22Z",
- "context": {
- "anyContext": {
- "typeUrl": "string",
- "value": "string"
}, - "fixContext": {
- "beginString": "string",
- "targetCompId": "string",
- "senderCompId": "string",
- "origClordId": "string",
- "securityType": "string",
- "targetSubId": "string",
- "targetLocationId": "string",
- "senderSubId": "string",
- "senderLocationId": "string",
- "onBehalfOfCompId": "string",
- "onBehalfOfSubId": "string"
}, - "validationContexts": [
- {
- "typeUrl": "string",
- "value": "string"
}
], - "serviceName": "string"
}, - "bestLimit": true,
- "immediatelyExecutableLimit": true,
- "blockTradeIndicator": true,
- "lastTradeId": "string",
- "triggerMethod": "CONDITION_TRIGGER_METHOD_UNDEFINED",
- "priceToQuantityFilled": {
- "property1": 0,
- "property2": 0
}, - "commissionNotionalTotalCollected": 0,
- "selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_UNDEFINED",
- "orderCapacity": "ORDER_CAPACITY_UNDEFINED",
- "ignorePriceValidityChecks": true,
- "transactionBookedTime": "2019-08-24T14:15:22Z",
- "lastTransactTime": "2019-08-24T14:15:22Z",
- "priceScale": 0,
- "fractionalQuantityScale": 0,
- "makerCommissionsBasisPoints": "string",
- "manualOrderIndicator": "MANUAL_ORDER_INDICATOR_UNDEFINED",
- "clordLinkId": "string",
- "visibleQty": 0,
- "shortIntent": true
}, - "lastShares": 0,
- "lastPx": 0,
- "type": "EXECUTION_TYPE_NEW",
- "text": "string",
- "orderRejectReason": "ORD_REJECT_REASON_EXCHANGE_OPTION",
- "transactTime": "2019-08-24T14:15:22Z",
- "legPrices": [
- {
- "symbol": "string",
- "anchor": true,
- "px": 0,
- "qty": 0,
- "side": "SIDE_UNDEFINED",
- "referencePx": 0
}
], - "tradeId": "string",
- "aggressor": true,
- "commissionNotionalCollected": 0,
- "unsolicitedCancelReason": "UNSOLICITED_CXL_REASON_UNDEFINED",
- "traceId": "string",
- "commissionSpreadPx": 0,
- "transactTradeDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "previousBestBidPrice": 0,
- "previousBestBidQuantity": 0,
- "previousBestOfferPrice": 0,
- "previousBestOfferQuantity": 0
}
]
}Search trades emitted from the matching engine
| pageSize | integer <int32> |
| pageToken | string |
| orderId | string |
| tradeId | string |
| execId | string |
| startTime | string <date-time> |
| endTime | string <date-time> |
| symbol | string |
| accounts | Array of strings |
| states | Array of strings (com.connamara.ep3.trades.v1beta1.TradeState) Items Enum: "TRADE_STATE_UNDEFINED" "TRADE_STATE_NEW" "TRADE_STATE_CLEARED" "TRADE_STATE_BUSTED" "TRADE_STATE_INFLIGHT" "TRADE_STATE_PENDING_RISK" "TRADE_STATE_PENDING_CLEARED" "TRADE_STATE_REJECTED" "TRADE_STATE_CLEARING_ACKNOWLEDGED" "TRADE_STATE_RETRY_REQUEST" |
| tradeLinkId | string |
{- "pageSize": 0,
- "pageToken": "string",
- "orderId": "string",
- "tradeId": "string",
- "execId": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "symbol": "string",
- "accounts": [
- "string"
], - "states": [
- "TRADE_STATE_UNDEFINED"
], - "tradeLinkId": "string"
}{- "trade": [
- {
- "id": "string",
- "aggressor": {
- "id": "string",
- "order": {
- "id": "string",
- "type": "ORDER_TYPE_UNDEFINED",
- "side": "SIDE_UNDEFINED",
- "orderQty": 0,
- "symbol": "string",
- "clordId": "string",
- "timeInForce": "TIME_IN_FORCE_UNDEFINED",
- "account": "string",
- "cumQty": 0,
- "avgPx": 0,
- "leavesQty": 0,
- "state": "ORDER_STATE_NEW",
- "participant": "string",
- "price": 0,
- "insertTime": "2019-08-24T14:15:22Z",
- "stopPrice": 0,
- "minQty": 0,
- "createTime": "2019-08-24T14:15:22Z",
- "allOrNone": true,
- "crossId": "string",
- "hostCrossId": "string",
- "submittingParticipant": "string",
- "clientAccountId": "string",
- "clientParticipantId": "string",
- "parentOrderId": "string",
- "commissionsBasisPoints": "string",
- "participateDontInitiate": true,
- "cashOrderQty": 0,
- "symbolSubType": "string",
- "strictLimit": true,
- "riskCheckTime": "2019-08-24T14:15:22Z",
- "collateralMemo": "string",
- "priorityWeight": 0,
- "goodTillTime": "2019-08-24T14:15:22Z",
- "context": {
- "anyContext": {
- "typeUrl": "string",
- "value": "string"
}, - "fixContext": {
- "beginString": "string",
- "targetCompId": "string",
- "senderCompId": "string",
- "origClordId": "string",
- "securityType": "string",
- "targetSubId": "string",
- "targetLocationId": "string",
- "senderSubId": "string",
- "senderLocationId": "string",
- "onBehalfOfCompId": "string",
- "onBehalfOfSubId": "string"
}, - "validationContexts": [
- {
- "typeUrl": "string",
- "value": "string"
}
], - "serviceName": "string"
}, - "bestLimit": true,
- "immediatelyExecutableLimit": true,
- "blockTradeIndicator": true,
- "lastTradeId": "string",
- "triggerMethod": "CONDITION_TRIGGER_METHOD_UNDEFINED",
- "priceToQuantityFilled": {
- "property1": 0,
- "property2": 0
}, - "commissionNotionalTotalCollected": 0,
- "selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_UNDEFINED",
- "orderCapacity": "ORDER_CAPACITY_UNDEFINED",
- "ignorePriceValidityChecks": true,
- "transactionBookedTime": "2019-08-24T14:15:22Z",
- "lastTransactTime": "2019-08-24T14:15:22Z",
- "priceScale": 0,
- "fractionalQuantityScale": 0,
- "makerCommissionsBasisPoints": "string",
- "manualOrderIndicator": "MANUAL_ORDER_INDICATOR_UNDEFINED",
- "clordLinkId": "string",
- "visibleQty": 0,
- "shortIntent": true
}, - "lastShares": 0,
- "lastPx": 0,
- "type": "EXECUTION_TYPE_NEW",
- "text": "string",
- "orderRejectReason": "ORD_REJECT_REASON_EXCHANGE_OPTION",
- "transactTime": "2019-08-24T14:15:22Z",
- "legPrices": [
- {
- "symbol": "string",
- "anchor": true,
- "px": 0,
- "qty": 0,
- "side": "SIDE_UNDEFINED",
- "referencePx": 0
}
], - "tradeId": "string",
- "aggressor": true,
- "commissionNotionalCollected": 0,
- "unsolicitedCancelReason": "UNSOLICITED_CXL_REASON_UNDEFINED",
- "traceId": "string",
- "commissionSpreadPx": 0,
- "transactTradeDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "previousBestBidPrice": 0,
- "previousBestBidQuantity": 0,
- "previousBestOfferPrice": 0,
- "previousBestOfferQuantity": 0
}, - "passive": {
- "id": "string",
- "order": {
- "id": "string",
- "type": "ORDER_TYPE_UNDEFINED",
- "side": "SIDE_UNDEFINED",
- "orderQty": 0,
- "symbol": "string",
- "clordId": "string",
- "timeInForce": "TIME_IN_FORCE_UNDEFINED",
- "account": "string",
- "cumQty": 0,
- "avgPx": 0,
- "leavesQty": 0,
- "state": "ORDER_STATE_NEW",
- "participant": "string",
- "price": 0,
- "insertTime": "2019-08-24T14:15:22Z",
- "stopPrice": 0,
- "minQty": 0,
- "createTime": "2019-08-24T14:15:22Z",
- "allOrNone": true,
- "crossId": "string",
- "hostCrossId": "string",
- "submittingParticipant": "string",
- "clientAccountId": "string",
- "clientParticipantId": "string",
- "parentOrderId": "string",
- "commissionsBasisPoints": "string",
- "participateDontInitiate": true,
- "cashOrderQty": 0,
- "symbolSubType": "string",
- "strictLimit": true,
- "riskCheckTime": "2019-08-24T14:15:22Z",
- "collateralMemo": "string",
- "priorityWeight": 0,
- "goodTillTime": "2019-08-24T14:15:22Z",
- "context": {
- "anyContext": {
- "typeUrl": "string",
- "value": "string"
}, - "fixContext": {
- "beginString": "string",
- "targetCompId": "string",
- "senderCompId": "string",
- "origClordId": "string",
- "securityType": "string",
- "targetSubId": "string",
- "targetLocationId": "string",
- "senderSubId": "string",
- "senderLocationId": "string",
- "onBehalfOfCompId": "string",
- "onBehalfOfSubId": "string"
}, - "validationContexts": [
- {
- "typeUrl": "string",
- "value": "string"
}
], - "serviceName": "string"
}, - "bestLimit": true,
- "immediatelyExecutableLimit": true,
- "blockTradeIndicator": true,
- "lastTradeId": "string",
- "triggerMethod": "CONDITION_TRIGGER_METHOD_UNDEFINED",
- "priceToQuantityFilled": {
- "property1": 0,
- "property2": 0
}, - "commissionNotionalTotalCollected": 0,
- "selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_UNDEFINED",
- "orderCapacity": "ORDER_CAPACITY_UNDEFINED",
- "ignorePriceValidityChecks": true,
- "transactionBookedTime": "2019-08-24T14:15:22Z",
- "lastTransactTime": "2019-08-24T14:15:22Z",
- "priceScale": 0,
- "fractionalQuantityScale": 0,
- "makerCommissionsBasisPoints": "string",
- "manualOrderIndicator": "MANUAL_ORDER_INDICATOR_UNDEFINED",
- "clordLinkId": "string",
- "visibleQty": 0,
- "shortIntent": true
}, - "lastShares": 0,
- "lastPx": 0,
- "type": "EXECUTION_TYPE_NEW",
- "text": "string",
- "orderRejectReason": "ORD_REJECT_REASON_EXCHANGE_OPTION",
- "transactTime": "2019-08-24T14:15:22Z",
- "legPrices": [
- {
- "symbol": "string",
- "anchor": true,
- "px": 0,
- "qty": 0,
- "side": "SIDE_UNDEFINED",
- "referencePx": 0
}
], - "tradeId": "string",
- "aggressor": true,
- "commissionNotionalCollected": 0,
- "unsolicitedCancelReason": "UNSOLICITED_CXL_REASON_UNDEFINED",
- "traceId": "string",
- "commissionSpreadPx": 0,
- "transactTradeDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "previousBestBidPrice": 0,
- "previousBestBidQuantity": 0,
- "previousBestOfferPrice": 0,
- "previousBestOfferQuantity": 0
}, - "tradeType": "TRADE_TYPE_UNDEFINED",
- "state": "TRADE_STATE_UNDEFINED",
- "reportingCounterparty": "SIDE_UNDEFINED",
- "text": "string",
- "tradeLinkId": "string",
- "metadata": {
- "property1": "string",
- "property2": "string"
}
}
], - "nextPageToken": "string"
}| pageSize | integer <int32> |
| pageToken | string |
| orderId | string |
| clordId | string |
| startTime | string <date-time> |
| endTime | string <date-time> |
| symbol | string |
| types | Array of strings (com.connamara.ep3.orders.v1beta1.ExecutionType) Items Enum: "EXECUTION_TYPE_NEW" "EXECUTION_TYPE_PARTIAL_FILL" "EXECUTION_TYPE_FILL" "EXECUTION_TYPE_CANCELED" "EXECUTION_TYPE_REPLACE" "EXECUTION_TYPE_REJECTED" "EXECUTION_TYPE_EXPIRED" "EXECUTION_TYPE_DONE_FOR_DAY" |
| newestFirst | boolean |
| accounts | Array of strings |
| clientAccountId | string |
| clientParticipantId | string |
| parentOrderId | string |
| symbolSubType | string |
| execIds | Array of strings |
object (com.connamara.ep3.type.v1beta1.Date) | |
object (com.connamara.ep3.type.v1beta1.Date) |
{- "pageSize": 0,
- "pageToken": "string",
- "orderId": "string",
- "clordId": "string",
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "symbol": "string",
- "types": [
- "EXECUTION_TYPE_NEW"
], - "newestFirst": true,
- "accounts": [
- "string"
], - "clientAccountId": "string",
- "clientParticipantId": "string",
- "parentOrderId": "string",
- "symbolSubType": "string",
- "execIds": [
- "string"
], - "startTransactTradeDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "endTransactTradeDate": {
- "year": 0,
- "month": 0,
- "day": 0
}
}{- "executions": [
- {
- "id": "string",
- "order": {
- "id": "string",
- "type": "ORDER_TYPE_UNDEFINED",
- "side": "SIDE_UNDEFINED",
- "orderQty": 0,
- "symbol": "string",
- "clordId": "string",
- "timeInForce": "TIME_IN_FORCE_UNDEFINED",
- "account": "string",
- "cumQty": 0,
- "avgPx": 0,
- "leavesQty": 0,
- "state": "ORDER_STATE_NEW",
- "participant": "string",
- "price": 0,
- "insertTime": "2019-08-24T14:15:22Z",
- "stopPrice": 0,
- "minQty": 0,
- "createTime": "2019-08-24T14:15:22Z",
- "allOrNone": true,
- "crossId": "string",
- "hostCrossId": "string",
- "submittingParticipant": "string",
- "clientAccountId": "string",
- "clientParticipantId": "string",
- "parentOrderId": "string",
- "commissionsBasisPoints": "string",
- "participateDontInitiate": true,
- "cashOrderQty": 0,
- "symbolSubType": "string",
- "strictLimit": true,
- "riskCheckTime": "2019-08-24T14:15:22Z",
- "collateralMemo": "string",
- "priorityWeight": 0,
- "goodTillTime": "2019-08-24T14:15:22Z",
- "context": {
- "anyContext": {
- "typeUrl": "string",
- "value": "string"
}, - "fixContext": {
- "beginString": "string",
- "targetCompId": "string",
- "senderCompId": "string",
- "origClordId": "string",
- "securityType": "string",
- "targetSubId": "string",
- "targetLocationId": "string",
- "senderSubId": "string",
- "senderLocationId": "string",
- "onBehalfOfCompId": "string",
- "onBehalfOfSubId": "string"
}, - "validationContexts": [
- {
- "typeUrl": "string",
- "value": "string"
}
], - "serviceName": "string"
}, - "bestLimit": true,
- "immediatelyExecutableLimit": true,
- "blockTradeIndicator": true,
- "lastTradeId": "string",
- "triggerMethod": "CONDITION_TRIGGER_METHOD_UNDEFINED",
- "priceToQuantityFilled": {
- "property1": 0,
- "property2": 0
}, - "commissionNotionalTotalCollected": 0,
- "selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_UNDEFINED",
- "orderCapacity": "ORDER_CAPACITY_UNDEFINED",
- "ignorePriceValidityChecks": true,
- "transactionBookedTime": "2019-08-24T14:15:22Z",
- "lastTransactTime": "2019-08-24T14:15:22Z",
- "priceScale": 0,
- "fractionalQuantityScale": 0,
- "makerCommissionsBasisPoints": "string",
- "manualOrderIndicator": "MANUAL_ORDER_INDICATOR_UNDEFINED",
- "clordLinkId": "string",
- "visibleQty": 0,
- "shortIntent": true
}, - "lastShares": 0,
- "lastPx": 0,
- "type": "EXECUTION_TYPE_NEW",
- "text": "string",
- "orderRejectReason": "ORD_REJECT_REASON_EXCHANGE_OPTION",
- "transactTime": "2019-08-24T14:15:22Z",
- "legPrices": [
- {
- "symbol": "string",
- "anchor": true,
- "px": 0,
- "qty": 0,
- "side": "SIDE_UNDEFINED",
- "referencePx": 0
}
], - "tradeId": "string",
- "aggressor": true,
- "commissionNotionalCollected": 0,
- "unsolicitedCancelReason": "UNSOLICITED_CXL_REASON_UNDEFINED",
- "traceId": "string",
- "commissionSpreadPx": 0,
- "transactTradeDate": {
- "year": 0,
- "month": 0,
- "day": 0
}, - "previousBestBidPrice": 0,
- "previousBestBidQuantity": 0,
- "previousBestOfferPrice": 0,
- "previousBestOfferQuantity": 0
}
], - "nextPageToken": "string",
- "eof": true
}{- "orders": [
- {
- "id": "string",
- "type": "ORDER_TYPE_UNDEFINED",
- "side": "SIDE_UNDEFINED",
- "orderQty": 0,
- "symbol": "string",
- "clordId": "string",
- "timeInForce": "TIME_IN_FORCE_UNDEFINED",
- "account": "string",
- "cumQty": 0,
- "avgPx": 0,
- "leavesQty": 0,
- "state": "ORDER_STATE_NEW",
- "participant": "string",
- "price": 0,
- "insertTime": "2019-08-24T14:15:22Z",
- "stopPrice": 0,
- "minQty": 0,
- "createTime": "2019-08-24T14:15:22Z",
- "allOrNone": true,
- "crossId": "string",
- "hostCrossId": "string",
- "submittingParticipant": "string",
- "clientAccountId": "string",
- "clientParticipantId": "string",
- "parentOrderId": "string",
- "commissionsBasisPoints": "string",
- "participateDontInitiate": true,
- "cashOrderQty": 0,
- "symbolSubType": "string",
- "strictLimit": true,
- "riskCheckTime": "2019-08-24T14:15:22Z",
- "collateralMemo": "string",
- "priorityWeight": 0,
- "goodTillTime": "2019-08-24T14:15:22Z",
- "context": {
- "anyContext": {
- "typeUrl": "string",
- "value": "string"
}, - "fixContext": {
- "beginString": "string",
- "targetCompId": "string",
- "senderCompId": "string",
- "origClordId": "string",
- "securityType": "string",
- "targetSubId": "string",
- "targetLocationId": "string",
- "senderSubId": "string",
- "senderLocationId": "string",
- "onBehalfOfCompId": "string",
- "onBehalfOfSubId": "string"
}, - "validationContexts": [
- {
- "typeUrl": "string",
- "value": "string"
}
], - "serviceName": "string"
}, - "bestLimit": true,
- "immediatelyExecutableLimit": true,
- "blockTradeIndicator": true,
- "lastTradeId": "string",
- "triggerMethod": "CONDITION_TRIGGER_METHOD_UNDEFINED",
- "priceToQuantityFilled": {
- "property1": 0,
- "property2": 0
}, - "commissionNotionalTotalCollected": 0,
- "selfMatchPreventionInstruction": "SELF_MATCH_PREVENTION_INSTRUCTION_UNDEFINED",
- "orderCapacity": "ORDER_CAPACITY_UNDEFINED",
- "ignorePriceValidityChecks": true,
- "transactionBookedTime": "2019-08-24T14:15:22Z",
- "lastTransactTime": "2019-08-24T14:15:22Z",
- "priceScale": 0,
- "fractionalQuantityScale": 0,
- "makerCommissionsBasisPoints": "string",
- "manualOrderIndicator": "MANUAL_ORDER_INDICATOR_UNDEFINED",
- "clordLinkId": "string",
- "visibleQty": 0,
- "shortIntent": true
}
]
}Retrieves summarized trade data for the authenticated account as opposed to /search/trades which returns raw execution-level data. This endpoint should be used for reporting purposes.
| market_id | string |
| direction | string (Direction) Enum: "UNKNOWN_DIRECTION" "ASK" "BID" |
| start_date | string <date-time> Filter for trades created on or after the date. There will be no start cap if omitted. |
| token | string pagination token |
| size | integer <int32> [ 1 .. 200 ] Default: 20 |
| sort | string (SortOrder) Enum: "ASC" "DESC" |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "leveragePoolIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "status": "ACTIVE"
}| page | integer <int32> >= 1 |
| size | integer <int32> [ 1 .. 50 ] |
| status | Array of strings (OfferStatus) Items Enum: "PENDING" "ACTIVE" "PENDING_CANCELLATION" "CANCELLED" "ERROR" |
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "initialRate": 0,
- "rate": 0,
- "initialAmt": 0,
- "amt": 0,
- "interestAmt": 0,
- "status": "PENDING",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "accountAddress": "string",
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "exitRequested": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "utilAmt": 0,
- "utilRate": 0
}
], - "pagination": {
- "page": 0,
- "size": 0,
- "totalPages": 0,
- "totalCount": 0
}
}| id required | string <uuid> |
| rate required | number <= 1 |
| amount required | number |
| leveragePoolId required | string <uuid> |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rate": 0,
- "amount": 0,
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "rate": 0,
- "amt": 0,
- "status": "PENDING",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "initialRate": 0,
- "rate": 0,
- "initialAmt": 0,
- "amt": 0,
- "interestAmt": 0,
- "status": "PENDING",
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "createdAt": "2019-08-24T14:15:22Z",
- "outstandingInterestAmt": 0,
- "utilAmt": 0,
- "utilRate": 0,
- "asset": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "initialRate": 0,
- "rate": 0,
- "initialAmt": 0,
- "amt": 0,
- "interestAmt": 0,
- "status": "PENDING",
- "accountId": "3d07c219-0a88-45be-9cfc-91e9d095a1e9",
- "accountAddress": "string",
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "exitRequested": "2019-08-24T14:15:22Z",
- "createdAt": "2019-08-24T14:15:22Z",
- "utilAmt": 0,
- "utilRate": 0
}| page | integer <int32> Default: 1 |
| size | integer <int32> [ 1 .. 50 ] Default: 50 |
| leverage_pool_id required | string <uuid> |
| period | string (PeriodSpan) Enum: "HOUR" "DAY" "WEEK" "MONTH" "YEAR" |
{- "data": [
- {
- "startTime": "2019-08-24T14:15:22Z",
- "endTime": "2019-08-24T14:15:22Z",
- "leveragePoolId": "3229a80e-6400-4afe-a15e-c4b4652ff574",
- "asset": "string",
- "beginningOffers": 0,
- "newOffers": 0,
- "interestAccrued": 0,
- "exitAmount": 0,
- "endingOffers": 0
}
], - "pagination": {
- "page": 0,
- "size": 0,
- "totalPages": 0,
- "totalCount": 0
}
}| proposal_id required | integer <int64> |
| option required | string (VoteOption) Enum: "YES" "NO" "ABSTAIN" "VETO" |
| exec | string (Exec) Enum: "EXEC_UNSPECIFIED" "EXEC_TRY" |
| justification | string |
| voter_address required | string (The blockchain address of the account voting on this proposal) |
{- "txBody": {
- "json": { },
- "base64Messages": [
- "string"
], - "readableMessages": [
- { }
], - "feeGranter": "string"
}, - "replacementData": {
- "property1": { },
- "property2": { }
}, - "feeGranterAddress": "string"
}| offset | integer <int64> >= 0 Default: 0 |
| limit | integer <int64> [ 1 .. 100 ] Default: 10 |
| status | string (Optional filter for proposal statuses) |
{- "results": [
- {
- "id": 0,
- "groupId": 0,
- "groupPolicyAddress": "string",
- "metadata": {
- "raw": "string",
- "json": { },
- "figure": {
- "title": "string",
- "authors": [
- "string"
], - "summary": "string",
- "details": "string",
- "proposalForumUrl": "string",
- "voteOptionContext": "string"
}, - "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "proposers": [
- "string"
], - "submitTime": "2019-08-24T14:15:22Z",
- "groupVersion": 0,
- "groupPolicyVersion": 0,
- "status": "string",
- "tally": {
- "yesCount": 0,
- "abstainCount": 0,
- "noCount": 0,
- "noWithVetoCount": 0
}, - "votingPeriodEnd": "2019-08-24T14:15:22Z",
- "executorResult": "string",
- "messages": [
- {
- "typeUrl": "string",
- "content": { },
- "rawBytes": "string"
}
], - "votes": [
- {
- "proposalId": 0,
- "voter": "string",
- "option": "string",
- "metadata": {
- "raw": "string",
- "json": { },
- "figure": {
- "justification": "string"
}, - "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f"
}, - "submitTime": "2019-08-24T14:15:22Z",
- "weight": 0,
- "noLongerInGroup": true
}
], - "pruned": true,
- "title": "string"
}
], - "pageResponse": {
- "offset": 0,
- "limit": 0,
- "pageRequest": {
- "offset": 0,
- "limit": 0
}, - "totalResults": 0
}
}