Matt Stancliff
Matt Stancliff
> this runs 24x5 on a headless VM oh that's good to know too. It probably has a vnc session exposed somewhere. Probably worth checking the gateway version too. I...
I've never used the `reqHistoricalNews` API, but one guess is maybe the time formats are being ignored? The [official documentation for `reqHistoricalNews`](https://interactivebrokers.github.io/tws-api/classIBApi_1_1EClient.html#abd58660daa6865b75844a7c02bf5b68e) says the time format is (a bit weird):...
Interesting edge case discovered! So the code for creating date strings from datetime objects needs to be modified when using `ib.reqHistoricalNews()` calls. I'll make a note of that for the...
Oh, that's a python 3.12 feature and it looks like the python version in the package file is just outdated now. I'll look at fixing it or updating the minimum...
oh, two places of weirdness. Thanks for finding the exact cause and effect! If we want to use source file `mtime` dates in the zip file (for non-auto-generated files at...
and on second thought, instead of using fixed 1980 date for the `_write_to_zip()` calls, we could save the date of the most recently modified package source file then use it...
Yeah, that will not show correct results because of how IBKR reports those values. Short version: you have to compare a live quote against your average cost of each position...