ppex/trades

This endpoint retrieves a list of PPEX trades. It supports pagination, filtering, and sorting capabilities.

Response Structure

{
  "statusCode": "101",
  "statusDesc": "Ok",
  "ppex_trades": [
    {
      "memberId": "777",
      "askId": "180",
      "bidId": "126",
      "offeringId": "549119",
      "accountId": "ACCpiyiqzn0",
      "partyType": "SELLER",
      "tradeId": "81",
      "transactionType": "BUY",
      "amount": "2906.113302",
      "sharePrice": "83.307155",
      "shares": "564.183958",
      "status": "PENDING",
      "reportingStatus": "FAILED",
      "createdDate": "2024-12-10 00:00:00",
      "deleted": "0",
      "executionTime": "485",
      "updatedDate": "2022-02-13 00:00:00"
    }
  ],
  "pagination": {
    "totalRecords": 100,
    "startIndex": 0,
    "endIndex": 0
  }
}

Response Object

FieldTypeDescription
statusCodeStringResponse status code. "101" indicates success.
statusDescStringDescription of the status code. "Ok" indicates a successful operation.
ppex_tradesArrayList of trade details.
paginationObjectInformation about pagination for the response.

PPEX Trade Object

FieldTypeDescription
memberIdStringUnique identifier for the member involved in the trade.
askIdStringIdentifier for the ask (sell) order.
bidIdStringIdentifier for the bid (buy) order.
offeringIdStringIdentifier for the offering being traded.
accountIdStringUnique identifier for the account involved in the trade.
partyTypeStringRole of the party in the transaction (e.g., "SELLER", "BUYER").
tradeIdStringUnique identifier for the trade.
transactionTypeStringType of transaction (e.g., "BUY", "SELL").
amountStringTotal monetary value of the trade (shares × sharePrice).
sharePriceStringPrice per share for the trade.
sharesStringNumber of shares involved in the trade.
statusStringCurrent status of the trade (e.g., "PENDING", "COMPLETED").
reportingStatusStringStatus of trade reporting (e.g., "FAILED", "SUCCESS").
createdDateStringDate and time when the trade was created (format: "YYYY-MM-DD HH:MM:SS").
deletedStringFlag indicating if the trade has been deleted ("0" = not deleted, "1" = deleted).
executionTimeStringTime taken to execute the trade (in milliseconds).
updatedDateStringDate and time when the trade was last updated (format: "YYYY-MM-DD HH:MM:SS").

Pagination Object

FieldTypeDescription
totalRecordsNumberTotal number of records available.
startIndexNumberStarting index of the records in the current response.
endIndexNumberEnding index of the records in the current response.

📘

Calculating the monetary value of a trade

Multiply shares by sharePrice to determine amount of trade in dollars.

The amount field represents the balance of the sell-side order after the trade. For example, if an order was originally for 30 shares at $5.00 per share ($150 total), and 2 shares were traded at $5.00, the remaining balance would be 28 shares at $5.00, equaling $140. amount would report $140, not $10.

Examples

  1. Basic query (default behavior):
GET /v3/ppex/trades
  1. Limit the number of results:
GET /v3/ppex/trades?limit=1
  1. Use limit and offset for pagination:
GET /v3/ppex/trades?limit=1&offset=2

Permissions

This method requires the scopeppex_trade.read.pii_mediumto be granted to the calling API key.

This scope can be assigned by system admins through the API or Transact Portal.

Filtering

For more information on filtering see

Working with List Endpoints

Language
Click Try It! to start a request and see the response here!