Login Page - Create Account

Support Board


Date/Time: Thu, 25 Apr 2024 00:07:05 +0000



Post From: Python for Sierra Chart

[2022-01-15 09:26:26]
User155017 - Posts: 41
Using txt files to communicate with an external program is not as fast using the DTC server I suppose, but in absence of a working open source DTC client which would allow to trade directly from Python, it looks like the best practical solution.
Using dtc would be much faster?

I have some code in Python using multi-threading, could I use multi-threading in the dll to use in SC in case i would re-write it in c++?
For now the file interface sounds the simplest solution, since I am not doing hft .. but I would like to know what could be the time gain in using a DTC server.
Ideally if the dll can support multi-processing/threading it would be faster and no external communication would be required, but re-writing and debugging the code again is too much work for now.