v1
latestOpenAPI 3.0.22026-07-24113565544.0 KBViolations
List Account Violations
Retrives a list of Account Violations by accountID.
get/accounts/{accountID}/violations
Path parameters
accountIDstring required
The user's unique account identifier.
Example:cc07f91b-7ee1-4868-b8fc-823c70a1b932.1407775317759
Response
Retrieving a list of Account Violations by accountID was Successful.
Example response
{
"patternDayTrades": [
{
"id": "3fb1e8a9-f7d5-4d90-95e2-43e7326b5636",
"symbol": "MS",
"qty": 0.7219,
"amount": 100,
"side": "B",
"createdWhen": "2022-12-11T22:28:21.810Z",
"orderID": "IC.0e352bb7-9869-4233-9861-9673544efedd",
"orderNo": "ICDU023727",
"violationSells": [
{
"qty": 0.7219,
"amount": 20,
"createdWhen": "2022-12-11T22:28:21.810Z",
"orderID": "IC.0e352bb7-9869-4233-9861-9673544efedd",
"orderNo": "ICDU023727",
"side": "B"
}
],
"message": "This transaction resulted in your third Pattern Day Trade. Note that pending orders (such as limits) may trigger a 4th Pattern Day Trade. If you have 4 or more day trades in a 5 day period, your account will be designated as a Pattern Day Trader and must maintain equity of at least $25,000. Failure to do so will put your account on 90-Restriction. You will receive an email notification with more details."
}
],
"accountEquityBreakdown": {
"longMarketValue": 30000,
"debitBalance": 2000,
"accountEquity": 28000
}
}