v1

latestOpenAPI 3.0.22026-07-24113565544.0 KB
Advisor Reports

List Allocations by Advisor

Fetches a user's sub account orders allocations by userID

get/users/{userID}/managed/orders

Path parameters

userIDstring required

A unique identifier created for each User on DriveWealth's platform.

Example:cc07f91b-7ee1-4868-b8fc-823c70a1b932

The User's unique identifier.

Query parameters

fromstring required

The date and time in which to start from.

tostring required

The date and time in which to end at.

Response

Fetching A user's Sub Account Orders Allocations By userID was Successful.

riaIDstring

A unique identifier created for each User on DriveWealth's platform.

orderIDstring

A unique DriveWealth order identifier created when an order is placed.

orderNostring

A unique, human-readable DriveWealth order number.

orderType'MARKET' | 'LIMIT' | 'STOP' | 'STOP_LIMIT' | 'MARKET_IF_TOUCHED'

The type of the Order.

createdWhenstring

The createdWhen is the date and time the order was created.

instrumentIDstring uuid

A unique ID created by DriveWealth to identify a specific instrument.

symbolstring nullable

The ticker symbol of the Instrument. Debt Instruments and Global Mutual Funds do not have symbols and are referred to buy their instrumentID or ISIN.

side'B' | 'S' | 'BUY_OPEN' | 'BUY_CLOSE' | 'SELL_OPEN' | 'SELL_CLOSE'

The side of the order.

orderQtynumber

The amount of the instrument in shares.

cumQtynumber

The amount of shares currently being transacted; larger orders may execute in chunks.

avgPxnumber

The average price of the security being transacted in the order.

Example response

[
  {
    "riaID": "cc07f91b-7ee1-4868-b8fc-823c70a1b932",
    "orderID": "IC.0e352bb7-9869-4233-9861-9673544efedd",
    "orderNo": "ICDU023727",
    "orderType": "MARKET",
    "createdWhen": "2022-12-11T22:28:21.810Z",
    "instrumentID": "3fb1e8a9-f7d5-4d90-95e2-43e7326b5636",
    "symbol": "MS",
    "side": "B",
    "orderQty": 0.7219,
    "cumQty": 0.7219,
    "avgPx": 1038.81,
    "allocations": [
      {
        "id": "JF.allocation.TendiesTradingCo.e61f512a-ed9c-4047-9ccf-224a5864158d",
        "status": "NEW",
        "unallocatedNotional": 5320,
        "unallocatedQuantity": 302
      }
    ]
  }
]