# FeatureDataCollectorDTO

DTO for the Data Collector feature (account) (PRO)

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**activateDataCollector** | **boolean** | Activate the data collector feature to record equity, profit, and balance time series data. | [default to true]
**collectionIntervalSeconds** | **number** | Collection interval in seconds. Defines how frequently the system checks and records equity, profit, and balance data. Note: Data is only saved when values have changed from the previous record to optimize storage and reduce redundancy. | [default to 60]
**normalizeValues** | **boolean** | If true, normalizes all values when fetching data via REST endpoint to hide real account size. Uses the first record\&#39;s balance (or equity if balance not recorded, or floating PnL if neither recorded) as reference point and scales it to 100,000. The same scaling factor is then applied to ALL records, preserving relative performance and growth patterns while obscuring actual account values. Example: if first balance is 50,000, all values are doubled (factor 2.0), making first balance &#x3D; 100,000, but subsequent balances scale proportionally. Data is always stored as-is without normalization. Use this feature when sharing performance data without exposing real capital. | [default to false]
**recordBalance** | **boolean** | If true, records account balance (closed positions only). Balance represents the account value based on closed trades only. | [default to true]
**recordEquity** | **boolean** | If true, records account equity (including floating PnL). Equity represents the current account value including open positions. | [default to true]
**recordFloatingPnL** | **boolean** | If true, records floating PnL separately. This is the unrealized profit/loss from currently open positions. | [default to true]
**retentionDays** | **number** | Data retention period in days. This is a fixed system value and cannot be modified by users. | [optional] [readonly] [default to undefined]

## Example

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

const instance: FeatureDataCollectorDTO = {
    activateDataCollector,
    collectionIntervalSeconds,
    normalizeValues,
    recordBalance,
    recordEquity,
    recordFloatingPnL,
    retentionDays,
};
```

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