Commit Graph

5248 Commits

Author SHA1 Message Date
James Maslek
2ae919c78d Merge pull request #4810 from OpenBB-finance/hotfix/docs_min
fix: docs min
2023-04-17 10:39:12 -04:00
jose-donato
b9a5e4b56c fix: docs min 2023-04-17 14:25:07 +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
Igor Radovanovic
08a077c133 Crypto overview unit tests (#4782)
* crypto overview unit tests

* Mock cpanic view
2023-04-14 16:07:52 +00:00
Theodore Aptekarev
7f2c31a6d2 Fix import statement for nughtly pypi readme page (#4780) 2023-04-14 14:21:55 +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
Danglewood
af800613c8 Hotfix/docs - Some Intros Updates. (#4777)
* removes .ini from screener preset examples

* updates sdk economy intro

* Update economy intro guide screenshot

Swaps screenshot with new chart

* updates terminal stocks intro

* updates screenshots for stocks intro
2023-04-14 07:34:09 +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
8bb059b6cf Merge pull request #4770 from OpenBB-finance/release/3.0.0rc2
Release/3.0.0rc2
2023-04-13 12:20:11 -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