Portfolio.HasLongPosition (Instrument) Method

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

Parameters

instrument
Instrument

The instrument.

Return Value

bool

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

In this article

Definition