ppex/trades/{id}

This endpoint retrieves a single PPEX trade.

Response Structure

{
  "statusCode": "101",
  "statusDesc": "Ok",
  "ppex_trade": {
    "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"
  }
}

Response Object

FieldTypeDescription
statusCodeStringResponse status code. "101" indicates success.
statusDescStringDescription of the status code. "Ok" indicates a successful operation.
ppex_tradeObjectTrade details.

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").

📘

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 (fetch the resource in the example above):
GET /v3/ppex/trades/81

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.

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