Commit Graph

1039 Commits (main)

Author SHA1 Message Date
Value Raider 0713d93867 Bump version to 0.2.28 2023-08-13 13:05:02 +01:00
Value Raider 67e81a8f9a Fix TypeError: 'FastInfo' object is not callable #1636 2023-08-13 13:01:53 +01:00
ValueRaider b6372c0945
Merge pull request #1661 from ranaroussi/dev
sync dev -> main
2023-08-13 12:44:05 +01:00
ValueRaider c9dd582dd8
Merge branch 'main' into dev 2023-08-13 12:40:11 +01:00
ValueRaider 677f3d5702
Merge pull request #1660 from ranaroussi/fix/price-repair-100x-and-calibration
Fix price repair: 100x & calibration
2023-08-13 12:21:55 +01:00
Value Raider 4f9b05a546 Fix price repair: 100x & calibration
Price repair fixes and improvement

Fixes:
- fix reconstruction mis-calibration with tiny DataFrames
- fix detecting last-active-trading-interval when NaNs in DataFrame
- redesign mapping 100x signals to ranges:
  - no change for signals before last-active-trading-interval
  - but for signals after last-active-trading-interval, process in reverse order

Improvements:
- increase max reconstruction depth from 1 to 2. E.g. now 1wk can be repaired with 1h (1wk->1d->1h)
2023-08-13 10:54:57 +01:00
ValueRaider e1f94ed337
Merge pull request #1654 from ranaroussi/fix/circular-import
Fix circular import in utils.py
2023-08-05 12:56:15 +01:00
Value Raider 93a7ee6161 Fix circular import in utils.py
Commit a4d7d6 introduced a circular import into utils.py
2023-08-05 12:54:12 +01:00
Value Raider 5b0cb60cf5 Bump version to 0.2.27 2023-08-03 21:24:07 +01:00
ValueRaider 1a97c22874
Merge pull request #1635 from ranaroussi/hotfix/prices-events-merge
Fix merging 1d-prices with out-of-range divs/splits
2023-08-03 21:20:29 +01:00
ValueRaider b0de31da63
Merge pull request #1648 from ranaroussi/hotfix/tkr-tz-already-in-cache
Fix multithread error 'tz already in cache'
2023-08-03 18:02:51 +01:00
Value Raider cc87608824 Fix multithread error 'tz already in cache' 2023-08-02 19:29:06 +01:00
ValueRaider 6c1e26093c
Merge pull request #1633 from ranaroussi/feature/price-repair-improvements
Improve price repair
2023-08-01 20:03:29 +01:00
ValueRaider e8fdd12cb1
Merge branch 'dev' into feature/price-repair-improvements 2023-07-31 18:30:00 +01:00
Value Raider 93b6e024da Improve bad-split-repair on multiday intervals
Improve bad-split-repair on multiday intervals
Switch some repair log msgs from warning -> info
2023-07-31 18:19:42 +01:00
ValueRaider d5282967ce
Merge pull request #1606 from DanielGoldfarb/main
option_chain() return underlying data that comes with the options data
2023-07-27 15:10:13 +01:00
ValueRaider 9908c1ff48
Merge pull request #1638 from ricardoprins/dev
PEP 8 changes + minor performance improvements
2023-07-26 17:49:25 +01:00
Ricardo Prins a4d7d6c577 PEP 8 changes + minor performance improvements 2023-07-25 21:01:46 -06:00
ValueRaider f9080c22a5
Merge pull request #1630 from ricardoprins/dev
Adjust PEP 8 + minor improvements + f-strings in base.py
2023-07-25 16:50:01 +01:00
Ricardo Prins 32e1d479b1 Remove last _pd 2023-07-23 18:37:09 -06:00
Ricardo Prins 5729ce3cb6 Remove .formats and adjust imports 2023-07-23 18:28:30 -06:00
ValueRaider d0b2070036 Fix merging 1d-prices with out-of-range divs/splits 2023-07-23 15:20:57 +01:00
ValueRaider 688120cab7
Merge pull request #1632 from ranaroussi/fix/history-30m-typo
Fix typo in Ticker.history(30m)
2023-07-23 13:18:35 +01:00
ValueRaider 4a1e1c4447
Merge branch 'dev' into feature/price-repair-improvements 2023-07-22 20:34:56 +01:00
ValueRaider f99677ed1e Fix typo in Ticker.history(30m) 2023-07-22 16:52:50 +01:00
ValueRaider 6a613eb114 Improve price repair
Several improvements to price repair

