Commit Graph

1696 Commits

Author SHA1 Message Date
montezdesousa
d62153ee25 update default routines url (#4878) 2023-04-24 16:38:31 +00:00
montezdesousa
dd2e4822a4 timeout + spacing (#4877) 2023-04-24 14:51:41 +00:00
clairericks
fc66bd7ff8 Fix stocks/ta/fib datetime plotting (#4875) 2023-04-24 12:44:36 +00:00
clairericks
d5917587bc Anonymize logged in users flair in logs (#4861)
* Anonymize logged in users flair in logs #4838

* small improvement to regular expression

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-04-24 10:53:38 +00:00
Sameer Khan
c0bf77bd8c fixes dupe header numbering and slightly improved sentence grammer in openbb scripts section (#4870) 2023-04-23 00:26:24 +00:00
James Maslek
cc876cd256 openbb.dev -> openbb.co (#4854)
* openbb.dev -> openbb.co

* Get rid of warning on login
2023-04-21 20:42:16 +00:00
James Maslek
57e5329455 Merge pull request #4827 from OpenBB-finance/hotfix/pt-split-bug
Fix pt command when no splits are found
2023-04-21 14:45:22 -04:00
teh_coderer
98ec2959f0 Hotfix/ table fixes (#4848)
* Update helper_funcs.py

* init

* Update test_display_cashflow_comparison.txt

* Update test_display_cashflow_comparison.txt

* fix copy paste fail

* Update helper_funcs.py

* Update backend.py
2023-04-21 18:10:53 +00:00
montezdesousa
3d243b361a Sync with hub on reset + routines fixes (#4842)
* 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
2023-04-21 16:12:09 +00:00
teh_coderer
7b7789149d hotfix / Plots Performance (#4829)
* init

* adjustments
2023-04-20 19:44:35 +00:00
James Maslek
a1aff50b7f Merge branch 'develop' into hotfix/pt-split-bug 2023-04-19 16:15:33 -04:00
Pratyush Shukla
df5d5a0047 Added exchange filter in stocks\search (#4801)
* Added `exchange` filter in `stocks\search`

* Fixed arguments

* test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-19 15:02:04 +00:00
montezdesousa
e27a40ab09 Update fundamental analysis sdk endpoints (#4727)
* update overview

* update overview

* fix docstrings

* update docstrings andremove fillings chart

* Update sdk_helpers.py

* run generate_sdk.py

* replace marketwatch by nasdaq

* generate sdk

* leftover pandas globals

* lint

* fix unittests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-19 13:35:39 +00:00
James Maslek
8e034a490f Fix pt command when no splits are found 2023-04-19 08:31:38 -04:00
jose-donato
93f9c72a4f About cmd + table fixes (#4825)
* fix: about cmd

* fix: colors, dragging, some more
2023-04-19 11:54:55 +00:00
Pratyush Shukla
4c1d23b431 Fixed default routines message and evident display (#4798)
* Fixed default routines message and evident display

* Added message for personal routines

* Fixed linting

* Added `--type` argument

* Fixed linting

* Removed `console.print`

* rewrite test output

* reorder ifs and check if no defaults just for safety

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2023-04-19 10:16:54 +00:00
James Maslek
07d9ed2c9e Feature/featflags destroy (#4822)
* Remove ION from prefs

* Remove featflag rich

* remove cmdloc and watermark

* remove color featflag
2023-04-18 20:20:58 +00:00
James Maslek
dceaabcf53 Get rid of twitter news bar (#4820) 2023-04-18 15:47:22 +00:00
jose-donato
1ed5a30fb5 Chart/Table fixes (#4765)
* fix: attempting dark mode toggle

* fix: added dark mode toggle to chart and source to table

* fix: reorganizing content

* fix: dark mode and locking first column

* was this so hard jose smh

* Wrong name

---------

Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-18 13:36:35 +00:00
andrewkenreich
e2a89ecc61 reports fixing - equity / etf (#4814)
* fixing some equity edge cases on reports

* back to msft

* adding a etf tab
2023-04-18 13:30:53 +00:00
James Maslek
da7fb3a831 Improve options menu slightly + close some bugs (#4793)
* 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
2023-04-18 12:54:44 +00:00
montezdesousa
229f732b74 Keep session on reset (#4813)
* 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>
2023-04-17 19:47:24 +00:00
Pratyush Shukla
d3b88e4296 Fixed /fixedincome/ecb --export functionality (#4792)
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-04-17 18:41:59 +00:00
Danglewood
dd50b41234 removes a hidden global pandas setting (#4795) 2023-04-17 18:41:45 +00:00
montezdesousa
889ff94f12 Extend "Remember me?" login prompt option (#4802)
* 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>
2023-04-17 17:53:09 +00:00
teh_coderer
70f74854d9 hotfix / no window if raw/export (#4809)
* no window if raw/export

* Update databento_view.py

* tests
2023-04-17 16:50:35 +00:00
jose-donato
e1e90dc5a0 fix: updated url (#4739) 2023-04-14 22:15:28 +00:00
Colin Delahunty
41f591d1da Improve DCF error handling (#4751)
* Added error handling

* Close red, log exception

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-14 21:24:49 +00:00
James Maslek
a1d49e7845 Revert deleted files (#4775)
* Revert deleted files

* move docuemnatation folder

* lint

* mypy lint

* Added manual trigger for GH pages

* Dont divide data by 100 in fred because it can't be overlayed on charts smh

* Switch Price -> Option Premium

* Switch Price -> Option Premium missed commit

* Undo workflow dispatch

---------

Co-authored-by: Luqman <luqazino@gmail.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
2023-04-14 21:13:35 +00:00
teh_coderer
4970fc9abe Update options_sdk_helper.py (#4788) 2023-04-14 20:55:56 +00:00
teh_coderer
fea595c8a0 Hotfix/ Economy oecd_view docstrings Remove finviz image cmds (#4783)
* idk

* g

* Update oecd_view.py

* Update oecd_view.py

* Update oecd_view.py

* Update oecd_view.py

* remove spectrum,view finviz functions

* Update plotly.html

* Update plotly.html

* adjustments
2023-04-14 18:06:41 +00:00
montezdesousa
8113c66ddc Speed up integration tests workflow (#4784)
* Update macos-build.yml

* Update macos-build.yml

* Update macos-build.yml

* Update macos-build.yml

* Update macos-build.yml

* Update macos-build.yml

* Update macos-build.yml

* Update test_stocks_disc.openbb

* comment heatmap

* reduce workflow to test

* revert, doesnt run without this

* run tests sequentially

* Update macos-build.yml

* Update test_stocks_disc.openbb

* Update integration_controller.py

* Update integration_controller.py

* Update test_stocks_disc.openbb

* juan magic

* Update test_account.openbb

* pass user and system to test with multiprocessing

* ruff

* Update macos-build.yml

* comment

* update readme

* pipe tee instead of > cat

* mypy

* import from models

* update account script for guest user
2023-04-14 16:52:14 +00:00
montezdesousa
4cd5a8d5bb Split table and chart theme (#4767)
* split table and chart theme

* add comment

* add comment

* josé does not like white

* rename chart, style vars

* change settings controller help

* Update settings_controller.py
2023-04-14 13:23:31 +00:00
teh_coderer
ebbc7ccc01 Feature/ Interactive Chart Save As (#4771)
* init

* Update plotly.html

* save as

* move savefilepicker to before csv overlay

* adds watermarks to svg saves
2023-04-13 18:37:09 +00:00
James Maslek
c517a9630a SDK Issue 2023-04-13 11:28:38 -04:00
James Maslek
8dfc83659b Make Release 2023-04-13 11:09:42 -04:00
James Maslek
196242d774 delete some more stuff 2023-04-13 10:46:27 -04:00
James Maslek
94cb39a7e1 Merge dev 2023-04-13 10:37:20 -04:00
James Maslek
47500fa97a help me mamma 2023-04-13 10:34:15 -04:00
montezdesousa
7d3172a5f5 Make default routines available & download personal routines on login (#4737)
* make default routines available

* remove unecessary change

* user to personal

* rename some funcs

* add last update to tables

* add routines download on login

* move some routines funcs to controller

* fix tests

* add space

* wrap some funcs inside try, except

* fix account test

* suppress outputs

* rewrite docstring

* remove circular import

* reverse order

* update docstring

* allow exe with spaces in file name

* fix exe with input

* Update terminal_controller.py

* fix regex for file extensions

* pylint

* put default routines url inside constants

---------

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-13 12:44:31 +00:00
montezdesousa
f0b5cc0aaa Hub | Fallback to .env + don't upload keys + update support link (#4756)
* fallback to .env

* dont send keys to hub

* remove keys from upload_config

* display keys hierarchy

* pylint

* fix unittest

* Update session_model.py

* point terminal support to .dev

* rewrite tests
2023-04-13 12:40:02 +00:00
teh_coderer
0e9abc3a84 Feature/ Voila to Streamlit Dashboards (#4755)
* idk

* g

* idk

* init

* revert old push

* pylint

* ruff

* update

* mypy

* tests

* LF

* tests

* Update Futures.py

* tests?

* fix intraday candle breaks

* tests????

* remove matplotlib from settings controller, autocomplete for flair cmd

* Update test_settings_controller.py

* remove streamlit activate warnings as it's not needed anymore

* bump pywry

* fix daily date gaps

* Update pytrends

* Update terminal.spec

* Update terminal.spec

* Update terminal.spec

* Update macos-build.yml

* Update macos-build.yml

* Update windows10_build.yml

* Update terminal.spec

* streamlit

* streamlit configs

* test

* lint

* cmd source in charts

* Update dashboards_controller.py

* Update dashboards_controller.py

* Update backend.py

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-12 20:38:56 +00:00
James Maslek
5258a3d613 Feature/help didier (#4758)
* ensure consistency across terminal and improve intro

* Rewrite tests

* Adding a gitignore for .sh files in root

* Fix tests

---------

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2023-04-12 20:06:54 +00:00
Henrique Joaquim
b03ac8b5f7 add bootup when login prompt (#4743)
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-04-12 19:58:39 +00:00
Igor Radovanovic
ed584cfa20 stocks/fa unit tests (#4754)
* Unit tests batch 1

* Unit tests batch 2

* Unit tests batch

* Unit tests batch

* Unit tests batch

* Unit tests batch

* Unit tests batch

* Unit tests batch

* Unit tests batch

* Unit tests batch

* Debloat

* Debloat

* Fix linting
2023-04-12 19:42:09 +00:00
Pratyush Shukla
804f5bc78d Added a workaround for the pytrends API limited requests (#4750)
* Added a fix for the pytrends limited requests

* Fixed strings by using "" instead of ''

* Fixed formatting via black
2023-04-12 19:33:19 +00:00
Henrique Joaquim
495beee887 Feature/contributing guidelines (#4726)
* updating readme

* updating unit tests readme

* integration tests readme

* minor to ref it on the comment

* chaging the example and removing unused files

* updating path

* changing the controller example to follow view and model

* obeying conventions

* mathcing the right controller

* matching examples

* include details on creating a new branch

* removing old references to stocks/dd

* adding sheet name to the export_data example

* circle back autocompletion to queue-and-pipeline

* fixing the list numeration

* Doc

* fixing the tests (were failing bc of changed function name)

* Remove tests/FIXTURES.md

* reverting

* small edit

* lint

* mardown linting

* fixing forecast dashboard

* fixing forecast dashboard

---------

Co-authored-by: Chavithra PARANA <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-12 15:11:32 +00:00
Colin Delahunty
080d37e405 Removed source from exp (#4749)
* Removed source from exp

* Removed source from other commands not using it

* Added error handling
2023-04-12 15:01:15 +00:00
montezdesousa
d35432b6db escape dot (#4753) 2023-04-12 14:57:36 +00:00
Henrique Joaquim
aa08956489 changing default data source for crypto.load (#4744) 2023-04-12 14:40:43 +00:00