Account Violation Created

A new account violation has been created

Event Type

Description

violations.created

A new account violation (GFV for cash and PDT for margin) is created and provides the total violation count.

{
  "id": "event_ad1d0449-47c3-487c-ad6f-f61b6d738e30",
  "type": "violations.created",
  "timestamp": "2019-03-29T14:39:26.797655993Z",
  "payload": {
    "accountID": "b25f0d36-b4e4-41f8-b3d9-9249e46402cd.1403540676095",
    "accountNo": "DWZR000001",
    "currentViolations": {
      "goodFaithViolations": {
        "count": 1
      }
    }
  }
}
{
  "id": "event_ad1d0449-47c3-487c-ad6f-f61b6d738e30",
  "type": "violations.created",
  "timestamp": "2019-03-29T14:39:26.797655993Z",
  "payload": {
    "accountID": "b25f0d36-b4e4-41f8-b3d9-9249e46402cd.1403540676095",
    "accountNo": "DWZR000001",
    "currentViolations": {
      "patternDayTrades": {
        "count": 1
      }
    }
  }
}

Results Explained

Attribute

Type

Description

id

string

unique event identifier

type

string

the type of event

timestamp

string

time when the event was created

payload

object

contains the details of the event

payload.accountID

string

unique account identifier

payload.accountNo

string

account number

payload.currentViolations

object

contains the details of current violations

payload.currentViolations.goodFaithViolations

object

contains the count of GFVs

payload.currentViolations.patternDayTrades

object

contains the count of PDTs

payload.currentViolations.goodFaithViolations.count

number

the total number of the specified violation