Repair 100x and split errors:
- Handle stocks that recently suspended - use latest ACTIVE trading as baseline
- Improve error identification:
  - Restrict repair to no older than 1 year before oldest split
  - To reduce false positives when checking for multiday split errors,
    only analyse 'Open' and 'Close' and use average change instead of nearest-to-1
  - For weekly intervals reduce threshold to 3x standard deviation (5x was too high),
    and for monthly increase to 6x
  - For multiday intervas, if errors only detected in 1 column then assume false positive => ignore

Repair missing div-adjust:
- Fix repair of multiday intervals containing dividend

Price reconstruction:
- Move to after repairing 100x and split errors, so calibration works properly
- Fix maximum depth and reduce to 1
- Restrict calibration to 'Open' and 'Close', because 'Low' and 'High' can differ significantly between e.g. 1d and day-of-1h

Miscellaneous:
- Deprecate repair='silent', the logging module handles this
- Improve tests for 100x and split errors
- New test for 'repair missing div adjust'
2023-07-22 15:09:38 +01:00
Ricardo Prins 0503240973 Adjust PEP 8 + minor improvements + f-strings 2023-07-21 20:33:47 -06:00
ValueRaider ae6c05fa74
Merge pull request #1628 from ricardoprins/dev
Adjust PEP 8 + minor improvement
2023-07-21 22:35:21 +01:00
Ricardo Prins aa9a0286a1
Add missing comment to test_dailyWithEvents 2023-07-21 14:25:46 -06:00
ValueRaider ddf0cf19cd Bump version to 0.2.26 2023-07-21 12:56:10 +01:00
Ricardo Prins a2bde88c36 Adjust PEP 8 + minor improvement 2023-07-20 22:44:36 -06:00
ValueRaider 1bd819ac4d
Merge pull request #1371 from ranaroussi/hotfix/proxy
Fix proxy arg passthrough
2023-07-21 01:01:14 +01:00
ValueRaider 1b9fc5f12f
Merge pull request #1625 from ricardoprins/main
Bump requests to 2.31 and removes cryptography.
2023-07-21 00:59:46 +01:00
Ricardo Prins 274f309052 Bump requests to 2.31 and removes cryptography. 2023-07-20 17:17:44 -06:00
ValueRaider edac283a60
Merge pull request #1623 from ranaroussi/bug-report-yaml
Fix yaml issue rendering
2023-07-19 18:21:52 +01:00
ValueRaider 781fad501f
Merge branch 'main' into bug-report-yaml 2023-07-19 18:21:44 +01:00
ValueRaider 39527d24d4 Fix yaml issue template rendering 2023-07-19 18:21:04 +01:00
ValueRaider 45f1c88460 yaml issue template - escape some backticks 2023-07-19 18:09:20 +01:00
ValueRaider 7d638e1040
Merge pull request #1613 from ranaroussi/bug-report-yaml
Convert issue template to yaml
2023-07-19 18:05:40 +01:00
ValueRaider 97b13dfa8c Convert issue template to yaml + improve 2023-07-19 18:01:47 +01:00
ValueRaider 693565a85b Bump version to 0.2.25 2023-07-18 13:45:55 +01:00
ValueRaider 957051e0e8
Merge pull request #1605 from ranaroussi/dev
sync dev -> main
2023-07-18 12:02:19 +01:00
ValueRaider bd81ebb4e9
Merge pull request #1611 from ricardoprins/main
[BUG] Fix failure when using single ISIN as a ticker (#1525)
2023-07-18 10:55:18 +01:00
ValueRaider 46f53f9957 Port proxy fix to relocated 'FastInfo' 2023-07-17 18:34:00 +01:00
ValueRaider 056b84d8fe
Merge branch 'main' into hotfix/proxy 2023-07-17 18:29:04 +01:00
Ricardo Prins 835dbd9629 Fix failure when using single ISIN as a ticker 2023-07-17 08:49:39 -06:00
ValueRaider 07a4594455 Dev version 0.2.25b1 2023-07-14 21:55:29 +01:00
Daniel Goldfarb 736c03ac5b options_chain() return underlying data that comes with the options data 2023-07-14 15:17:17 -04:00
ValueRaider adfa2e9beb
Merge pull request #1604 from ranaroussi/main
sync main -> dev
2023-07-14 20:11:45 +01:00
ValueRaider b286797e8c Bump version to 0.2.24 2023-07-14 15:52:33 +01:00