Portfolio.HasLongPosition (Instrument, Double) Method

Determines whether [has long position] [the specified instrument].
public bool HasLongPosition( 
Instrument instrument
double qty 
)
This language is not supported or no code example is available.
public:  
bool HasLongPosition( 
Instrument^ instrument
double qty 
)
This language is not supported or no code example is available.
public function HasLongPosition( 
instrument : Instrument
qty : double 
) : boolean;
This language is not supported or no code example is available.

Parameters

instrument
Instrument

The instrument.

qty
double

The qty.

Return Value

bool

true if [has long position] [the specified instrument]; otherwise, false.

In this article

Definition