trade29.sc.commands.AccountStatusResponse#
- class trade29.sc.commands.AccountStatusResponse(request, response)#
A response containing information on an account.
Attributes
request_id
(int) The request ID associated with this response.
request
(MarketDepthRequest) The request passed through the
SCBridge
to get this response.rdata
(dict) The raw data from the T29-SC-dX DLL as a dictionary.
trade_account
(str) The trade account identifier.
is_simulated
(bool) Whether or not the trade account is simulated.
currency_code
(float) The currency code of the account.
current_cash_balance
(float) This is the current cash balance of the account. This does not update until there is a cash balance adjustment or a position is closed or partially closed.
transaction_identifier_for_cash_balance_adjustment
(int) See the Sierra Chart docs
available_funds_for_new_positions
(float) See the Sierra Chart docs
margin_requirement
(float) See the Sierra Chart docs
margin_requirement_full
(float) See the Sierra Chart docs
margin_requirement_full_positions_only
(float) See the Sierra Chart docs
peak_margin_requirement
(float) See the Sierra Chart docs
account_value
(float) See the Sierra Chart docs
open_positions_profit_loss
(float) See the Sierra Chart docs
daily_profit_loss
(float) See the Sierra Chart docs
calculated_daily_net_loss_limit_in_account_currency
(float) See the Sierra Chart docs
trailing_account_value_at_which_to_not_allow_new_positions
(float) See the Sierra Chart docs
daily_net_loss_limit_has_been_reached
(bool) See the Sierra Chart docs
is_under_required_margin
(bool) See the Sierra Chart docs
is_under_required_account_value
(bool) Whether or not the account value is under the required amount.
trading_is_disabled
(bool) Whether or not trading is disabled for this account.
close_positions_at_end_of_day
(int) If this is true, the account will automatically close all positions at the end of the day.
description
(str) Description of trading account.