# RiskTypeDTO

    You have to set it during resource creation, after that, it is only read-only.     You have only to set the id, e.g. 4 for actual drawdown.     1: Daily, 2: Weekly, 3: Monthly, 4: Actual, 5: Equity-equity daily, 6: Equity-equity weekly, 7: Equity-equity monthly, 8: Smart reference daily,     9: Smart reference weekly, 10: Smart reference monthly.      When you set a daily risk limit of 0.5 (50%), it means that if the ratio of the balance     at a specific timepoint (see resetTime) to equity reaches 50%, the copy trading will be     paused, and if specified, all trades will be closed (see closeAllOpenPositions).      The limit reference type depends on the selected risk type:     • Balance-based limits use the balance as reference.     • Equity-based limits use the equity as reference.     • Smart limits use the greater of balance and equity as reference.      Example: {id: 1} 

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **number** |  | [default to undefined]
**name** | **string** |  | [optional] [readonly] [default to undefined]

## Example

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

const instance: RiskTypeDTO = {
    id,
    name,
};
```

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