TradestoryTradeStory Website↗️

No results

Help CenterStoriesStory ItemsClose Position Partial

Close Position Partial

Last updated February 10, 2024

Close a position partially by its reference (set previously with New Order item).  For example, when you wish to take partial profits from an open position, or when you wish to take half the risk of the table.

By clicking on the Close Position Partial item title, you can bring up the settings for this item.

Here you can configure how you want to handle the partial closing options.

Name: The name of your story item (you can change this if you need to see something else in your logs).

Reference By: Position Reference (default) allows you to specify the reference you set when opening the position (New Order).  Position ID is used when this item is used in a FOR EACH LOOP Story Item.

Units: You can specify the units you wish to close.  Percentage (default) or Absolute.  Use Absolute if you wish to close a specific lot size or specific contract number in your position.

Volume Rounding Decimals: Default 2 decimal places when sending partial close.  When performing Percentage Units, sometimes it is necessary to round the volume to a specific number of decimals for certain brokers to accept the order.

Async: If you wish the story item to execute the order in the background asynchronously, select this check box.  Default is unselected.

To select an account, click on the green ‘plus’ icon in the ACCOUNT section.  This brings up the Account Selection toolbox.  Click on an account in the list to select an account.

Was this article helpful?