search Nothing found
Main Algotrading documentation Trade operations Positions

Positions.Find

We get a position by its unique identifier.

Position Positions.Find(positionId)

Input parameters:

Parameter
Type
Description
positionId
int
Position unique identifier


Return value:

It returns an object of Position type if the position exists and NULL if there is no such position

// We create a pos object, in which we place a position with ID 1010
int positionId = 1010;
Position pos = Positions.Find(positionId);


Subscribe to our newsletter and stay up to date with all the news!