# GetAutotradeSettings

The Autotrade Settings. Non-paginated endpoint.

Endpoint: GET /Autotrade/GetAutotradeSettings
Version: v4
Security: 

## Query parameters:

  - `PersonId` (integer,null, required)
    PersonId

  - `Account` (string)
    (Optional) Account

## Response 200 fields (application/json):

  - `Results` (array,null)
    Result array

  - `Results.Id` (integer)
    The unique Id

  - `Results.PersonId` (integer)
    The C2 PersonId

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

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

  - `Results.Email` (string,null)
    The client email

  - `Results.Country` (string,null)
    The client country

  - `Results.State` (string,null)
    The client state/province

  - `Results.Language` (string,null)
    The client's preferred language

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

  - `Results.BrokerId` (integer)
    The broker ID

  - `Results.Connection` (string,null)
    The API client platform name

  - `Results.IntroducingBrokerId` (integer)
    The introducing broker ID

  - `Results.IntroducingBroker` (string,null)
    The introducing broker name

  - `Results.StrategyId` (integer)
    The Strategy ID

  - `Results.StrategyName` (string,null)
    The Strategy name

  - `Results.Account` (string,null)
    The Brokerage/SIM/Papertrade Account

  - `Results.AccountType` (integer)
    The account type

  - `Results.BrokerUserID` (string,null)
    The broker User ID

  - `Results.Currency` (string,null)
    The account currency

  - `Results.SalesRepId` (integer)
    The sales rep ID

  - `Results.SalesRep` (string,null)
    The sales rep name

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

  - `Results.IsManualDiscardedPosition` (boolean,null)
    Internal use

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

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

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

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

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

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

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

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

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

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

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

  - `Results.LastSyncStocksUSA` (string,null)
    Last UTC date when Sync to open positions ran

  - `Results.LastSyncStocksEurope` (string,null)
    Last UTC date when Sync to open positions ran

  - `Results.LastSyncOptionsUSA` (string,null)
    Last UTC date when Sync to open positions ran

  - `Results.LastSyncOptionsEurope` (string,null)
    Last UTC date when Sync to open positions ran

  - `Results.LastSyncFuturesUSA` (string,null)
    Last UTC date when Sync to open positions ran

  - `Results.LastSyncFuturesEurope` (string,null)
    Last UTC date when Sync to open positions ran

  - `Results.LastSyncFuturesAsia` (string,null)
    Last UTC date when Sync to open positions ran

  - `Results.LastSyncForex` (string,null)
    Last UTC date when Sync to open positions ran

  - `Results.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.

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

  - `Results.IsAutotradeDisabledReason` (string,null)
    The Autotrade Disabled Reason

  - `Results.SyncDisabledReason` (string,null)
    The AutoSync Disabled Reason

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

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

  - `Results.NetLiquidationValueDate` (string,null)
    UTC date of last known account net liquidation value

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

  - `Results.ScalingPercentage` (number)
    The Autotrade scaling factor

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

  - `Results.Approved` (boolean)
    TRUE if broker has approved the account for Autotrade

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

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

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

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

  - `Results.MinFutures` (integer,null)
    Minimum quantity when scaling futures orders for Autotrade

  - `Results.MaxFutures` (integer,null)
    Maximum quantity when scaling futures orders for Autotrade

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

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

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

  - `Results.ForexLotSize` (integer,null)
    Forex lot size for Autotrade

  - `Results.MinForex` (integer,null)
    Minimum quantity when scaling forex orders for Autotrade

  - `Results.MaxForex` (integer,null)
    Maximum quantity when scaling forex orders for Autotrade

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

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

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

  - `Results.MaxStocksDollars` (integer,null)
    Maximum currency value when scaling stock orders for Autotrade

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

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

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

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

  - `Results.MinOptions` (integer,null)
    Minimum quantity when scaling options orders for Autotrade

  - `Results.MaxOptions` (integer,null)
    Maximum quantity when scaling option orders for Autotrade

  - `ResponseStatus` (object)

  - `ResponseStatus.ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `ResponseStatus.Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `ResponseStatus.Errors` (array,null)

  - `ResponseStatus.Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `ResponseStatus.Errors.FieldName` (string,null)
    The affected parameter.

  - `ResponseStatus.Errors.Message` (string,null)
    More details about the ErrorCode.

## Response 400 fields (application/json):

  - `ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `Errors` (array,null)

  - `Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `Errors.FieldName` (string,null)
    The affected parameter.

  - `Errors.Message` (string,null)
    More details about the ErrorCode.

## Response 401 fields (application/json):

  - `ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `Errors` (array,null)

  - `Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `Errors.FieldName` (string,null)
    The affected parameter.

  - `Errors.Message` (string,null)
    More details about the ErrorCode.

## Response 403 fields (application/json):

  - `ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `Errors` (array,null)

  - `Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `Errors.FieldName` (string,null)
    The affected parameter.

  - `Errors.Message` (string,null)
    More details about the ErrorCode.

## Response 404 fields (application/json):

  - `ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `Errors` (array,null)

  - `Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `Errors.FieldName` (string,null)
    The affected parameter.

  - `Errors.Message` (string,null)
    More details about the ErrorCode.

## Response 406 fields (application/json):

  - `ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `Errors` (array,null)

  - `Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `Errors.FieldName` (string,null)
    The affected parameter.

  - `Errors.Message` (string,null)
    More details about the ErrorCode.

## Response 409 fields (application/json):

  - `ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `Errors` (array,null)

  - `Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `Errors.FieldName` (string,null)
    The affected parameter.

  - `Errors.Message` (string,null)
    More details about the ErrorCode.

## Response 429 fields (application/json):

  - `ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `Errors` (array,null)

  - `Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `Errors.FieldName` (string,null)
    The affected parameter.

  - `Errors.Message` (string,null)
    More details about the ErrorCode.

## Response 500 fields (application/json):

  - `ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `Errors` (array,null)

  - `Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `Errors.FieldName` (string,null)
    The affected parameter.

  - `Errors.Message` (string,null)
    More details about the ErrorCode.

## Response 503 fields (application/json):

  - `ErrorCode` (string,null)
    The HTTP error code. Please see https://api-docs.collective2.com/guides/error-codes#http-errors.

  - `Message` (string,null)
    The human-readable meaning of the ErrorCode.

  - `Errors` (array,null)

  - `Errors.ErrorCode` (string,null)
    The C2 error code. Please see https://api-docs.collective2.com/guides/error-codes#c2-errors.

  - `Errors.FieldName` (string,null)
    The affected parameter.

  - `Errors.Message` (string,null)
    More details about the ErrorCode.


## Response 304 fields
