# AccountDTO


## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**accountInformation** | [**AccountInformationDTO**](AccountInformationDTO.md) |  | [optional] [default to undefined]
**alias** | **string** |  | [optional] [default to undefined]
**callbackUrl** | **string** | Optional callback URL for async account creation. When provided, the API returns 202 Accepted immediately and POSTs the result (AccountDTO or error) to this URL once processing completes. Only 1 account creation per project is processed at a time; additional requests are queued. | [optional] [default to undefined]
**closeUnmanagedPositions** | **boolean** | When enabled, any open positions on the account that were originally opened by MetaCopier but are no longer managed, due to technical issues, will be automatically closed. However, this mechanism can occasionally result in false positives. If disabled, such unmanaged positions will remain open, and a notification will be sent to the notification center or to Telegram (if configured). In this case, manual intervention is required. We recommend keeping this option disabled to avoid accidental closures. | [optional] [default to false]
**created** | **string** | ISO 8601 | [optional] [readonly] [default to undefined]
**ctraderClientId** | **string** |  | [optional] [default to undefined]
**ctraderClientSecret** | **string** |  | [optional] [default to undefined]
**dedicatedIp** | [**FeatureDedicatedIpDTO**](FeatureDedicatedIpDTO.md) |  | [optional] [default to undefined]
**deleted** | **string** | ISO 8601 | [optional] [readonly] [default to undefined]
**failIfAccountExistsInProject** | **boolean** | If true, the create-account call fails when the account already exists in the project | [optional] [default to undefined]
**hasActiveCopiers** | **boolean** | Indicates whether this account has any active copiers. Returns true if at least one copier has active&#x3D;true, false otherwise. | [optional] [readonly] [default to undefined]
**hasDisabledCopiers** | **boolean** | Indicates whether this account has any disabled only copiers. Returns true if at least one copier has active&#x3D;false, false otherwise. | [optional] [readonly] [default to undefined]
**hasMonitorOnlyCopiers** | **boolean** | Indicates whether this account has any monitor-only copiers. Returns true if at least one copier is in monitor only mode (monitoring without copying trades), false otherwise. | [optional] [readonly] [default to undefined]
**id** | **string** |  | [optional] [readonly] [default to undefined]
**labels** | **Array&lt;string&gt;** | Set labels for your account. If null, this field will not add, update, or delete anything. To delete all labels, set this field to an empty list. | [optional] [default to undefined]
**loginAccountNumber** | **string** | For Binance, Bybit, Bitget, BloFin, OKX, Tradovate and Alpaca leave it empty | [optional] [default to undefined]
**loginAccountPassword** | **string** | For cTrader \&#39;token|refreshToken\&#39;. For TradeStation \&#39;token|refreshToken\&#39;. For Binance and Bybit \&#39;apiKey|secretKey\&#39;. For Bitget, BloFin and OKX \&#39;apiKey|secretKey|passphrase\&#39;. For Tradovate and Alpaca \&#39;apiKey|secretKey\&#39;. Only fill this field if you want to update the password or at account creation. When updating the account, you can leave this field empty \&quot;\&quot; - you don\&#39;t have to send the password every time. | [default to undefined]
**loginServer** | **string** | Enter the server address, for example, ICMarketsSC-MT5-4 for MetaTrader, or the URL such as dxtrade.instantfunding.io for DXtrade or mtr-demo-prod.match-trader.com MatchTrader. For CTrader, live.ctraderapi.com:5035 or demo.ctraderapi.com:5035. For TradeLocker, live.tradelocker.com or demo.tradelocker.com. For Binance, Bybit, Bitget, BloFin and OKX \&#39;live\&#39;, \&#39;testnet\&#39; or \&#39;demo\&#39;. For TradeStation \&#39;sim\&#39; or \&#39;live\&#39;. For Tradovate \&#39;demo\&#39; or \&#39;live\&#39;. For Alpaca \&#39;paper\&#39; or \&#39;live\&#39;. | [default to undefined]
**myHomeIp** | [**FeatureMyHomeIpDTO**](FeatureMyHomeIpDTO.md) |  | [optional] [default to undefined]
**nativeMode** | **boolean** | Indicates whether the integration runs in native mode (applies only to MetaTrader 4/5 connectors). If true, the solution operates via the official MetaTrader terminal (native). If false, it connects directly to the server without using the terminal (non-native). Non-native mode can achieve lower latency for high-frequency trading (HFT) strategies, but for 99% of typical use cases native mode is sufficiently fast. If the non-native mode fails or becomes unavailable, the system will automatically fall back to native mode. For all other connectors, the integration is always native. | [optional] [default to false]
**propFirm** | **boolean** | Indicates whether this is a prop firm account. | [optional] [default to false]
**region** | [**RegionDTO**](RegionDTO.md) |  | [default to undefined]
**skipCredentialCheck** | **boolean** | When set to true, skips credential validation during account creation. Use with caution, the account will be created without verifying login credentials. | [optional] [default to false]
**status** | [**AccountStatusDTO**](AccountStatusDTO.md) |  | [optional] [default to undefined]
**statusMessage** | **string** |  | [optional] [readonly] [default to undefined]
**tradingDisabled** | **boolean** | When enabled, puts the account in read-only mode, preventing any new trades from being opened or existing trades from being modified or closed. Use this when you want to use the account as a read-only master. | [optional] [default to false]
**type** | [**AccountTypeDTO**](AccountTypeDTO.md) |  | [default to undefined]

## Example

```typescript
import { AccountDTO } from 'js-metacopier-api';

const instance: AccountDTO = {
    accountInformation,
    alias,
    callbackUrl,
    closeUnmanagedPositions,
    created,
    ctraderClientId,
    ctraderClientSecret,
    dedicatedIp,
    deleted,
    failIfAccountExistsInProject,
    hasActiveCopiers,
    hasDisabledCopiers,
    hasMonitorOnlyCopiers,
    id,
    labels,
    loginAccountNumber,
    loginAccountPassword,
    loginServer,
    myHomeIp,
    nativeMode,
    propFirm,
    region,
    skipCredentialCheck,
    status,
    statusMessage,
    tradingDisabled,
    type,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
