* 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>
* integrate time gpt from Nixtla
* add to reqs
* add residuals to timegpt
* fix some bugs
* remove twitter functions
* remove twitter functions and all references to it
* start work to integrate date features
* add date_features to timegpt
* remove twitter functions
* remove twitter functions and all references to it
* Update deps for timegpt + askobb
* Update forecast load to set an index to date
* lint
* spell
* mypy
* mypy2
* blac k
* pylint
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* Began the fax
* Bumped ruff
* Fixed a BUNCH of ruff errors
* Fixed a lot of ruff errors
* Simplify if statements
* Fixed black
* Updated some stuff
* Updated some stuff
* A lot more ruff fixes
* Added a fix
* Added a fix
* Fixed mypy
* Fixed some stuff
* Reverted one thing
* Small fix
* Small fix
* Small fix
* Added fix
* Added fix
* Update requirements
* check that routine title is valid
* more updates
* small fixes
* override local routine
* more improvements to routine logic
* --debug runs .dev
* few more updates
* small fix
* rename BASE_URL from ultima to ULTIMA_BASE_URL
* use debug from dataclasses instead of env since env doesn't get updated
* create --dev flag that can point to .dev backend
* merge conflits
* few changes, made it actually work 🤣
* fix regex
---------
Co-authored-by: tehcoderer <me@tehcoderer.com>
* check that routine title is valid
* more updates
* small fixes
* override local routine
* more improvements to routine logic
* --debug runs .dev
* few more updates
* small fix
* rename BASE_URL from ultima to ULTIMA_BASE_URL
* use debug from dataclasses instead of env since env doesn't get updated
* create --dev flag that can point to .dev backend
* merge conflits
* few changes, made it actually work 🤣
---------
Co-authored-by: tehcoderer <me@tehcoderer.com>
* check that routine title is valid
* more updates
* small fixes
* override local routine
* more improvements to routine logic
* --debug runs .dev
* few more updates
* add `--india` flag to `stocks/load`
Add ticker, set `india` and voila!
* updated "help"
* added check for `.ns`, `.NS` in ticker
* consolidated conditions into 1 line
* turn hold off when run even if no figure
* Add warning text to PlotlyTA
* better wording
* fixes#5232
* Fix askobb + updaate reqs
* bump requests
* Couple other bumps
* Here we go with the mac builds
* That wasn't right
* Not gonna have a good time today
* Previous miniconda
* did that wrong
* Wrong version
* ?
* installer-url instead
* 3.1 not 5.1
* CONDA UPDATE
* Revert the mac builds
* Run poetry lock and update some packages
* bump poetry on unit test
* Fix one test
* Add vanilla 3.11
* Fix issue on runner
* One last try
* Remove windows conda :D
* definitely not juan walking me through everything
* trying to pretty it
* start doing same axis with hold
* actually do the sameaxis correctly
* Better docstring
* Fix mypy
* mypy3
* pylint fixes
* Add message about candle
* might work, might now
* Update stocks_controller.py
* Update plotly_helper.py
* Update plotly_helper.py
* Make fmp view legends nice
* Update helper_funcs.py
* Add custom legends for when hold on
* bigger font
* add colors to new axes
* add custom title, remove location
* Start guide.
* Update plot-holds.md
Add figures
* More words
* Update plot-holds.md
* Finish guide
* tests
* Sneak in test updates for release
* guess not sneak test
---------
Co-authored-by: teh_coderer <me@tehcoderer.com>
* no guest if installer
* prevent guest if logout from account
* this not true
* rename reloop var
* ask for email again if no email
* add tags to routines upload
* Update constants.py
* Update terminal_controller.py
* Update terminal_controller.py
* black
* ruff
* black
* Update constants.py
* point at .co
* mypy
* sneak in askobb timeout
* fix test
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* temperature
* remove home
* preface home
* Add askobb to all menus
* 0.3
* index
* temp +
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* no guest if installer
* prevent guest if logout from account
* this not true
* rename reloop var
* ask for email again if no email
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* upload routine to hub on stop
* write cassette
* write cassette
* remove .openb from name
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* keep session alive on reset
* remove print
* silence routines
* ruff
* skip login if is papermill
* ruff
* move is_papermill to avoid prompt_toolkit warning fd is not a terminal
* move is_papermill back and check for atty instead
* only download routines and update sources if terminal
* only starts prompt toolkit if isatty
* black
* avoid duplicate files after reset/login
* remove hub routines on reset
* comment
* fix unittest
* forgot this debugging prints
* 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 remember attribute to user
* don't save hist if not remember
* remove routines on exit if not remember
* fix unittests
* remove hub routines on exit
* check if user is local first
* remove hist file on exit if not remember
* comma
* Fix `exe --file` choices on login (#4799)
* download and save routines in sync, to have choices immediatly available
* fix: docs min
---------
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* don't delete session on reset
* Update terminal_helper.py
* Update terminal_helper.py
* less prints
---------
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* add remember attribute to user
* don't save hist if not remember
* remove routines on exit if not remember
* fix unittests
* remove hub routines on exit
* check if user is local first
* remove hist file on exit if not remember
* comma
* Fix `exe --file` choices on login (#4799)
* download and save routines in sync, to have choices immediatly available
* fix: docs min
---------
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
---------
Co-authored-by: jose-donato <zmcdonato@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* remove sync and pull
* ruff
* remove runtime fetch configs
* add comment
* reset when logged
* update translation yml file
* sdk regen
* print bold red messages if logout process fails
* fix sources not being applied
* handle bad json
* update hub links
* save terminal crash when sources file is broken
* add user defaults to gitignore
* actually no needed, will just be more specific about richstyle coming from hub
* black
* rewrite stdout
* fix session_model tests
* fix sdk session tests
* move paths
* remove duplicate line
* fix user being reset in test_logout_user test
* remove unecessary recording
* change colors msg
* remove repeated code
* fix: new table design
* fix: added trillions
* fixing some raw data
* fix: trying to fix global+resize
* feat: improving design
* fix: new styling and lot of reorganizing
* title fix
* feat: new html
* fix: bottom bar
* fix: table dates
* fix: table html
* fix: new filtering
* fix: new filtering
* fix: long
* Lint
* Lint again
* fix: beautiful james suggestions
* fix: some more fixes
* fix: typo
* fix economy bug
* feat: added toast to notify user and some more cleanup
* fix: more issues
* tests
* fix: james updates
* fix: added banner to charts as well
* fixing title
* better fix
* feat: added column resizing and any number of columns
* auto column width - poc
* feat: added colors toggle, support to display source, fixed some more issues
* fix: table deploy
* fix: table issue
* fix header
* fix: some fixes
* fix: remember pagination and default pagination to 30
* mypy
* Colins tests
* Fix economy test
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
* fix show version
* update login prompt and account
* update set preference
* fix account controller
* block login/logout if not called from account
* change conditions to start terminal
* fix required args account model
* add not to login command
* pylint
* accounte controller messages
* set default user when logout
* logout then show menu
* remove unused functions
* fix logging bug
* ruff
* fix account unittests
* fix session unittests
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* remove theme refs
* will come for dtabento later
* remove theme refs except databento
* ruff
* remove mpl variables
* mpl still used in po
* move databento to plotly
* pylint
* ruff
* theme ref to openbb_terminal
* juans sugg
* fix: removed raw arg in `display_candle` which could return the dataframe and error, added figure to `export_data`
---------
Co-authored-by: teh_coderer <me@tehcoderer.com>
* Added flake8-simplify
* Update linting.yml
* update. left 1 for you colin
* Fix that one
* Missed
* Fix
* mypy
---------
Co-authored-by: james <jmaslek11@gmail.com>
* small bug
* small bug on routines list
* guest as default
* limit logout to users2
* simpler this way
* add logout
* move logout to account & add env var
* put authentication under env var
* fix tests
* remove login
* remove openbb vars on login
* ruff
* revert .toml
* Delete Icon
* Update .env
* fix sdk guest not loading keys
* ruff
* remove press enter & --login
* ruff
* move env load
* load env
* move dot env loading to terminal.py
* fix user sdk login mixing .env with user
* now it works
* fix reset
* fix tests
* ruff
* Login on the SDK using the OpenBB Personal Access Token (#4206)
* openbb key on keys menu
* adding sdk endpoints
* adding login via token to the sdk
* base url
* rename to personal access token
* added docstrings and examples
* openbb is special
* removing extra break line
* making keys working with the personal access token
* resolve conflicting tests
* Revert "resolve conflicting tests"
This reverts commit 2fca2c0ec3.
* using custom requests
* tests
* tests
* tests
* using process_session_response instead
* rewriting some tests
* Fix sdk guest not loading keys (#4207)
* fix sdk guest not loading keys
* ruff
* remove comment
* tests
---------
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
* test record mode vcr none
* remove yes from tests yml
* specify modules to reload
* try disable check api
* UPdate spec file
* Small stocks bug
* avoid reloading in test mode
* will this work?
* skip session tests
* try with env var as well
* mock sdk reload
* pylint
* bump poetry on python 3.8
* adapt to python 3.8
* adapt to python 3.8 remaining tests
* Tests : update cassettes
* Fix linting
* Makes login conditions simpler
* Tests : txt
---------
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
* 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