AccountEvent
QuantConnect.Securities.AccountEvent
AccountEvent(currency_symbol: str, cash_balance: float)
Bases: Object
Messaging class signifying a change in a user's account
Creates an AccountEvent
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
currency_symbol
|
str
|
The currency's symbol |
required |
cash_balance
|
float
|
The total cash balance of the account |
required |
cash_balance
cash_balance: float
Gets the total cash balance of the account in units of currency_symbol
currency_symbol
currency_symbol: str
Gets the currency symbol
to_string
to_string() -> str
Returns a string that represents the current object.
Returns:
| Type | Description |
|---|---|
str
|
A string that represents the current object. |