* add model file for Montreal Options Exchange
* mypy fixes
* define attributes under __init__
* type error fix
* another pylint fix
* adds tests for tmx_model
* black
* mypy
* adds expirations test and re-records
* black
* capture error message in test
* mypy
* add __docformat__ line
* improves get_all_ticker_symbols
* removes python magic command for new cell
* adds TMX as source for SDK chains
* starts on a new method for loading options data returning a standardized object
* add load_options as SDK endpoint
* intrinio response - not complete
* adds tradier to load_options
* add source attribute to options object
* restore legacy nasdaq last price function
* yFinance underlying_price fixes
* yFinance model fix
* adds cboe to sdk options load
* table fix
* creates options_chains_model.py and updates SDK map
* docstrings added for the class.
* updates tmx_model tests
* fix options_controller test
* adds cboe_model tests
* spelling in docstring
* ruff - unused import
* mypy fixes
* more mypy fixes
* pylint
* attempt to manually resolve merge conflict.
* nasdaq_model fix
* adds test coverage for options/nasdaq_model
* docstrings update for nasdaq_model
* mypy fix
* adds unit testing for options_chains_model
* adds additional tests for intrinio_model
* unused import fix
* fix for .TO symbol and TMX EOD chains
* make CBOE Pydantic
* cboe update
* adds switch for pydantic output from all sources
* black
* index options error handling for Intrinio
* add warning message for index options from Intrinio
* tmx_model enhancements
* cleans up get_ticker_iv() in cboe_model
* fix ticker info for index symbols from cboe
* typo in comments
* adds test for tradier_model.load_options
* cboe optionType as lower case
* add function for calculating chains stats
* black
* trailmap for calculate_chains_stats
* adds test for calculate_stats()
* more details to nasdaq.underlying_price
* typo in docstrings
* mypy - options_chains_model.py
* black - options_chains_model.py
* pylint options_chains_model.py
* standardize response from intrinio underlying price
* add function to validate input of function
* missed type hint
* additional error handling for stats
* adds DTE as column for all sources
* adds strategies function and input validation
* add yFinance test for load_options()
* add Nasdaq test for load_options()
* tests for new functions in options_chains_model
* update sdk trailmap
* rewrite tests
* fixes for tests
* fix tmx_model test
* more pytest
* pytest..
* add vertical call spread function
* some cleanup
* update nasdaq tests
* more cleanup
* black
* pylint
* black
* ruff
* black
* pylint
* black
* pylint..
* tests rewrite
* more pytest
* recapture tests
* Different tests were collected between gw1 and gw0
* adds vertical spreads
* vertical_put_spread
* improve calculate_stats
* mypy
* edge cases
* black
* update tmx,yfinance tests
* new cboe tests
* new tmx_model tests
* fix nasdaq test
* test updates
* fix nasdaq tests
* add test_options_chains_model
* refactor data sources
* black
* pylint
* fixing stuff
* forgot a file..
* codespell
* linting
* mypy...
* refactor OptionsChains class
* pylint
* reconfigure SDK entry point
* fix error handling when data request fails
* ruff
* pylint
* pylint
* Add inheritance and a repr string
* add method for skew
* add method for skew
* fix nasdaq test
* add skew to tests
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* platform to logs
* dte not /365 and delete code i never got to
* 4 decimals on chains
* Change options default load to the defaut source
* mypy
* Less polluting of logs
* #4420
* #4811
* Fix test
* Remove unnecessary log decs
* Save us money
* whoops
* Add intrinio load functions into stocks and options. First try at options sdk with intrinio
* Add a new eodchain function + add intrinio model test
* Unit tests for intrinio options
* dont add eodchain yet -- wait for other PR
* Make null handling better + add intrinio sdk to reqs
* mock dates
* update test
* fix ruff
* black and gitignore
* Clean up and make options load class
* Clean up clean up
* Fix intrinio stock load
* Get requirements even
* sort intrinio chain and fix
* Dont rename the candle input argument
* Fix bug #4060
* Historical option prices
* Add grhist from intrinio and isort
* Fix things for presentation
* Fix tradier chain printing
* YahooFInance chain cleanup
* standardize nasdaq
* Format intrinio
* Cleanup SDK
* Fix tests
* mypy
* Clean up trail map and edit docs
* Fix mapping of info on sdk
* Add intrinio to deps
* Add a rich progress bar to expirations :)
* controller test
* Silly error + tests
* Required arg
* bad assert statememts
* Mutable default
* Keys and switch another tqdm
* BizIns Tests
* tests
* Last Test
* Fix plot look when using eval and add query to choices (#3881)
* convert index to datetime and update choices
* uncomment economy integration test
* fix treasury concat bug
* fix datasets concat on duplciates
* Lock ruff version so that new lints dont break our CI (#3905)
* Lock ruff version so that new lints dont break our CI
* Bumped pre-commit ruff version
* returning always a dataframe
* Revert "returning always a dataframe"
This reverts commit d5dbf3132f.
* black everything
---------
* bump
* Initial function write
* Delete this line from yaml
* Changed all the main things - Need help on tests
* pylint errors
* Tests v0
* Tests v1
* Tests v2
---------
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
* Refactor option chain for sdk
* Lint
* Executive decision about chains function
* Allow chains to specify an expiry
* Fix docstring +fix test + isort
* trail map merge
* Remove some unnecessary trails
* Fixes#3325
* Faster expirations
* This is why we dont skip pre commit
* fix conversion error str to float by replacing commas in numeric columns
* fix conversion error str to float by replacing commas in numeric columns
* adds -d as default arg if a date is provided
* fixe order of parameters
* fixed the check on the emptiness of the trading view recommendation
* added more screeners
* changed if in order to avoid result used before assignment exception
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Started auto doc generation
* Created a markdown document
* Added test changed to md
* Created working version of new documentation
* Made requested changes
* Generate docs for all
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com>
* Get all nasdaq chains
* Get all expirations
* Add chain by expiry and clean up columns
* add nasdaq to load and exp
* Add OI plot for nasdaq
* add volume plot
* Update vol + oi to have nasdaq + raw flag
* Add VOI functionality with nasdaq
* Add nasdaq chains function
* Run isort
* doesnt
* Change menu for sources and edit yfinance to expiration instead of expiry
* lint
* oops
* unused imports
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>