Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| api:admin [2024/04/03 12:04] – chad | api:admin [2025/03/14 02:49] (current) – removed chad | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Admin API ====== | ||
| - | |||
| - | The T4 Admin API allows you to connect your systems to the T4 backend in order to carry out admin functionality such as creating new users and obtaining reports. | ||
| - | |||
| - | ====== User Fills ====== | ||
| - | |||
| - | Retrieves trading fill data for a user or account within a specified time frame. This endpoint requires authorization and is intended for administrative use. | ||
| - | |||
| - | ==== API Endpoint ==== | ||
| - | < | ||
| - | |||
| - | ==== Header ==== | ||
| - | Include **Authorization** which should contain a valid bearer token. | ||
| - | < | ||
| - | |||
| - | ==== Parameters ==== | ||
| - | ^ Parameter | ||
| - | | TradeDate | ||
| - | | UserID | ||
| - | | AccountID | ||
| - | |||
| - | ====== User Fills Response Structure ====== | ||
| - | |||
| - | The response is an array of **UserFillData** objects, each representing details of a user's fill. | ||
| - | |||
| - | ^ Field ^ Type ^ Description | ||
| - | | OrderID | ||
| - | | SequenceOrder | ||
| - | | ExchangeID | ||
| - | | ContractID | ||
| - | | MarketID | ||
| - | | BuySell | ||
| - | | Price | Price | The price at which the fill occurred. | ||
| - | | Volume | ||
| - | | TradeDate | ||
| - | | Time | DateTime | ||
| - | | UserID | ||
| - | | AccountID | ||
| - | | Account | ||
| - | |||
| - | ==== Example JSON Response ==== | ||
| - | < | ||
| - | [ | ||
| - | { | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | " | ||
| - | } | ||
| - | ] | ||
| - | </ | ||
| - | |||
| - | ===== Pending Admin API Functionality ===== | ||
| - | |||
| - | |||
| - | [[api: | ||
| - | |||
| - | [[api: | ||
| - | |||
| - | [[api: | ||
| - | |||