Support Board
Date/Time: Wed, 14 May 2025 07:05:54 +0000
Connectivity with interactive brokers
View Count: 1519
[2016-04-12 07:54:09] |
enemyspy - Posts: 306 |
using sierra chart 1389. -Sporadic problem where sometimes after entering a new postion the sierra chart trade window drops the information and indicates flat. However The position is still open with the broker. -If I press the flatten button message log indicates "cannot flatten because position does not exist". -Problem does not happen every time. Seems to correlate to times when I have started sierra chart in sim mode to test some things and then switch to live trading. Closing and re-opening sierra chart causes the position data to show up again. -I don't think this is related but I will mention that I am using a study I coded that harnesses the sc.FlattenAndCancelAllOrders()function where I set the amount of ticks via sc.Input[] as a virtual stop so that I don't have to advertise my real stop. The entry order is placed manually accompanied by a looser emergency attached stop sent to broker. Wondering if my code could be triggering the loss of the position data problem, or if it is a seperate problem that happens because my broker drops the connection? It seems to correct itself if I restart the program. |
[2016-04-12 09:40:39] |
|
When you notice this go to the Trade >> Trade Orders and Positions >> Positions tab and see if the Position is displayed there for the Symbol and Trade Account. Also press Refresh Trade Data on that window to see if it appears if it is not currently displayed. There is never a need to restart. The most you would want to do is reconnect to the data feed: https://www.sierrachart.com/index.php?page=doc/doc_FileMenu.html#ProcedureToReconnect 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 Date Time Of Last Edit: 2016-04-12 10:27:21
|
To post a message in this thread, you need to log in with your Sierra Chart account: