ReversePosition


Summary

Modify the direction of trade at position

Syntax

public TradeResult ReversePosition(Position position)
public TradeResult ReversePosition(Position position, double volume)

Parameters

NameDescription

Example 1

var position = Positions.Find("myLabel", Symbol, TradeType.Buy);
if (position != null )
{
    ReversePosition(position);
}