Skip to main content

Create Positions

Video tutorial​

Steps​

Once a strategy is deployed from MesoSim to MesoLive, it will appear on the Strategies page. The Strategies page consists of a Strategies Table and a list of Strategy Risk Graphs with controls.

The Strategies Table can be accessed by clicking on the Strategies accordion. Once expanded, the table allows navigation to Strategy Details pages by clicking on the strategy name.

Strategies Page


From the Strategy Details page, the Add Position button can be used to initiate an Entry.

Strategy Details with No Positions

To enter a position, the brokerage account must be selected, and the structure must be built by clicking the Build button.

New Position - Before Build

During the build process, MesoLive identifies the contracts as specified in the leg’s StrikeSelector and evaluates the entry conditions and abort conditions. After the process is completed, the planned position’s risk graph is displayed.

New Position - After Build
note

The operator is responsible for deciding on the entry. If the entry conditions are not met or abort conditions are triggered, it is still possible to enter the trade, but this would be a deviation from the trade plan.

To ensure everything was built correctly, the risk graph should be consulted, and all legs should be validated against the trade plan. It is advisable to check both the strategy definition and the variables set during the build process by using the respective buttons. All user-defined variables should appear in the variables table.

warning

Missing any variables can cause erroneous behavior, so always validate that your strategy variables are correctly populated!

New Position - Vars Table

Next, the Submit button can be used to prepare the orders to be sent to the brokerage. During the submission process, order groups must be defined so that the order becomes executable by the broker.

New Position - Order Groups
warning

Brokers impose limitations on the leg combinations that can be sent at once. Please refer to the broker’s documentation to learn more about their supported combinations.

info

Example: Handling Unsupported Combo Orders in IBKR

Order Groups Example Wrong

When submitting certain multi-leg combo orders through IBKR, it's possible to encounter the error: No trading permission for this product. This occurs if the broker does not support the specific combo structure being submitted.

IBKR Error

For instance, a 10x10x1 combo order may not be recognized by IBKR, causing the order to be rejected with this error message.

Solution: Splitting the Combo Order

Order Groups Example Correct

To resolve this issue, split the unsupported combo order into separate, supported orders. For the 10x10x1 example:

  1. First Order: Place a 10x10 combo order with the first two legs (PCS_Shorts and PCS_Longs1).
  2. Second Order: Place a separate order for the 1x leg (PCS_Longs2).
New Position - Order to TWS

After clicking "Order to TWS" in the execute step, the combo orders will be sent to Trader Workstation.

info

The orders sent to TWS are not automatically submitted:

The Operator must set the price and click Transmit for the order to enter the market.

New Position - TWS Order Handling