Marks the instrument to deny short trades. This function is the opposite of AllowShortTrades.

 

Syntax:

instrument.DenyShortTrades

 

Parameter:

Description:

none

Function works without any user assigned values.

 

Example:

' If this instrument is NOT in the top rankings...
IF instrument.shortRank > rankThreshold THEN
 
  instrument.DenyShortTrades
ENDIF

Returns:

When Short-Order instrument's Short-Rank value > the rank-threshold value, the order will be disabled and removed.

 

Links:

 

See Also:

Trade Control Functions, Trade Control Properties

 


Edit Time: 9/8/2020 4:21:02 PM


Topic ID#: 268

 

Created with Help & Manual 7 and styled with Premium Pack Version 2.80 © by EC Software