darwinex / dwxconnect

Seamlessly link any Trading Strategy in ANY programming language to Darwinex liquidity via MetaTrader 4 or 5. DWX Connect is your very own, fully customizable Trading API!
BSD 3-Clause "New" or "Revised" License
166 stars 88 forks source link

Concerns about SSD wear leveling with DWX Connect #36

Open mbender71 opened 1 year ago

mbender71 commented 1 year ago

I just successfully set up DWX Connect and a Python client after watching the YouTube video on DWX Connect. Using the file system is a more simplistic approach than sockets/0MQ, BUT I have to ask if anyone has thought about the sheer number of writes to an SSD during 24/5 trading days when analyzing tick data. Likely, Windows will never commit every write as requested due to caching, but does anyone know this for sure? Perhaps it's late, and I'm not thinking straight, but I thought I'd ask as this "could" be an issue.

Lastly, with AntiVirus enabled, expect to get a CPU hit due to the large number of "hits" to the AV for checking. On the simple DWX Connect python example (reading ticks & quotes), my Ryzen 3700x CPU load increases 3% to 4% during Sydney trading (slow).

Just throwing these out as possible "issues" versus the 0MQ solution.

roach118 commented 1 year ago

I had similar concerns so I've set up a ram drive for the folder that DWX will write to (using ImDisk on windows). I recall it caused a minor issue with the python client code but apart from that, it means no proper disk writes