EnterLong()

Generates a Buy Market order to enter a long position.

Single Market Strategy

Parameters

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 Buy Market order to enter a long position
EnterLong();

Multi Market Strategy

In MMS you need to specify the market on which to execute the order as the very first argument.

Parameters

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 Buy Market order to enter a long position on the first
// selected market
EnterLong(Markets[0]);

Last updated