py_alpaca_api.models.account_config_model

Classes

AccountConfigModel

Model for account configuration settings.

Functions

account_config_class_from_dict(→ AccountConfigModel)

Create AccountConfigModel from API response dictionary.

Module Contents

class py_alpaca_api.models.account_config_model.AccountConfigModel[source]

Model for account configuration settings.

dtbp_check[source]

Day trade buying power check setting (“entry”, “exit”, “both”)

fractional_trading[source]

Whether fractional trading is enabled

max_margin_multiplier[source]

Maximum margin multiplier allowed (“1”, “2”, “4”)

no_shorting[source]

Whether short selling is disabled

pdt_check[source]

Pattern day trader check setting (“entry”, “exit”, “both”)

ptp_no_exception_entry[source]

Whether PTP no exception entry is enabled

suspend_trade[source]

Whether trading is suspended

trade_confirm_email[source]

Trade confirmation email setting (“all”, “none”)

dtbp_check: str[source]
fractional_trading: bool[source]
max_margin_multiplier: str[source]
no_shorting: bool[source]
pdt_check: str[source]
ptp_no_exception_entry: bool[source]
suspend_trade: bool[source]
trade_confirm_email: str[source]
py_alpaca_api.models.account_config_model.account_config_class_from_dict(data: dict) AccountConfigModel[source]

Create AccountConfigModel from API response dictionary.

Parameters:

data – Dictionary containing account configuration data from API

Returns:

AccountConfigModel instance