Violations
List Account Violations
Retrives a list of Account Violations by accountID.
get/accounts/{accountID}/violations
Request
- Base URLhttps://bo-api.drivewealth.io/back-office
- URLhttps://bo-api.drivewealth.io/back-office/accounts/{accountID}/violations
- AuthHTTP bearer
Path parameters
accountIDstring required
The user's unique account identifier.
Example:123e4567-e89b-12d3-a456-000000000004.1234567890125
Response
Retrieving a list of Account Violations by accountID was Successful.
Example response
{
"patternDayTrades": [
{
"id": "123e4567-e89b-12d3-a456-000000000006",
"symbol": "MS",
"qty": 0.7219,
"amount": 100,
"side": "B",
"createdWhen": "2022-12-11T22:28:21.810Z",
"orderID": "IC.123e4567-e89b-12d3-a456-000000000049",
"orderNo": "ZZZZ000025",
"violationSells": [
{
"qty": 0.7219,
"amount": 20,
"createdWhen": "2022-12-11T22:28:21.810Z",
"orderID": "IC.123e4567-e89b-12d3-a456-000000000049",
"orderNo": "ZZZZ000025",
"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
}
}Changes
No recorded changes to this operation across all 1 revision of this API.