GET Strategy

Returns a specific strategy indicated by strategy ID.

Get strategy by ID

GET /v1/api/accounts/{account}/strategies/{strategyId}

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

NameTypeRequiredDescription

account

string

Required

Name of account in NT8

strategyId

string

Required

ID of the strategy

Code Examples (coming soon)

// Some code

Response

{
    "id": "334081921",
    "account": "Sim101",
    "strategyName": "AtmStrategy",
    "displayName": "crosstrade - 1",
    "position": "Long",
    "quantity": 1,
    "averagePrice": 5804.75,
    "unrealizedPnl": -37.5,
    "success": true
}

Last updated