Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 09:33:14 +0000



Using FlattenAndCancelAllOrders with Options on IB

View Count: 1557

[2013-05-03 20:57:12]
User76625 - Posts: 49
I'm running into a problem using the sc.FlattenAndCancelAllOrders() command with options - the chart uses SMART as the exchange (a compilation of orders all available exchanges), but when an order is actually filled, the Symbol on the Trade Positions tab will show the actual exchange it was filled on (i.e., AMEX). Since the symbol doesn't match the chart, the Flatten command doesn't trigger since it thinks there is no open position to flatten.

For example:
Chart Symbol: GOOG-OPT-20130517-835-C-SMART-100-USD
Filled Order Symbol: GOOG 130518C008350000-OPT-AMEX

Any ideas on a work around?
Date Time Of Last Edit: 2013-05-03 21:31:53
[2013-05-03 22:54:18]
Sierra Chart Engineering - Posts: 104368
Please refer to this section to use independent Trade Positions:
http://www.sierrachart.com/index.php?l=doc/doc_TradeStatusWindows.html#UsingIndependentInternalPositions

Sierra Chart Support - Engineering Level

Your definitive source for support. Other responses are from users. Try to keep your questions brief and to the point. Be aware of support policy:
https://www.sierrachart.com/index.php?l=PostingInformation.php#GeneralInformation

For the most reliable, advanced, and zero cost futures order routing, *change* to the Teton service:
Sierra Chart Teton Futures Order Routing

To post a message in this thread, you need to log in with your Sierra Chart account:

Login

Login Page - Create Account