# FeatureWeeklyProfitTargetDTO

DTO for weekly 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]
**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]
**weeklyAbsoluteProfitTarget** | **number** | Enter a weekly 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 week. Set to 0 to deactivate. | [optional] [default to 0]
**weeklyProfitTarget** | **number** | Enter a weekly 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 week, and any positions placed outside system will be closed immediately (if \&#39;pauseInsteadOfClose\&#39; is false). Set to 0 to deactivate. | [optional] [default to 5.0]
**weeklyRelativeProfitTarget** | **number** | Enter a weekly 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 week. Set to 0 to deactivate. | [optional] [default to 0]

## Example

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

const instance: FeatureWeeklyProfitTargetDTO = {
    autoResetIfBalanceIsBelow,
    pauseInsteadOfClose,
    resetOnBalanceChange,
    weeklyAbsoluteProfitTarget,
    weeklyProfitTarget,
    weeklyRelativeProfitTarget,
};
```

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