Trade Actions (Managed)
DoBuy
Generates a buy signal on spot or a long signal on margin & leverage.
DoBuy([ note ])
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
DoExitPosition
Sends out a sell signal on spot or an exit positions signal on margin & leverage.
DoExitPosition([ note ])
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
DoFlipPosition
Executes a DoLong() when the current position is short and an DoShort() the position is long.
DoFlipPosition([ note ])
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
DoLong
Generates a buy signal on spot or a long signal on margin & leverage.
DoLong([ note ])
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
DoSell
Generates a sell signal on spot or a short signal on margin & leverage.
DoSell([ note ])
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
DoShort
Generates a sell signal on spot or a short signal on margin & leverage.
DoShort([ note ])
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
note
String
False
Text, Input, SessionGet, Load
DoSignal
Processes a signal enum. Triggers a DoLong() when the signal equals SignalLong, a DoShort() when the signal equals SignalShort, a DoExitPosition() when the signal equals SignalExitPosition and does nothing when the signal is SignalNone.
DoSignal(signal, [ note ])
Return Type: Void
Parameter Name
Parameter Type
Required
Suggested
signal
Enum
True
GetConsensusSignal, GetUnanimousSignal, GetRemoteSignal
note
String
False
Text, Input, SessionGet, Load
Last updated