TOTALSHORTPOSITIONS

Top  Previous  Next

Keyword Description

Category-related / Category-legal.

Class

Function

Where Legal

Resources

Entry Logic

Exit Logic

Initial Size

Resize

(Pre-Category)

Resize

(Category-Level)

 

 

 

l

l

l

Syntax

TOTALSHORTPOSITIONS

       

Return Value

Returns the number of short positions currently held by all systems.

Example

Sample code

IF TOTALSHORTPOSITIONS > 75 THEN NEWCONTRACTS = MY_POSITION_SIZE