Commit Graph

5235 Commits

Author SHA1 Message Date
James Maslek
b391ceb3ce Merge pull request #4768 from OpenBB-finance/release/3.0.0rc2
Release/3.0.0rc2
2023-04-13 12:17:01 -04: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
205c09e77e hopefully last difference 2023-04-13 11:04:57 -04:00
James Maslek
06f3793714 incorrect tests 2023-04-13 11:02:10 -04:00
James Maslek
1ae7eb39e4 etf/etfs fix 2023-04-13 10:58:41 -04:00
James Maslek
2d71f961d6 put back bad files but hopefully as good 2023-04-13 10:57:05 -04:00
James Maslek
00cf7b1912 delete bad files 2023-04-13 10:56:41 -04:00
James Maslek
10e0251b3c delete some more stuff pt 3 2023-04-13 10:53:38 -04:00
James Maslek
6d0b58f292 delete some more stuff pt 2 2023-04-13 10:51:44 -04:00
James Maslek
196242d774 delete some more stuff 2023-04-13 10:46:27 -04:00
James Maslek
1c9ecb688e delete 2023-04-13 10:41:59 -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
DidierRLopes
1e619b8b77 small improvement (#4762) 2023-04-13 08:48:29 -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
9eb44f45d2 bump pywry (#4761) 2023-04-12 21:39:42 +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
James Maslek
22389132b1 Change installation from pip to poetry (#4731)
* Change installation from pip to poetry

* Change env name to obb

* Change shell for mac build

* Activate the env

* Shell again

* Shell from bash to bash -l {0}

* windows poetry

* fix

* provactive fix

* fix

* venv

* removing pathex

* artifact to v2.2.4

* v3

* zip and unzip test

* fuzz fix

* numpy stupid

* asdf

* cmd line

* forgot to activate

* asdf

* asdf

* i dunno anymore

* back to old faithful

* fix spec

* fixing zip maybe

* path fix

* fix path

* code cleanup

* change artifact back

* test new nsis info

* didnt like my version

* add start program to end of install

* adding launch button to installer

* testing version file

* Copy over mac os

* poetry

* reqs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: luqazino@gmail.com <luqazino@gmail.com>
2023-04-12 14:36:25 +00:00
Luqman
f1f6dad691 Separate Macos Build to different Jobs (#4694)
* remove concurrency

* comment int test

* Seperate Macos Build

* Int test check

* crypto

* reduce int test

* Code cleanup

* revert integration test

* Edit the building steps

* papermill

* Fix papermill on both jobs

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-12 13:44:55 +00:00
Pratyush Shukla
6fa4162eb9 Fixed Polygon API key authentication URL (#4748)
* Fixed Polygon API key check URL

* Bifurcated request URL into 2 lines

* Fixed import
2023-04-12 13:28:41 +00:00
Colin Delahunty
2e79308ade Hotfix/4526 (#4682)
* Added fixes

* Merged

* Merged

* Added some handling of errors

* Adds some read dbs

* Removed useless commands

* Added fixes

* Added fixes

* Added fix

* Added fix

* Added fix

* Added fix

* Added fix

* Added fix

* Fixed tests

* Handle lowercase

* Added fxes

* small ticker thing

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-12 11:39:42 +00:00
Pratyush Shukla
dd41b8461d Fixed crypto, economy, forex commands inreports menu (#4717) (#4729)
* Fixed `crypto`, `economy`, `forex` commands  in`reports` menu

* Modified sdk.py to use Feedparser API to get news
* Made `basic_info` and `trading_pair_info` tables look prettier in `crypto` template
* Fixed news dataframe by modifying the columns in `economy` and `forex`

* Modified `trail_maps.csv` and generated `sdk.py`

* fixing forecast dashboard

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-04-12 09:57:05 +00:00
Henrique Joaquim
99854ef4d9 Identify documentation function based on guides (#4728)
* adding a way of cheking commands present in the documentation

* using regex

* ruff

* adding generation to the sdk

* adding mentions only from code blocks

* using the new path const

* handling export

* added argparse

* added docstrings

* line too long

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-11 21:46:27 +00:00
Luqman
9435fd7480 Workflow improvements (#4734) 2023-04-11 18:53:05 +00:00
martinb-bb
8397a990c9 URL(404) fixes for multiple locations (#4738)
* URL fixes

* docker url
2023-04-11 18:06:49 +00:00
Colin Delahunty
6452268f2c Installer Image (#4735)
* Added fixes

* Merged

* Proper image

* Added print
2023-04-11 13:05:49 +00:00
jose-donato
f00e5a6436 About cmd to match hub (#4645)
* fix: attempt to fix about and website hotfix

* fix: linitng

* fix: pylint

* fix: added account

* fix: linting

* fix: url

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-10 21:30:43 +00:00
Raghavendrapara
f30ee7e9a2 Fixes #4638 usrates export file had blank data in value column (#4680)
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-04-10 21:19:54 +00:00
Igor Radovanovic
f42930744e Fix filings analysis (#4732) 2023-04-10 21:10:51 +00:00
Pratyush Shukla
b06c0509ac Update source.md (#4723)
Fixed Windows path in cleanup_artifacts script portion.

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2023-04-10 13:30:50 +00:00
montezdesousa
d2212cd7c3 Warn user when there is no personal access token (#4725)
* warn user if no token found - 404

* add spaces to colors and theme application

* be more explicit about which color preference is failing

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-10 10:50:29 +00:00
Jeroen Bouma
af1f4483e6 Fix issue with holder (#4693)
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2023-04-10 10:25:38 +00:00
Henrique Joaquim
e55bf3d5ec hotfix/fix the lack of commit hash in pypi logs (#4719)
* adding .env file to the package

* reverting - chavi suggestion
2023-04-10 08:52:43 +00:00
Pratyush Shukla
9fd74efabe Added fix (#4709)
* Added hotfix

* Modified `eodchain` command and refactored code

* spacing

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-10 08:48:14 +00:00
Pratyush Shukla
96d21f71fd Added fix (#4710)
* Added fix

* Fixed `load`, `find`, `price` and refactored code

* Modified line 1304 in parent_classes.py

---------

Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-10 08:39:14 +00:00
Pratyush Shukla
8413d301a4 Added fix (#4718)
* Added fix

* cleaning up reports

* linting

* improve chart library

* Modified line 185 in reports/reports_model.py

* removing unncessary lines

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
2023-04-10 08:23:24 +00:00
montezdesousa
2b52337da9 Keep hub sources updated and allow only available sources in the terminal (#4711)
* loop and update sources

* clean update sources dict

* use only allowed sources and update hub sources on login

* silently update hub

* ruff

* update only allowed sources now

* clean up some funcs

* fix dict on tests

* mypy

* remove unused method

* change class arg name sources_dict

* change attribute name in sources model

* remove allowed from SourcesModel

* change from user_choices to choices

* change default msg
2023-04-09 22:10:37 +00:00
Danglewood
8b30f1a117 Hotfix/stock screener - Stock Screener Fixes (#4674)
* stock screener fixes

* improves error message, this is a FinViz preset

* removes non-screener functions from screener menu

* ruff

* removes tests for removed non-screener functions

* updates tests

* black

* ruff

* adds s&p 500 sector presets

* updates Terminal intro guide for stock screener

* Update screener.md

Updates guide with screenshots.

* Update screener.md

spelling

* updates SDK Intro Guide for Stock Screener

* pylint disable=too-many-lines --> disable=C0302

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-08 20:19:04 +00:00
montezdesousa
b4a7ed0ab4 Allow special characters in autocompletion and improve sources controller (#4698)
* allow empty spaces between sources commands

* allow special characters in autocomplete

* update parse input

* repeated character

* improve sources controller

* pylint?

* help was not working on set

* display file only if exists and has dat

* lowercase

* skip ultima test

* update default sources instead of replacing

* change var names

* revert, need to think better about this

* Update test_ultima_newsmonitor_model.py

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-08 16:48:43 +00:00
Igor Radovanovic
ec083d26a9 Add a note on GC and Kaggle (#4705)
* Add a note on GC and Kaggle

* fix broken url

* moving the note to be near the installation material

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-04-08 14:08:51 +00:00