Danglewood
e4ef9c8a7d
Merge branch 'develop' into feature/websockets
2025-01-27 09:18:14 -08:00
Danglewood
d75b22f819
[Feature] Add SSL Certificate Context And Setting For Async/Sync HTTP Requests ( #6976 )
...
* add SSL certificate context and setting
* codespell
* linting
* cleanup section
* allow defining uvicorn.run kwargs in system_settings
* refactor to return session objects
* hub service rename it as _request_session
* typing
* more linting
* pylint
* missing __init__ files
* fix test_hub_service
* missing init files..?
* shouldn't need an init file there..
* now for some random linting
* maybe need that __init__ after all...?
* fix test_make_request
* relative import in conftest..?
* issue can't be from missing init files..
* revert the inits
* small cleanup
* pass the kwargs to the async session object on init for use outside of amake_request
* try something...
* try something else..
* turn on verbosity for errors..
* try something else...
* undo test change
* Update lock files
* undo another test check thing
* Revert "Update lock files"
This reverts commit 714df64416 .
* try with just the platform lock
* unexpected argument
* do a dummy check to return the session object if it is passed in the kwargs
* also dummy check for TCPConnector instance
* bit more cleanup
* no implementation of server_hostname
* Move setting session to PosthogHandler init
* add comments
* review items
* update PythonSettings model definitions and annotations
* fix latest yfinance breaking changes
* unused import
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2025-01-21 01:39:32 +00:00
Danglewood
516a68cf7f
playing with some settings and update database test
2025-01-01 23:47:17 -08:00
Danglewood
696b1da8c2
add some micro scaling to the queue when it is growing
2024-12-21 13:33:42 -08:00
Danglewood
cf934d96fa
adjust process_queue test
2024-12-18 00:11:22 -08:00
Danglewood
ba8c83963e
create Database class for handling SQL
2024-12-17 11:57:15 -08:00
Danglewood
dcfa890608
move some files around and create unit tests for MessageQueue
2024-12-16 13:57:57 -08:00
montezdesousa
01a71a8995
[Feature] Set provider fallback based on credentials ( #6446 )
...
* feat: allow provider fallback based on credentials
* fix: rename prop and raise error
* fix: raise if all providers fail
* fix: remove dead line
* fix: rename defaults field to commands
* rename key and update docs
* fix: rename some stuff
* fix bug
* fix: mypy
* fix: unittests
* docstring
* fix: provider field description
* fix: error messages
* fix: msg
* feat: update defaults class
* feat: update defaults class
* unit tests
* fix test
* msg
* fix: add website documentation
* fix: detailed error message
* update core ruff version
* fix test
* rebuild
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com >
2024-05-29 14:22:14 +00:00
montezdesousa
b8d1846d46
[BugFix] - Provider is added to every response item ( #6305 )
...
* Exclude provider and don't model_dump
* still missing docstrings
* undo package changes
* minor fix
* mypy
* minor fix
* cleaner
* private var
* docstring
* docstrings
* add package builder tests
* ruff
* rename
* rename
* update tests
* minor fix
* fix test
* handle docstring edge cases
* test
2024-04-12 12:08:55 +00:00
Igor Radovanovic
a255fa52a0
[Enhancement] - PyDocstyle Compliant ( #6284 )
...
* PyDocstyle Compliant batch 1
* Batch 2
* Batch 3
* Batch 4
* Batch 5
* Batch 6
* Batch 7
* Linting
* MyPy
* mypy things
* black
* more mypy
* black
* fix that
* black again
* undo that
* Fix error message
* pylint
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com >
2024-04-09 13:30:29 +00:00
montezdesousa
23135abf1b
[BugFix] - Bring back mypy ( #6242 )
...
* first batch
* another
* another
* another batch unyped defs
* final untyped defs
* update yml
* pylint
* remove unecessary __init__.py files
* Revert "remove unecessary __init__.py files"
This reverts commit 5977eccfee .
* fix company_news typing
* rename func
* fix tests
* tests
2024-03-22 17:53:40 +00:00
Pratyush Shukla
13283fbfce
CI listing quick fix ( #6002 )
...
* BIGGGG LINTING
* fixing lints
* fixing lints
* black
* very ruff
* no export
* fix hedge_view again
* lints
* platform lints
* lints
* black
* black it @hjoaquim
* fix some more linting
---------
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
2024-01-26 17:08:42 +00:00
teh_coderer
da7886d0a7
Make Pro Fetchers async by replacing ThreadPoolExecutor with asyncio.gather ( #5822 )
...
* init
* Update helpers.py
* filter URL on raise
* polygon, fmp done, update cassettes
* updates
* cleanup
* revert tests for now
* Update discovery_filings.py
* Update helpers.py
* add `async` overload to `Fetcher.extract_data`
* update merged fred models
* tests, improve fred series
* Update insider_trading.py
* insider
* tests
* intrinio
* Update equity_historical.py
* implement abstract async extract on Fetcher, with simple switch
* cleanup
* Update helpers.py
* Update helpers.py
* fix fmp historical deprecated urls
* Revert "fix fmp historical deprecated urls"
This reverts commit 1a760a2473 .
* fix fmp `index.market` 1day url missing query params
* Update test_fmp_market_indices_fetcher.yaml
* field fixes
* `extract_data_async` -> `aextract_data`, `async_request` -> `amake_request`
* `async_requests` -> `amake_requests`
* Update company_news.py
* add sort to index `integration` params
* add `client.py` tests
* Update equity_search.py
* Add lost v in platform api version string
* Resolve linter errors here and there
---------
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2023-12-08 14:41:37 +00:00
Henrique Joaquim
ff00312ec4
Hotfix/unskip tests ( #5851 )
...
* support for nested structures
* unskip extension map test
* unskip fred tests
* stockgrid tests
* adding pytest-assyncio
* fix query executor test
* package builder tests
* test query test with the asyncio marker
* asyncio marker
* fix extension map test: tests run with all extensions installed
* adding missing tests on user service
* fix update default test
* skipping allows version for non required extensions
2023-12-04 15:45:46 +00:00
Pratyush Shukla
ce14ee612f
Fix nasdaq top retail working without a key resulting in an error ( #5811 )
...
* raise error if no api key found
* check for empty strings
* black
* fix test
* less verbose
---------
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
2023-11-29 14:16:31 +00:00
montezdesousa
ed2fc04814
replace provider error by openbb ( #5812 )
2023-11-28 19:19:21 +00:00
montezdesousa
bb5e76ce5c
Feature/general fixes ( #5786 )
...
* fix mypy
* import helper from source
* improve missing api key msg
* fix
* remove dynamic default
* rename rest_api_settings file
* add comment async/sync
* fix bug
* Revert "fix bug"
This reverts commit 7d9a0d2749 .
* fix bug
2023-11-23 16:16:56 +00:00
teh_coderer
bc2fa9b3e1
Feature/platform async ( #5763 )
...
* init
* updates
* Update helpers.py
* tests
* Update helpers.py
* Update command_runner.py
* Update helpers.py
* deps
* Update helpers.py
* only check `async` if model is specified, revert `qa`, `ta`, and `econometrics`
* merge issues
* Update command_runner.py
* remove typing and type: ignore
* fix helpers typing
* add aiohttp to core deps, remove from charting
* remove @overload
* ruff
* import helper from source
* helpers typing+pylint
* black
---------
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com >
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu >
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
2023-11-23 13:01:56 +00:00
Henrique Joaquim
4400cd9a8f
Merge provider and core into core ( #5774 )
...
* small changes - moving provider inside the core
* uptade readme
* lint
* remove old provider readme
* leftovers
* refactor website examples
* ruff
* fix nox
* relock
* fix fails_to_deliver headers
* fix for tests that have renamed endpoints
* fix discovery
* removed test for renamed endpoint
* fix broken syntax - test_search_financial_attributes
* fix cash/income/balance
* fix derivatives tests
* fix etf tests
* fix news tests
* fix regulators
* black
* wrong test param
* sort equity gainers/losers by percent
* platform markdown generation import
* Hotfix/fix int tests core merge (#5779 )
* removing tests on old endpoint
* removing visualization on old endpoint
* fixing equity tests
* fixing examples
* fix news tests
* fix index test
* example
* add comments
* example
---------
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com >
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com >
Co-authored-by: Pratyush Shukla <ps4534@nyu.edu >
2023-11-22 13:48:01 +00:00