stefan-jansen / zipline-reloaded

Zipline, a Pythonic Algorithmic Trading Library
https://zipline.ml4trading.io
Apache License 2.0
1.03k stars 199 forks source link

REL 3.0-beta #206

Closed stefan-jansen closed 1 year ago

stefan-jansen commented 1 year ago

Updates Zipline to use Python 3.11, Pandas 2.0+ and SQLAlquemy 2.0+.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 94.53% and no project coverage change.

Comparison is base (ca89a09) 88.11% compared to head (d1b3329) 88.11%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #206 +/- ## ======================================= Coverage 88.11% 88.11% ======================================= Files 170 171 +1 Lines 16031 16057 +26 ======================================= + Hits 14125 14149 +24 - Misses 1906 1908 +2 ``` | [Impacted Files](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen) | Coverage Δ | | |---|---|---| | [src/zipline/assets/asset\_writer.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvYXNzZXRzL2Fzc2V0X3dyaXRlci5weQ==) | `93.11% <ø> (ø)` | | | [src/zipline/data/bundles/csvdir.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvZGF0YS9idW5kbGVzL2NzdmRpci5weQ==) | `88.23% <ø> (ø)` | | | [src/zipline/testing/github\_actions.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvdGVzdGluZy9naXRodWJfYWN0aW9ucy5weQ==) | `84.61% <84.61%> (ø)` | | | [src/zipline/utils/numpy\_utils.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvdXRpbHMvbnVtcHlfdXRpbHMucHk=) | `85.41% <85.18%> (+0.38%)` | :arrow_up: | | [src/zipline/assets/assets.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvYXNzZXRzL2Fzc2V0cy5weQ==) | `92.88% <97.67%> (+0.20%)` | :arrow_up: | | [src/zipline/algorithm.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvYWxnb3JpdGhtLnB5) | `93.49% <100.00%> (+0.16%)` | :arrow_up: | | [src/zipline/assets/asset\_db\_migrations.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvYXNzZXRzL2Fzc2V0X2RiX21pZ3JhdGlvbnMucHk=) | `93.65% <100.00%> (ø)` | | | [src/zipline/data/adjustments.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvZGF0YS9hZGp1c3RtZW50cy5weQ==) | `95.39% <100.00%> (-0.03%)` | :arrow_down: | | [src/zipline/data/bundles/quandl.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvZGF0YS9idW5kbGVzL3F1YW5kbC5weQ==) | `76.10% <100.00%> (ø)` | | | [src/zipline/data/data\_portal.py](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen#diff-c3JjL3ppcGxpbmUvZGF0YS9kYXRhX3BvcnRhbC5weQ==) | `95.26% <100.00%> (ø)` | | | ... and [8 more](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen) | | ... and [3 files with indirect coverage changes](https://app.codecov.io/gh/stefan-jansen/zipline-reloaded/pull/206/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Stefan+Jansen)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.