4250 Commits

Author SHA1 Message Date
Jhonathan Abreu 6df6ca2f55 Address peer review 2024-08-30 17:39:23 -04:00
Jhonathan Abreu ae037ca997 Return actual underlying symbol when mapping decomposing ICO ticker 2024-08-30 10:41:50 -04:00
Jhonathan Abreu 3e454cf927 Abstract symbols cache to BaseDataCollection 2024-08-29 13:12:27 -04:00
Jhonathan Abreu e5462a4af1 Use cached underlying SID when parsing from string 2024-08-29 12:10:53 -04:00
Jhonathan Abreu 0aef8e7327 Fix index option creation in OptionUniverse 2024-08-29 11:20:08 -04:00
Jhonathan Abreu 1442575ed9 Cleanup 2024-08-29 10:12:58 -04:00
Jhonathan Abreu 58803a1c95 Cache symbols in OptionUniverse 2024-08-29 09:59:41 -04:00
Jhonathan Abreu bc40751d25 Minor changes and test fixes 2024-08-28 12:18:52 -04:00
Jhonathan Abreu d5c4787ade Memory usage improvements
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
2024-08-28 10:28:21 -04:00
Jhonathan Abreu 1cb6dacb12 Fix for live trading options universe selection 2024-08-26 11:02:21 -04:00
Jhonathan Abreu 9f9c34d6f8 Minor change 2024-08-26 11:02:21 -04:00
Jhonathan Abreu 92ace199ab Minor change 2024-08-26 11:02:21 -04:00
Jhonathan Abreu d1d95396df Fix: set data time zone to same as exchange tz for options universes 2024-08-26 11:02:20 -04:00
Jhonathan Abreu 840010913c Self review and cleanup 2024-08-26 11:02:20 -04:00
Jhonathan Abreu 9a8d9fd1fb Some regression algorithms and unit tests cleanup 2024-08-26 11:02:20 -04:00
Jhonathan Abreu b3b4cc370c Use double in price option numerical models 2024-08-26 11:02:19 -04:00
Jhonathan Abreu 758db15bf4 Update default dividend yield provider depending on option type 2024-08-26 11:02:19 -04:00
Jhonathan Abreu fb37aa3eee Address peer review 2024-08-26 11:02:18 -04:00
Jhonathan Abreu 3bb3c15b7f Add regression algorithms for new options filter universe api methods 2024-08-26 11:02:17 -04:00
Jhonathan Abreu 532f7bf32a Option filter universe api updates 2024-08-26 11:02:17 -04:00
Jhonathan Abreu 69c5bd1d60 Update options filter universe API to use OptionUniverse data
Add new filter methods for greeks, IV and open interest
2024-08-26 11:02:17 -04:00
Jhonathan Abreu a0bbbdef61 Minor change 2024-08-26 11:02:17 -04:00
Jhonathan Abreu 51a55551ae Fix thread-safety violation in Slice class 2024-08-26 11:02:17 -04:00
Jhonathan Abreu 3c6101dcd5 Data fixes and regression algos stats update 2024-08-26 11:00:32 -04:00
Jhonathan Abreu 114c858c7e Added option universe csv header property 2024-08-26 11:00:31 -04:00
Jhonathan Abreu 3251da986e Peer recommended changes and fixes 2024-08-26 11:00:31 -04:00
Jhonathan Abreu 448e69e8a5 Fix symbols parsing in OptionUniverse 2024-08-26 11:00:30 -04:00
Jhonathan Abreu af6d45a5e0 Address peer review 2024-08-26 11:00:30 -04:00
Jhonathan Abreu ad0b85ab3f Address peer review 2024-08-26 11:00:30 -04:00
Jhonathan Abreu e56f1ea82d Updated options regression algorithms stats for new universe data 2024-08-26 11:00:29 -04:00
Jhonathan Abreu 12f16da756 File based options universe fixes and improvements.
- Adjust OptionUniverse start-end times and period.
- Adapt unit tests and some algorithms to pass with new options universe selection.
2024-08-26 11:00:29 -04:00
Jhonathan Abreu 3ab16e127e Address peer review 2024-08-26 11:00:29 -04:00
Jhonathan Abreu 33e6962073 Options universe improvements 2024-08-26 11:00:29 -04:00
Jhonathan Abreu 4144c09286 Initial options universe with greeks implementation 2024-08-26 11:00:29 -04:00
Martin-Molinero 363d469d6a Minor indicator history fix (#8270)
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
* Minor indicator history fix

- Take into account warmup period when used, the last bar of the warmup
  period is counted as a data point.
- Fix bug where in some cases the last data point could of been missed
  and the indicator not updated with it

* Minor tweak
2024-08-22 16:48:26 -03:00
Ricardo Andrés Marino Rojas 17049dcd56 Fix null exception thrown in SubscriptionManager.ScanPastConsolidators (#8267)
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
* Initial draft of the solution

* Improve implemetation

* Nit change

* Address requests

* Switch from LinkedList ot List

* Fix bug
2024-08-22 09:55:41 -03:00
Jhonathan Abreu d88387ac67 Extend Python wrappers error messages (#8257)
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
* Implement runtime checks for python wrappers

* Implement runtime checks for python wrappers

* Add more python wrappers runtime checks

* Add dictionary conversion unit tests

* Add python wrappers runtime checks for properties

* CLeanup base python wrapper messages
2024-08-19 14:27:32 -04:00
Ricardo Andrés Marino Rojas 74c3501ed3 Fix bug for history requests with custom symbols (#8262)
* Potential solution to the bug

* Add test file

* Fix bugs

* Address requested changes
2024-08-19 15:26:42 -03:00
Ricardo Andrés Marino Rojas a543af71dc Solve bug (#8256)
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
2024-08-19 11:57:21 -03:00
Jhonathan Abreu 9b332c2149 Dividend yield calculation fix (#8264)
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
* Fix dividend yield calculation

* Get security price as input for dividend yield provider

* Account for splits in dividend yield provider

* Fix split adjustment for dividend yield calculation

* Use right dividend yield in options indicators
2024-08-19 09:30:05 -04:00
Martin-Molinero 7879795207 Enable daily precise end time by default (#8254)
API Tests / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
* Default daily precise end times

- Enable by default daily precise end times. Updating stats
- Minor fix for algorithm manager consolidator updates, adding new regression test
  asserting behavior and updating others
- Minor fix for SubscriptionData creator avoid round down on warmup if
  not appropiate
- Adjust consolidators to emit on daily strict end times if requested
  daily resolution and setting enabled
- Updating regression algorithms

* Skip daily data on extended market hours

* Some cleanup and self review

* Revert unrequired change
2024-08-14 12:49:56 -03:00
Ricardo Andrés Marino Rojas 5226b7a468 Add more options to Field class (#8228)
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
* First draft of the solution

* Reduce duplication and add more properties

* Add regression tests

* Add xml docs

* Add unit tests

* Improve regression and unit tests

* Address requested changes

* Address request and improve unit tests

* Add unit test and fix bug

* Improve unit tests and implementation

* Nit change

* Address reviews

* Improve regression tests

* Address requests

* Fix bug

* Address requests
2024-08-07 19:08:34 -03:00
Roman Yavnikov 86fcc40c3e Feature: Generic brokerage downloader wrapper (#8235)
Python Virtual Environments / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
* feat: new constructor of AlgorithmNodePacket

* refactor: extract JobQueue configuration

* remove: not used `using` in IDataDownloader

* feat: create BrokerageDataDownloader

* Revert "refactor: extract JobQueue configuration"

This reverts commit 5778936b712befd6e367bee3decc4a3565ca69af.

* Revert "feat: new constructor of AlgorithmNodePacket"

This reverts commit d7a565ff761243ae1391bd45fd10c93221f0329e.

* feat: new config `data-download-brokerage` in DataDownloadProvider

* refactor: initialize in BrokerageDataDownloader

* remove: not used `using` in Program's DataDownloadProvider

* remove: not used ref on QuantConnect.Queue proj

* refactor: use default market based on SecurityType

* refactor: MarketName in DataDownloadConfig struct
test:feat: validate MarketName

* feat: support Canonical Symbols in BrokerageDataDownloader

* remove: not used command arguments

* feat: init CacheProvider of IOptionChainProvider in Downloader

* feat: add brokerage message event in BrokerageDataDownloader
2024-07-31 19:02:13 -03:00
Jhonathan Abreu 9eb484625d Default option pricing models for options indicators (#8229)
* Set best recommended model based on option style.

The best option model will be used in options indicators based on option style if not specified

* Reduced Greeks/IV numerical models steps to 100

* Minor fixes

* Minor changes and improvements

* Changed default pricing model for IV

* Minor performance improvements

* Minor performance improvements and fixes

* Minor change

* Minor regression algorithm fix

* Update greek indicators internal IV indicator only when not user provided

* Revert unnecessary changes

* Minor changes

* Cleanup
2024-07-30 10:15:21 -04:00
Martin-Molinero a46acef9f8 Minor improvements (#8223)
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
API Tests / build (push) Has been cancelled
- Liquidate takes into account invested flag
- Minor tweaks for symbol representation parsing
2024-07-23 12:18:26 -03:00
keshavdalmia10 69fa2fd689 Made changes in the ParseOptionTickerOSI function. Now it can handle … (#8219)
* Made changes in the ParseOptionTickerOSI function. Now it can handle both with and without space

* added new function GenerateOptionTickerOSICompact and added the test cases for it, expanded test cases for ParseOptionTickerOSI

* added assertions for strikePrice and date, corrected the indentation
2024-07-23 11:23:11 -03:00
Martin-Molinero 050030bca8 Minor improvement to Invested holdings flag (#8221) 2024-07-23 10:27:40 -03:00
Martin-Molinero 31b32442c8 Fix Alpaca option order types (#8220) 2024-07-22 14:24:47 -03:00
Ricardo Andrés Marino Rojas 97959d560a Add liquidate method overloads (#8210)
API Tests / build (push) Has been cancelled
Benchmarks / build (push) Has been cancelled
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
Report Generator Tests / build (push) Has been cancelled
Research Regression Tests / build (push) Has been cancelled
Python Virtual Environments / build (push) Has been cancelled
* First draft of the solution

* First draft of the tests

* Nit changes

* Nit change

* Add improvements

* Improve unit tests

* Regression algos

* Nit change

* Nit changes

* Improve unit tests

* Improve unit test

* Nit change

* Address reviews
2024-07-22 12:48:53 -03:00
Martin-Molinero 0352a0b07c Fix Alpaca Order Fees (#8217)
- Fix alpaca order fees. Expanding unit tests
- Improve base brokerage test framework
2024-07-22 12:48:34 -03:00