Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
Here's a little module that will convert all text files in a directory to scid files in the same or another directory. If the constant KEEP_UPDATING is True it will then check the text files every REFRESH seconds and if they've changed it will update the scid files.
Set FILES_IN and FILES_OUT. In windows the format is "C:\\mydir\\mysubdir\\"
Also set Timezone if you wish to change the times in Sierra's scid files (Sierra saves them in the UTC time zone).
Save the code in a file named something like Text2Scid.py and run it using python Text2SCid.py.
Tested with Python 3.7 on Linux & Windows. Have fun:
hello Kiwi
I saw your code on sierracharts forums (and then here) (the one which reads scid file into pd df) but it keeps crashing for me, and as I am relatively new to programming I could not yet figure out why. May be you have a newer version , you could share?
I am also running sierra charts on linux.
I figured out a "workaround", probably not as fast as the SCID file. I used a study which is writing the bar+study data to txt file. I can read that into a dataframe and work with that. It takes ~0.01 sec to update and return a dataframe at each update. That is sufficient for now.