Portfolio.HasShortPosition (Instrument, Double) Method

Determines whether [has short position] [the specified instrument].
public bool HasShortPosition( 
Instrument instrument
double qty 
)
This language is not supported or no code example is available.
public:  
bool HasShortPosition( 
Instrument^ instrument
double qty 
)
This language is not supported or no code example is available.
public function HasShortPosition( 
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 short position] [the specified instrument]; otherwise, false.

In this article

Definition