Support Board
Date/Time: Wed, 05 Mar 2025 19:19:35 +0000
[Programming Help] - Copying trades across multiple instances of SierraChart via ACSIL
View Count: 1323
[2022-01-16 13:44:09] |
User166108 - Posts: 73 |
I have accounts where I have to use IBKR, CQG and Rithmic connections. I want to copy all trades from a primary SierraChart instance to 3 other instances as described above. This does not seem to be possible unless your FCM supports TT Fix so I thought about creating a C++ "study" to do this. The idea would be that whenever an order is created on the primary instance, the C++ study would serialize the s_SCNewOrder and similarly for when an order is modified and the secondary instances would pull the new order and replicate them. Another design option would be to replicate positions, as opposed to orders. So if the primary has 1 NQ, the secondaries would put in market or limit orders to achieve the same position. The problem is that ACSIL does not seem to support events as far as I can tell which would mean that the study can only operate when the ACSIL function gets a callback and would not know if a new position/order has been created/modified so we would need to poll. Is this the only way? I also considered looking into a study which is a DTC client but that doesn't seem to be the way to go. Thanks in advance. Date Time Of Last Edit: 2022-01-16 13:45:33
|
[2022-01-17 03:07:39] |
Tony - Posts: 552 |
Are you going to open 3 identical positions simultaneously on 3 different accounts?
Date Time Of Last Edit: 2022-01-17 03:08:20
|
[2022-01-17 03:13:42] |
User166108 - Posts: 73 |
Yes that's the idea.
|
[2022-01-19 17:47:44] |
ForgivingComputers.com - Posts: 1021 |
I have developed a tool that does this and more DM me if you want to be a beta tester. Brad at forgiving computers dot com |
[2022-01-19 17:52:12] |
User166108 - Posts: 73 |
Thanks Brad, but I just ended up writing my own. Good luck with your tool!
|
[2022-01-20 02:18:35] |
User139065 - Posts: 22 |
Thanks Brad, but I just ended up writing my own. Good luck with your tool!
You must be a super coder, you built a fully functional tool in 3 days?
|
[2022-01-20 02:46:33] |
User166108 - Posts: 73 |
I built one for my own purposes, not at all something that I would suggest other people should use. Technically, I built it in 10 hours... Date Time Of Last Edit: 2022-01-20 02:46:54
|
[2022-01-20 10:49:15] |
User139065 - Posts: 22 |
@User166108 Sierra Charts needs to hire you.Maybe would get a lot more tools and features that their customers need/request and not take months, years or never to receive them. |
[2022-01-20 11:15:18] |
User139065 - Posts: 22 |
@User166108 I built one for my own purposes, not at all something that I would suggest other people should use.
Are you willing to make your tool code open source?
|
[2022-01-20 12:42:26] |
User166108 - Posts: 73 |
The only reason I could do it quickly is because I don't have thousands of customers who can screw with it a million different ways. For similar reasons, I do not wish to make it open source lol. But really its not that hard to write ACSIL functions. |
To post a message in this thread, you need to log in with your Sierra Chart account: