# FeatureTradeGuardrailsDTO

DTO for trade guardrails feature (account) (PRO)

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**aggregatePerSymbol** | **boolean** | If true, the lot size threshold will be applied to the aggregated total lot size per symbol rather than to individual positions. For example, if you have 3 positions on EURUSD with 0.3 lots each (total 0.9 lots), setting this to true will check the 0.9 total against the threshold instead of checking each 0.3 lot position individually. | [optional] [default to false]
**enabled** | **boolean** | If true, the trade guardrails feature is enabled and will monitor and close positions that exceed the threshold. If false, the feature is disabled. | [optional] [default to true]
**maxLotSizeThreshold** | **number** | Sets the global maximum lot size threshold for individual open positions across all symbols. By default, each position is checked individually. If an open position exceeds this lot size, it will be automatically closed. A value of 0 means deactivated. | [optional] [default to 0.0]
**maxOpenTimeSeconds** | **number** | Sets the maximum open time for positions in seconds. If a position has been open longer than this threshold, it will be automatically closed. A value of 0 means deactivated (no time limit). | [optional] [default to 0]
**symbolsConfiguration** | [**{ [key: string]: FeatureTradeGuardrailsDTO; }**](FeatureTradeGuardrailsDTO.md) | Defines the maximum lot size threshold per symbol. This allows for symbol-specific thresholds that override the global threshold. | [optional] [default to undefined]

## Example

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

const instance: FeatureTradeGuardrailsDTO = {
    aggregatePerSymbol,
    enabled,
    maxLotSizeThreshold,
    maxOpenTimeSeconds,
    symbolsConfiguration,
};
```

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