# AutotradeSettingsDTO

Schema: #/components/schemas/AutotradeSettingsDTO

Method: SCHEMA
Version: v4

## Schema fields:

  - `Id` (integer)
    The unique Id

  - `PersonId` (integer)
    The C2 PersonId

  - `FirstName` (string)
    The client first name. Not case-sensitive

  - `LastName` (string)
    The client last name. Not case-sensitive

  - `Email` (string)
    The client email

  - `Country` (string)
    The client country

  - `State` (string)
    The client state/province

  - `Language` (string)
    The client's preferred language

  - `SiteDomain` (string)
    The White-Label site base URL, if any

  - `BrokerId` (integer)
    The broker ID

  - `Connection` (string)
    The API client platform name

  - `IntroducingBrokerId` (integer)
    The introducing broker ID

  - `IntroducingBroker` (string)
    The introducing broker name

  - `StrategyId` (integer)
    The Strategy ID

  - `StrategyName` (string)
    The Strategy name

  - `Account` (string)
    The Brokerage/SIM/Papertrade Account

  - `AccountType` (integer)
    The account type

  - `BrokerUserID` (string)
    The broker User ID

  - `Currency` (string)
    The account currency

  - `SalesRepId` (integer)
    The sales rep ID

  - `SalesRep` (string)
    The sales rep name

  - `IsTradeLeader` (boolean)
    TRUE if this is a BrokerTransmit setup

  - `IgnoreManualOrders` (boolean)
    TRUE if Autotrade will ignore manual orders (it normally would disable AutoSync when a manual order fill is detected)

  - `IsConfirmationNeeded` (boolean)
    TRUE if Manual Confirmation feature is enabled

  - `IsSyncEnabled` (boolean)
    TRUE if AutoSync is enabled

  - `WillSyncToOpenStocksUSA` (boolean)
    TRUE if client Autotrade settings have recently changed or client clicked on the ReSync button

  - `WillSyncToOpenStocksEurope` (boolean)
    TRUE if client Autotrade settings have recently changed or client clicked on the ReSync button

  - `WillSyncToOpenOptionsUSA` (boolean)
    TRUE if client Autotrade settings have recently changed or client clicked on the ReSync button

  - `WillSyncToOpenOptionsEurope` (boolean)
    TRUE if client Autotrade settings have recently changed or client clicked on the ReSync button

  - `WillSyncToOpenFuturesUSA` (boolean)
    TRUE if client Autotrade settings have recently changed or client clicked on the ReSync button

  - `WillSyncToOpenFuturesEurope` (boolean)
    TRUE if client Autotrade settings have recently changed or client clicked on the ReSync button

  - `WillSyncToOpenFuturesAsia` (boolean)
    TRUE if client Autotrade settings have recently changed or client clicked on the ReSync button

  - `WillSyncToOpenForex` (boolean)
    TRUE if client Autotrade settings have recently changed or client clicked on the ReSync button

  - `LastSyncStocksUSA` (string)
    Last UTC date when Sync to open positions ran

  - `LastSyncStocksEurope` (string)
    Last UTC date when Sync to open positions ran

  - `LastSyncOptionsUSA` (string)
    Last UTC date when Sync to open positions ran

  - `LastSyncOptionsEurope` (string)
    Last UTC date when Sync to open positions ran

  - `LastSyncFuturesUSA` (string)
    Last UTC date when Sync to open positions ran

  - `LastSyncFuturesEurope` (string)
    Last UTC date when Sync to open positions ran

  - `LastSyncFuturesAsia` (string)
    Last UTC date when Sync to open positions ran

  - `LastSyncForex` (string)
    Last UTC date when Sync to open positions ran

  - `IsBrokerEnabled` (boolean)
    TRUE if the account is enabled broker-side. You can determine if the account is currently Autotrading from a combination of fields: "IsBrokerEnabled" = True AND "IsAutotradeDisabled" = False AND "Approved" = True.

  - `IsAutotradeDisabled` (boolean)
    TRUE if Autotrading has been disabled

  - `IsAutotradeDisabledReason` (string)
    The Autotrade Disabled Reason

  - `SyncDisabledReason` (string)
    The AutoSync Disabled Reason

  - `FirstBrokerActivationDate` (string)
    The first date when the account was activated by the broker

  - `NetLiquidationValue` (number)
    Last known account net liquidation value. Not available at all brokers

  - `NetLiquidationValueDate` (string)
    UTC date of last known account net liquidation value

  - `VirtualLimitOrdersEnabled` (boolean)
    TRUE if limit orders are held on the server due to strict broker margin constraints that result in rejected orders

  - `ScalingPercentage` (number)
    The Autotrade scaling factor

  - `SettingsLastUpdateUTC` (string)
    The most recent UTC date the Autotrade settings were updated by the client

  - `Approved` (boolean)
    TRUE if broker has approved the account for Autotrade. Note that declined accounts do not appear in this endpoint; use "GetPendingAccounts" to see accounts the broker has declined.

  - `BrokerAuthorizationStatus` (string)
    The broker authorization status of the account: "Approved" or "Pending". Declined accounts do not appear in this endpoint; use "GetPendingAccounts" to see accounts the broker has declined. May be absent on interfaces that do not evaluate authorization state (mirrors "Approved").

  - `ClosingOrdersOnly` (boolean)
    TRUE if account is in closing orders only mode

  - `EnabledFutures` (boolean)
    TRUE if futures are enabled for Autotrade

  - `FuturesLong` (boolean)
    TRUE if long futures positions are enabled for Autotrade

  - `FuturesShort` (boolean)
    TRUE if short futures positions are enabled for Autotrade

  - `MinFutures` (integer)
    Minimum quantity when scaling futures orders for Autotrade

  - `MaxFutures` (integer)
    Maximum quantity when scaling futures orders for Autotrade

  - `EnabledForex` (boolean)
    TRUE if forex are enabled for Autotrade

  - `ForexEnabledLong` (boolean)
    TRUE if long forex positions are enabled for Autotrade

  - `ForexEnabledShort` (boolean)
    TRUE if short forex positions are enabled for Autotrade

  - `ForexLotSize` (integer)
    Forex lot size for Autotrade

  - `MinForex` (integer)
    Minimum quantity when scaling forex orders for Autotrade

  - `MaxForex` (integer)
    Maximum quantity when scaling forex orders for Autotrade

  - `EnabledStocks` (boolean)
    TRUE if stocks are enabled for Autotrade

  - `StocksLong` (boolean)
    TRUE if long stocks positions are enabled for Autotrade

  - `StocksShort` (boolean)
    TRUE if short stocks positions are enabled for Autotrade

  - `MaxStocksDollars` (integer)
    Maximum currency value when scaling stock orders for Autotrade

  - `TradeStocksAsCFD` (boolean)
    TRUE when all stocks are CFDs in brokerage account

  - `EnabledOptions` (boolean)
    TRUE if options are enabled for Autotrade

  - `OptionsLong` (boolean)
    TRUE if long options positions are enabled for Autotrade

  - `OptionsShort` (boolean)
    TRUE if short options positions are enabled for Autotrade

  - `MinOptions` (integer)
    Minimum quantity when scaling options orders for Autotrade

  - `MaxOptions` (integer)
    Maximum quantity when scaling option orders for Autotrade

