Commit Graph

1729 Commits

Author SHA1 Message Date
Igor Radovanovic
fd9d6fd030 Remove commas from i18n (#4952)
* Remove commas

* Update unit tests
2023-05-02 19:25:14 +00:00
Igor Radovanovic
d78a3648ce Fix Index not showing for FMP (#4948)
* Fix index

* Update unit tests

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-05-02 16:35:38 +00:00
Danglewood
3c41eb6830 Enhances stocks/quote to allow for multiple tickers (#4928)
* enhances stocks/quote to allow for multiple tickers

* fix for MyPy type error

* fix pylint

* formats index string as title

* adds test for multi-ticker quote and for bad tickers

* adds integration test for multi-ticker quote

* updates docstrings and adds 'openbb.stocks.quote_chart' to SDK

* updates syntax in equity report for quote_data

* ruff

* gets rid of empty lines that got created.

* adds logic to handle input as string when not a list

* re-records tests

* decorators
2023-05-02 15:28:21 +00:00
northern-64bit
7a194249cf Fix --std argument in bbands command (#4866)
* Fix type check of std argument in bbands

* Fix std input handling

* Fix chart legend

* Fix linting

* Fix int display in legend

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-05-02 01:29:25 +00:00
Danglewood
845564c559 Adds options helper function for DTE, updates SDK trail map to not use yFinance. (#4937)
* adds options helper function for DTE

* removes logging decorator

* More decorators

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-01 20:33:54 +00:00
Henrique Joaquim
25b8bd92c1 adds type to the version on the SystemModel (#4944) 2023-05-01 20:29:30 +00:00
Pratyush Shukla
3d7b934d16 Fixed incorrect data display using stocks/fa/est command (#4940)
* Removed empty row in OpenBB SDK table under Installation

* Revamped `get_estimates` function

* Linting

* Fixed bugs, tests and modified args

* Fixed test
2023-05-01 20:23:59 +00:00
jose-donato
c603a360ec Adds shroom command and removes old ones (#4246)
* fix: remove old commands

* fix: ruff

* fix: ruff

* fix: james suggestions

* fix: added to csv

* fix: generate sdk cmds

* bump pywry

* fix rm command (#4890)

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>

* Fix `crypto/defi/anchor` (#4892)

* handle defi anchor exceptions

* reason

* mypy

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>

* fix windows pyinstaller subprocess fail if space in path

* remove API_IEX_TOKEN

* remove API_SENTIMENTINVESTOR_TOKEN

* make -h actually work

* black ./

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-28 12:44:59 +00:00
teh_coderer
5f04749eb1 init (#4924) 2023-04-28 12:44:23 +00:00
teh_coderer
9026a41ff2 Feature / Logging (#4923)
* init

* updates

* Update loggers.py

* Update loggers.py

* sdk handling

* feature flag

* fix MOCKING_USER_PATH for windows

* Update loggers.py

* Update plotly.html

* updates

* Update parent_classes.py

* Update plotly.html

* add posthog to deps

* Update loggers.py
2023-04-28 12:43:57 +00:00
Sameer Khan
b951e4406f Futures Curve: minor cosmetic improvements (#4901)
* futures curve: prettifies contract names in raw table and in excel export. change column header to Last Price. set x axis of curve chart to correspond to contract months

* fixed linting and updated tests

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-27 19:02:07 +00:00
teh_coderer
64e37bf0a2 Hotfix/ Improve setting/loading Streamlit session state variables (#4905)
* improve setting/loading streamlit session state variables

* Update streamlit_helpers.py

* fix margins

* fix hex color markdown showing on forecast tables

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-27 16:24:22 +00:00
Theodore Aptekarev
18204202ac Remove stocks/disc/cnews command (#4920)
* Remove stocks/disc/cnews command from terminal and sdk

* Remove disc/cnews tests and test data

* Remove cnews from default sources, translations and intros

* Remove old test data files that are not used anymore

* Add pydocstyle ignore statement to pyproject toml

* Fix print help in stocks/disc controller test
2023-04-27 16:24:13 +00:00
teh_coderer
df9a15497d post main merge 2023-04-26 10:41:58 -04:00
Igor Radovanovic
19c52bec6a Increase integration test coverage (#4902)
* Create and update tests

* Create and update tests

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-04-26 14:19:31 +00:00
James Maslek
0c8bcc90b1 Merge branch 'develop' into release/3.0.0 2023-04-26 09:04:42 -04:00
montezdesousa
45a06098a9 Fix crypto/defi/anchor (#4892)
* handle defi anchor exceptions

* reason

* mypy

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-26 09:14:54 +00:00
montezdesousa
0d7318bdc9 fix rm command (#4890)
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-26 09:05:15 +00:00
James Maslek
94cd3c1d71 Merge branch 'develop' into feature/mock-release 2023-04-25 12:36:55 -04:00
jose-donato
76134c7b0a Table issues (#4889)
* fix: table toast

* Update index.css

* fix: oo

---------

Co-authored-by: teh_coderer <me@tehcoderer.com>
2023-04-25 16:31:47 +00:00
Danglewood
4dce2fa756 Updates Terminal Basics Guide for 3.0. (#4835)
* Updates Terminal Basics Guide for 3.0. Images to follow.

* spelling

* Adds the images.

* missing ! from markdown image

* Grammar correction.

* small wording changes

* updates Terminal Forecast intro

* adds screenshots to Forecast intro

* spelling in Forecast intro

* Forecast intro - grammar in last sentence

* Adds section for Support, removes themes sections, updates page description

* Adds images for support section.

* Add list of tips for support ticket info

* update metaphor

* make path jumping a standout note

* round of revisions - image to follow

* Image example for selecting a new data source.

* change tables sentence to say preferences are updated directly on the table.

* fix double note

* fix typo

* Makes annotated font brighter and easier to read.

* swap data source change pic.md

* Updates Terminal Technical Analysis Intro

* Adds screenshots to TA Intro

* typos

* make intro spin up pywry window with usage basics (#4871)

* fix ruff - unused import

* This indent keeps changing

* words

* updates Terminal Customization Guide

* adds image for table index locking

* chart/table cheat sheets

* Add another cheat sheet header

* fix

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2023-04-25 16:28:12 +00:00
montezdesousa
762a8d4ba3 handle inf (#4888) 2023-04-25 16:17:41 +00:00
James Maslek
e1c2c9c6be Merge branch 'develop' into feature/mock-release 2023-04-25 11:51:52 -04:00
teh_coderer
7f28d012cf Hotfix/ CSV plot candle - bump PyWry (#4895)
* Create .gitignore

* add fillcolor to Plot CSV candlestick trace, bump pywry

* Update backend.py

* Update backend.py
2023-04-25 15:13:18 +00:00
James Maslek
cbda92ac4c Merge branch 'develop' into feature/mock-release 2023-04-25 10:05:01 -04:00
Henrique Joaquim
77dfd69bb1 fixing the types (#4894)
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-04-25 13:58:32 +00:00
Henrique Joaquim
3cf8aea940 Suppressing login related prints on the SDK initialization (#4893)
* suppressing the prints on the sdk init

* removing exceptions from tests
2023-04-25 13:15:36 +00:00
James Maslek
1b1f89af84 mock release 2023-04-24 19:12:18 -04:00
James Maslek
8ce8380ef3 Last minutes enhancements (#4885)
* Remove tab, fix overwrite, transpose exports

* missed some

* eodhd transpose
2023-04-24 23:04:21 +00:00
James Maslek
f589a037dc Convert timestamp to string for jose (#4881)
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-04-24 20:42:56 +00:00
teh_coderer
7a4d4b4339 fix json (#4884) 2023-04-24 20:06:30 +00:00
montezdesousa
a3f36e283a handle bad results from default routines (#4882) 2023-04-24 19:41:01 +00:00
teh_coderer
ea393dcfa8 Feature/ pywry posthog (#4860)
* posthog

* Update index.html

* remove console logs

* fix feature flag getting sent

* adding to frontend-components

* updates

* Update main.js

* alias

* Update backend.py

* Update backend.py

* tables handle null

* Update helper_funcs.py

* Update volatility_view.py

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2023-04-24 19:36:46 +00:00
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