# FeatureMonthlyProfitTargetDTO

DTO for monthly profit target feature (account)

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**autoResetIfBalanceIsBelow** | **boolean** | Reset this target if the balance falls below the target. For example, after a withdrawal. | [optional] [default to false]
**monthlyAbsoluteProfitTarget** | **number** | Enter a monthly absolute profit target in account currency. If the target is reached, all positions will be closed (unless \&#39;pauseInsteadOfClose\&#39; is enabled) and new ones will be blocked until the next month. Set to 0 to deactivate. | [optional] [default to 0]
**monthlyProfitTarget** | **number** | Enter a monthly target in %. If the target is reached, all positions will be closed (unless \&#39;pauseInsteadOfClose\&#39; is enabled). New positions will not be copied until the next month, and any positions placed outside system will be closed immediately (if \&#39;pauseInsteadOfClose\&#39; is false). Set to 0 to deactivate. | [optional] [default to 10.0]
**monthlyRelativeProfitTarget** | **number** | Enter a monthly relative profit target in account currency. If the target is reached, all positions will be closed (unless \&#39;pauseInsteadOfClose\&#39; is enabled) and new ones will be blocked until the next month. Set to 0 to deactivate. | [optional] [default to 0]
**pauseInsteadOfClose** | **boolean** | If set to \&#39;true\&#39;, when the profit target is reached, the copier will pause and stop opening new positions instead of closing all existing positions. The open positions will remain active. If set to \&#39;false\&#39;, all positions will be closed when the target is reached. | [optional] [default to false]
**resetOnBalanceChange** | **boolean** | If set to \&#39;false\&#39;, balance changes (deposits and withdrawals) will NOT trigger a reset of this profit target. If set to \&#39;true\&#39;, any deposit or withdrawal will reset the profit target reference balance. This option allows you to maintain the profit target calculation even when adding or removing funds from the account. | [optional] [default to true]

## Example

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

const instance: FeatureMonthlyProfitTargetDTO = {
    autoResetIfBalanceIsBelow,
    monthlyAbsoluteProfitTarget,
    monthlyProfitTarget,
    monthlyRelativeProfitTarget,
    pauseInsteadOfClose,
    resetOnBalanceChange,
};
```

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