# PositionDTO

List of historical positions relevant to the account\'s performance as of the recorded date.

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**brokerTimeClose** | **string** | Original time string from the broker | [optional] [readonly] [default to undefined]
**brokerTimeOpen** | **string** | Original time string from the broker | [optional] [readonly] [default to undefined]
**closePrice** | **number** |  | [optional] [readonly] [default to undefined]
**closeTime** | **string** | ISO 8601 | [optional] [readonly] [default to undefined]
**comment** | **string** |  | [optional] [readonly] [default to undefined]
**commission** | **number** |  | [optional] [readonly] [default to undefined]
**dealType** | **string** |  | [optional] [readonly] [default to undefined]
**id** | **string** |  | [optional] [readonly] [default to undefined]
**magicNumber** | **string** | Magic number carried by the position, as a string. Absent/null when no magic number was set on the order (a magic of 0 on the broker side is reported as absent rather than as the string \&quot;0\&quot;). | [optional] [readonly] [default to undefined]
**netProfit** | **number** |  | [optional] [readonly] [default to undefined]
**openPrice** | **number** |  | [optional] [readonly] [default to undefined]
**openTime** | **string** | ISO 8601 | [optional] [readonly] [default to undefined]
**orderType** | **string** |  | [optional] [readonly] [default to undefined]
**placedType** | **string** |  | [optional] [readonly] [default to undefined]
**profit** | **number** |  | [optional] [readonly] [default to undefined]
**requestId** | **string** |  | [optional] [readonly] [default to undefined]
**state** | **string** |  | [optional] [readonly] [default to undefined]
**stopLoss** | **number** |  | [optional] [readonly] [default to undefined]
**swap** | **number** |  | [optional] [readonly] [default to undefined]
**symbol** | **string** |  | [optional] [readonly] [default to undefined]
**takeProfit** | **number** |  | [optional] [readonly] [default to undefined]
**volume** | **number** |  | [optional] [readonly] [default to undefined]

## Example

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

const instance: PositionDTO = {
    brokerTimeClose,
    brokerTimeOpen,
    closePrice,
    closeTime,
    comment,
    commission,
    dealType,
    id,
    magicNumber,
    netProfit,
    openPrice,
    openTime,
    orderType,
    placedType,
    profit,
    requestId,
    state,
    stopLoss,
    swap,
    symbol,
    takeProfit,
    volume,
};
```

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