Replies: 4 comments 8 replies
-
For what it’s worth I’m using WSL but it seems to be a lot more complicated than it needs to be. You need to do port redirection (for ssl) and also to make sure your firewall isn’t blocking the WSL access to IB Gateway at each restart and windows as you know tries to restart itself quite a lot
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: meldinman ***@***.***>
Sent: Tuesday, April 12, 2022 1:25:26 PM
To: robcarver17/pysystemtrade ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [robcarver17/pysystemtrade] Automation on windows machine (Discussion #576)
Hi all,
I'm curious if anyone else here is automating pysystemtrade on a windows machine. I am not familiar with UNIX so I would prefer to keep things windows based. I plan to run the various daily processes manually for now as I get comfortable with daily workings of a production system however I want to start thinking about how I would best implement an automated process.
As of now I am debating between a windows version of crontab, something like pycron (would presumably make it easier for me to use the already included linux crontab scripts) or writing my own with BAT files and a super light task scheduler like freebyte task scheduler (would mean less dependancy on third party software). Has anyone else had any experience or advice in this regard?
Thanks!
—
Reply to this email directly, view it on GitHub<#576>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AC3EL3KSJQWXQXG6BNNSLL3VEWWYNANCNFSM5TIAIVSQ>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I'm running a spread bet system, based on the Leveraged Trading book and heavily influenced by pysystemtrade. I have a .bat file, run by Task Scheduler that calls my own python scripts. These are written in the Windows environment. I'm also migrating to full pysystemtrade, and I spent some time working with pysystemtrade initially on Windows 10 home, then WSL on Windows 10 Home. In the end I decided to bite the bullet and buy a separate box that I installed Ubuntu on.
I'm running VS Code on Ubuntu with all of the same add-ins as I have in Windows. I bought a cheap refurbished business machine off of ebay. I use free software called Barrier so that I have 1 mouse, 1 keyboard controlling both my windows machine and Linux machine. If you start with Windows or Windows+WSL you can always migrate to Linux later. |
Beta Was this translation helpful? Give feedback.
-
I've been running the various processes for the last few days manually from my environment PowerShell. The main drawback is running stack handler in the morning as usually by the time I get that running here on the American east coast, Asian markets are already closed. Additionally, I am not echoing log files to .txt files this way. I think I will go the batch file route, translating the included linux files to a suitable batch file equivalent. |
Beta Was this translation helpful? Give feedback.
-
There's a new section in the docs about creating executable commands for a non linux OS |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I'm curious if anyone else here is automating pysystemtrade on a windows machine. I am not familiar with UNIX so I would prefer to keep things windows based. I plan to run the various daily processes manually for now as I get comfortable with daily workings of a production system however I want to start thinking about how I would best implement an automated process.
As of now I am debating between a windows version of crontab, something like pycron (would presumably make it easier for me to use the already included linux crontab scripts) or writing my own with BAT files and a super light task scheduler like freebyte task scheduler (would mean less dependancy on third party software). Has anyone else had any experience or advice in this regard?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions