Commit Graph

5470 Commits

Author SHA1 Message Date
James Maslek
316e83dc00 Remove all key logger.info (#5112)
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-06-07 08:36:39 +00:00
teh_coderer
f42b9e87ba feature/ Set profile on identify (#5102)
* set user profile on identify

* Update loggers.py
2023-06-06 19:11:45 +00:00
Danglewood
a311ce4686 hotfix/deprecate-options-screener: Sunsets deprecated Options screener (#5111)
* Sunsets deprecated Options screener

* mypy

* docstring fix

* one more docstrings fix

* missed i18n.yaml artifacts

* pylint

* fix test
2023-06-06 18:40:52 +00:00
teh_coderer
e040e9e6c4 fix wrong default for yaxisFixedRange (#5106) 2023-06-05 17:03:08 +00:00
Danglewood
b81aa22385 hotfix/fa-yfinance-plot - makes stocks/fa/income --plot output match everything else. (#5101)
* makes fa/plot output match everything else

* fix y-axis to be billions

* fix denominations

* black

* ruff
2023-06-05 14:37:18 +00:00
teh_coderer
f4a5064f32 Hotfix/ Tables + Charts Issues (#5100)
* fix: year to string

* don't slice data if line chart, display message if sliced

* Update plotly.html

* improve autoscaling when data sliced

* fixes #5078
2023-06-05 13:20:34 +00:00
Theodore Aptekarev
5f8657bbfa Avoid pandas' SettingWithCopyWarning (#5105) 2023-06-05 13:17:42 +00:00
Danglewood
f0e0217083 hotfix/fix-balance-headers: Fixes #5094 (#5099)
* fixes bad headers for ca/financial statements

* remove unnecessary lines
2023-06-02 13:06:28 +00:00
Sameer Khan
d662b69c6f Feature/futures curve history (#5086)
* add past contract prices to curve table

* adds secondary curve to viz

* includes error message when no data for selected date

* linting

* adds back linespace

* changed as-of parameter to d and date

* fixes ruff

* more linting and tests

* fixes for pylint test

* edit the xaxis formatting

* fix the tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-06-01 20:41:17 +00:00
Danglewood
eac108e74a fixes stocks/fa integration test file (#5092)
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2023-06-01 20:13:46 +00:00
Danglewood
bda1530150 fixes 5095 (#5097) 2023-06-01 19:34:35 +00:00
teh_coderer
67e04610d8 Update plotly_helper.py (#5098) 2023-06-01 19:30:57 +00:00
montezdesousa
1539793862 No guest if installer (#5076)
* 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>
2023-06-01 16:07:11 +00:00
Danglewood
6381abb575 fixes for integration tests stocks/test_insider and test_screener (#5084) 2023-05-31 17:48:56 +00:00
teh_coderer
646819c2f1 hotfix/ Dashboards random issue with theme not loading (#5082)
* fix: random issue with theme not loading

* set dark
2023-05-31 16:15:51 +00:00
andrewkenreich
d1f734243e fixing rating command (#5081) 2023-05-31 13:05:58 +00:00
montezdesousa
76fcaf77da Upload routine to hub on stop (#5077)
* upload routine to hub on stop

* write cassette

* write cassette

* remove .openb from name

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-31 10:42:56 +00:00
Danglewood
1b5c05460b adds reference to the YAML files for Python 3.8 and 3.10 (#5073) 2023-05-30 18:36:20 +00:00
DidierRLopes
72a46fbfbf OpenBB Script Routines major improvement (#5005)
* Allow to set variables and do loops

* Fix mypy errors

* improve code

* mypy

* pylint

* accepts Openbb date keywords like 1MONTHAGO,LASTFRIDAY,3YEARSFROMNOW,NEXTTUESDAY

* warn fix

* add documentation for script foreach and vars creation

* refactor controller as per James request

* black linting

* add another warning

* Editing some routine enhancements (#5063)

* move routine to new file

* Move to relativedelta and add some tests

* Fix mocking

* Get match_and_return_openbb_keyword_date to 100% cov

* start testing parse script

* remove rogue prints

---------

Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>

* big improvement in routines tests

* mypy lint

* ruff lint

* lint

* typo

* test relative time

* cover edge case of home at end of script

* fix edge case for going to home at start

* explain better slicing

* foreach tests added

* lint

* allow foreach loops to have different var names that is iterating

* foreach more powerful

* warning when var in foreach is not used

* fail script when varname that iterates foreach loop is never defined

* black

* lint again

* ruff

* improve another edge case

* fix test and fix a description

* fix nft test and routine test

* why mutual fund test failing

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-30 17:33:59 +00:00
James Maslek
3fcfc08db9 Add more futures to curve (and probably some more bugs) (#5049)
* Add a while condition for futures curve

* Fixes #5047

* Fixes #5014

* point root commands to /usage to avoid 404

* Black wont run in the nightly vs code build lol

* #5071

* mypy

* pylint

* tests

* Fix wrong queue to fa
2023-05-29 18:06:56 +00:00
James Maslek
fb1bf21af1 Update download link on update version text (#5075)
* Update download link on message

* tests
2023-05-29 17:08:25 +00:00
Danglewood
7c193656a1 Creates examples folder for SDK Notebook examples (#5057)
* Creates examples folder for SDK Notebook examples 

This commit creates a folder and readme file for SDK examples as Jupyter Notebooks.

* Four notebook files added.

This commit adds four notebook examples.

* historical prices draft 2

* removes spaces from file name.

* fix one mistake

* rename file

* renames file

* updates realized vol notebook

* Renaming file.

* Delete old file name.

* updates usdLiquidtyIndex

* update copperToGoldRatio

* updates README.md

* spelling

* updates copperToGold load data cell

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-27 20:06:09 +00:00
Adi Sai
fcb78d71f2 Feature/ultima top headlines (#5061)
* initial integration of top headlines

* top headlines formatting

* re-ran tests

* fixing typing issues

* passed test

* fix ruff

* guard top headlines call + pass tests

* Minor cosmetic changes

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-26 16:18:08 +00:00
LOne2three
58391c1edf Hotfix/reddit spacc (#5067)
* Change logic in print_rich_table and display_spacc_community

* changed comment

* Changed logic in print_rich_table

* Got rid of whitespace

* changed comments

* changed formatting

* changed formatting

* changed formatting

* Fixed linting

* sort imports

* added TypeError to exception block and moved print_reddit_post to after the ticker iteration loop so that tables and tickers would be loaded at the same time

* Changed logic in  display_space_community to print all reddit posts to a single table

* Quick fix wsb command

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-26 14:42:26 +00:00
Colin Delahunty
d0b815b8f7 Cleaned up CP (#5070)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-05-26 12:56:38 +00:00
northern-64bit
8e21b340e0 Adds test for collinearity to the econometrics menu (#5018)
* Add `vif` command to the ecomometrics menu

Adds `vif` command, which tests collinearity by calculating the variance inflation factor.

* Fix spelling

* Fix ruff

* Fix ruff

* Fix mypy + add sdk example

* Fix mypy

* Fix pylint

* Fix input + error handling

* Remove rouge print + error handling for one column

* fix linting
2023-05-25 14:54:11 +00:00
Colin Delahunty
e30da799aa Fixes Description on Fixedincome (#5065)
* FIxed some stuff

* FIxed some stuff

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-25 14:48:38 +00:00
montezdesousa
8609b7b1e7 always reevaluate keys menu (#5055) 2023-05-25 14:47:10 +00:00
teh_coderer
e07a5a3826 hotfix/ Options Historical + Crypto candles (#5064)
* fix options/crypto candles

* fix streamlit indicators

* Update Indicators.py
2023-05-24 20:46:40 +00:00
Danglewood
77b2da0cd3 fix integration test for fixedincome controller (#5060) 2023-05-23 22:38:16 +00:00
Danglewood
e202aeb557 Hotfix/docs-sdk-basics: Updates SDK basics page. (#5024)
* updates SDK basics guide - images to follow

* adds images

* spelling

* add sentence for token regeneration

* consolidates changing sources page with the basics page

* consolidate chart-stylying guide with basics

* api-keys pages

* adds Stocks Insiders intro to SDK docs

* typo

* add cloud installation

* syntax error

* no cloud installation instructions

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-23 20:20:29 +00:00
Igor Radovanovic
d748766573 Preserve stock ticker suffix (#5056)
* Preserve suffix

* Fix suffix doubling
2023-05-22 18:58:37 +00:00
Danglewood
5b4b8f9ee3 expands integration test coverage (#5051)
Co-authored-by: Igor Radovanovic <74266147+IgorWounds@users.noreply.github.com>
2023-05-20 18:01:12 +00:00
Danglewood
b3d4909bf2 100% coverage for fixed income integration tests (#5048) 2023-05-19 18:30:15 +00:00
Henrique Joaquim
8924f880d1 adds primaryUsage to Posthog logs (#5037) 2023-05-19 18:27:40 +00:00
Igor Radovanovic
9e610d4495 Hotfix/edebt (#5046)
* Remove \n

* Fix column names
2023-05-19 18:27:09 +00:00
Igor Radovanovic
80c7e02707 Remove \n (#5045) 2023-05-19 18:26:57 +00:00
teh_coderer
a6a2268ddc Hotfix/ Candle --log (#5039)
* init... might break stuff

* fix

* clean up

* check if array for color keys
2023-05-18 16:24:29 +00:00
teh_coderer
b54c47e2e9 hotfix/ Charts Theme change not persisting (#5036)
* revert and fix bug introduced in #4546

* improve theme change in chart, add `theme.apply_style()` to settings_controller/hub config change
2023-05-17 14:38:13 +00:00
Igor Radovanovic
9beba4cf74 Fix file edge case (#5033)
* Fix file edge case

* edge case

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
2023-05-16 21:39:58 +00:00
teh_coderer
0f3497a3c1 remove plotly charts legacy web modules (#5034) 2023-05-16 21:05:48 +00:00
teh_coderer
fd0ad21873 fix modebar hide/show on hotkeys (#5026)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-16 17:25:04 +00:00
andrewkenreich
549613c821 fixing min-mix stikes on options (#5028)
* fixing min-mix stikes on options
Fixing the min-max values on views for options

# Description

- [ ] Summary of the change / bug fix.
- [ ] Link # issue, if applicable.
- [ ] Screenshot of the feature or the bug before/after fix, if applicable.
- [ ] Relevant motivation and context.
- [ ] List any dependencies that are required for this change.

# How has this been tested?

* Please describe the tests that you ran to verify your changes.
* Provide instructions so we can reproduce.
* Please also list any relevant details for your test configuration.
- [ ] Make sure affected commands still run in terminal
- [ ] Ensure the SDK still works
- [ ] Check any related reports

# Checklist:

- [ ] I have adhered to the GitFlow naming convention and my branch name is in the format of `feature/feature-name` or `hotfix/hotfix-name`.
- [ ] Update [our documentation](https://openbb-finance.github.io/OpenBBTerminal/) following [these guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/website).  Update any user guides that are affected by the changes.
- [ ] Update our tests following [these guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/tree/main/tests).
- [ ] Make sure you are following our [CONTRIBUTING guidelines](https://github.com/OpenBB-finance/OpenBBTerminal/blob/main/CONTRIBUTING.md).
- [ ] If a feature was added make sure to add it to the corresponding [integration test script](https://github.com/OpenBB-finance/OpenBBTerminal/tree/develop/openbb_terminal/miscellaneous/integration_tests_scripts).

# Others
- [ ] I have performed a self-review of my own code.
- [ ] I have commented my code, particularly in hard-to-understand areas.

* remove a print

* fix test

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-05-16 17:16:34 +00:00
James Maslek
0268085eef Merge pull request #5031 from OpenBB-finance/release/3.0.1
Release/3.0.1
2023-05-16 12:40:37 -04:00
James Maslek
ab3eda6068 version back to 3.0.1 2023-05-16 11:02:58 -04:00
James Maslek
78b88a286f update again 2023-05-16 11:00:38 -04:00
James Maslek
c0db2f2cf1 Undo version 2023-05-16 10:41:18 -04:00
James Maslek
d4c737c5af pin reportlab for mac 2023-05-16 10:39:08 -04:00
James Maslek
dd24a8543a 3.0.0 is not current 2023-05-15 19:44:03 -04:00
James Maslek
95e97c6e35 Merge branch 'develop' into release/3.0.1 2023-05-15 19:39:18 -04:00