EnterShort()
Generates a Sell Market order to enter a short position.
Parameters
Name
Type
Description
label
string
Optional parameter which can be used for labeling the signal generated when an order is triggered.
The browser app doesn't show the custom labels in the UI at the moment. It will be updated in the future release.
Example
// Generates a Sell Market order to enter a short position
EnterShort();
Multi Market Strategy
In MMS you need to specify the market on which to execute the order as the very first argument.
Parameters
Name
Type
Description
label
string
Optional parameter which can be used for labeling the signal generated when an order is triggered.
The browser app doesn't show the custom labels in the UI at the moment. It will be updated in the future release.
Example
// Generates a Sell Market order to enter a short position on the first
// selected market
EnterShort(Markets[0]);
Last updated