Support Board
Date/Time: Mon, 21 Apr 2025 23:50:49 +0000
[Programming API] Work around for the Automatic Clearing of Orders.
View Count: 311
[2025-02-19 23:02:56] |
LTSys - Posts: 68 |
Hi, My automated study relies on looking at past orders that are of type MARKET and status FILLED, OPEN, or CLOSE. Since there is this "Automatic Clearing of Orders" going on I lose track of these orders. I could add the orders to a map as they are filled but that won't persist on a restart. Is there a work around for this? TIA |
[2025-02-20 00:12:53] |
cmet - Posts: 690 |
One way would be to stream to a csv file, load file on restart and reconcile the data.
|
[2025-02-20 01:20:04] |
seandunaway - Posts: 348 |
one new forum thread per block of code in your project. i think we should just write it for you and your "customers", @LTSystems 🤣 it's a little bit insulting considering every question i've seen is well covered in the acsil documentation and very general programming principles rtfm 🤪 Date Time Of Last Edit: 2025-02-20 01:29:09
|
[2025-02-20 01:48:13] |
LTSys - Posts: 68 |
redacted
Date Time Of Last Edit: 2025-02-20 03:37:33
|
[2025-02-20 01:52:41] |
seandunaway - Posts: 348 |
i'm not affiliated with sierra chart, i am a user just like you most of us here are enthusiastic to help. i mean i've linked you over and over to documentation and have written you over 150 lines of code specific to your use case but you're just being a vampire you don't have the patience to bookmark and search the acil function reference page but expect us to have the patience to spoon feed it to you? shame on us for making the effort |
[2025-02-20 01:53:13] |
LTSys - Posts: 68 |
One way would be to stream to a csv file, load file on restart and reconcile the data. Thanks for the help.. I was hoping maybe there was some persistence table in SC already I could write to. Date Time Of Last Edit: 2025-02-20 01:53:53
|
[2025-02-20 01:56:21] |
seandunaway - Posts: 348 |
dude
Date Time Of Last Edit: 2025-02-20 01:57:48
|
![]() |
[2025-02-20 01:56:32] |
LTSys - Posts: 68 |
shame on us for making the effort I've thanked everyone for their help.. I tell them I appreciate their help a lot. Maybe you're just too nice? I just find it really hard to understand the docs and the function naming convention. |
[2025-02-20 02:09:36] |
LTSys - Posts: 68 |
dude
Thanks for that. I'll check it out tomorrow. Hopefully I can help you back in the future. ;) |
[2025-02-20 15:24:55] |
Sierra_Chart Engineering - Posts: 19290 |
Refer to the documentation here: Automated Trading From an Advanced Custom Study: Accessing Orders which are No Longer Available 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, use 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: