Commit Graph

4542 Commits

Author SHA1 Message Date
James Maslek
76ed2bcef9 Merge pull request #4243 from OpenBB-finance/hotfix/algolia-search 2023-02-14 18:15:08 -05:00
jose-donato
9bdb439dce fix: algolia 2023-02-14 23:02:35 +00:00
James Maslek
0661833e89 Merge pull request #4240 from OpenBB-finance/release/2.4.0
Release/2.4.0
2023-02-14 16:31:21 -05:00
james
b65bc6316e Like i never touched it 2023-02-14 15:43:42 -05:00
james
5f404b23fa One more thing to try 2023-02-14 15:37:42 -05:00
james
dbc568182b Try poetry install again 2023-02-14 15:31:47 -05:00
james
482f6f8419 Fix trailmap again 2023-02-14 15:22:39 -05:00
james
7761ad0b36 macos conda 2023-02-14 15:10:06 -05:00
james
28420cbab4 Fast fail 2023-02-14 15:09:07 -05:00
james
f688ec7eae Update unit test 2023-02-14 14:58:57 -05:00
james
4c591bff6b trail map 2023-02-14 14:55:15 -05:00
james
04e9a7c06d Catch the eof error 2023-02-14 13:01:08 -05:00
james
437a08fbd4 Revert 2023-02-14 12:59:39 -05:00
james
41d242a1be Change the if statement for the initial user 2023-02-14 12:54:32 -05:00
james
8a406c5ca0 Reverse order 2023-02-14 12:30:35 -05:00
james
ce64a994e1 Change poetry -> pip 2023-02-14 11:59:26 -05:00
james
844d3867ed Wrong env var 2023-02-14 11:55:33 -05:00
james
73c29f9cb7 Previous user to true 2023-02-14 11:28:52 -05:00
James Maslek
d742a2c094 Merge branch 'main' into release/2.4.0 2023-02-14 10:55:17 -05:00
james
cd94f5d3be Remove brotlipy step 2023-02-14 10:54:53 -05:00
james
33404e2e6e Release 2.4.0 2023-02-14 10:34:05 -05:00
Tan Yong Sheng
5705675218 Report rendering can't handle save path for users that have a period (.) in username (#4235)
* fix reports not recognize dot path

* Formattiing

---------

Co-authored-by: Yong Sheng Tan <yongsheng.tan@shareinvestor.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-14 10:17:14 -05:00
Danglewood
d6ab0007e3 Fixes bad yFinance candles with auto_adjust=True (#4231)
* Fixes bad yFinance candles with auto_adjust

* black

* fixes from tests

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-14 09:49:02 -05:00
teh_coderer
cd5cb61344 Hotfix/Splashscreen Staying up on Windows installer (#4232)
* fixes splashscreen not disappearing in windows installer

* replace it all together

* Update settings_logger.py
2023-02-14 09:19:34 -05:00
montezdesousa
fca7ec36ac block logout (#4233) 2023-02-14 10:27:44 +00:00
montezdesousa
825b8955df Set guest by default and put authentication behind environment variable (#4197)
* small bug

* small bug on routines list

* guest as default

* limit logout to users2

* simpler this way

* add logout

* move logout to account & add env var

* put authentication under env var

* fix tests

* remove login

* remove openbb vars on login

* ruff

* revert .toml

* Delete Icon

* Update .env

* fix sdk guest not loading keys

* ruff

* remove press enter & --login

* ruff

* move env load

* load env

* move dot env loading to terminal.py

* fix user sdk login mixing .env with user

* now it works

* fix reset

* fix tests

* ruff

* Login on the SDK using the OpenBB Personal Access Token (#4206)

* openbb key on keys menu

* adding sdk endpoints

* adding login via token to the sdk

* base url

* rename to personal access token

* added docstrings and examples

* openbb is special

* removing extra break line

* making keys working with the personal access token

* resolve conflicting tests

* Revert "resolve conflicting tests"

This reverts commit 2fca2c0ec3.

* using custom requests

* tests

* tests

* tests

* using process_session_response instead

* rewriting some tests

* Fix sdk guest not loading keys (#4207)

* fix sdk guest not loading keys

* ruff

* remove comment

* tests

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>

* test record mode vcr none

* remove yes from tests yml

* specify modules to reload

* try disable check api

* UPdate spec file

* Small stocks bug

* avoid reloading in test mode

* will this work?

* skip session tests

* try with env var as well

* mock sdk reload

* pylint

* bump poetry on python 3.8

* adapt to python 3.8

* adapt to python 3.8 remaining tests

* Tests : update cassettes

* Fix linting

* Makes login conditions simpler

* Tests : txt

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-02-14 09:56:03 +00:00
northern-64bit
c2f88d4499 Fix generate_portfolio SDK usage example (#4216)
* Fix generate_portfolio SDK usage example

* Update all example usages with the example portfolio
2023-02-13 15:21:24 -05:00
Luqman
383940eb05 Changed poetry version for docker build (#4229)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-13 16:49:21 +01:00
James Maslek
5aebae4d46 Feature/general improvements (#4213)
* Get rid of required ticker and add -t argument to all of fa

* ta to work without ticker

* Allow bt to be accessed without ticker

* Bt not ticker dependent (last commit was qa)

* Update stock controller

* UPdate tests

* Review changes + update tests
2023-02-13 10:22:29 -05:00
James Maslek
2a7ec56000 Sunset some dependencies (#4215)
* Sunset some dependencies

* Mypy

* Last iex refs

* remove ref to investpy

* tests

---------

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
2023-02-13 08:54:54 -05:00
James Maslek
84da1cfd1c Merge pull request #4211 from OpenBB-finance/hotfix/fix-4203
Fix wrongly formatted values on `stocks/fa/cash`
2023-02-10 23:19:19 +00:00
james
daad65a7a3 update tests 2023-02-10 17:59:13 -05:00
James Maslek
d47234bceb Merge branch 'develop' into hotfix/fix-4203 2023-02-10 16:31:48 -05:00
James Maslek
7639d46664 Merge pull request #4193 from joey-walker/feature/search-return-df
Return a dataframe from stocks search, removed export to file system (#3923)
2023-02-10 20:03:23 +00:00
James Maslek
047ee64642 Merge branch 'develop' into feature/search-return-df 2023-02-10 14:46:40 -05:00
jose-donato
37d7c870ea Adds algolia to docs (#4208)
* feat: added algolia

* fix: removed unused dependency

* fix: added lock

---------

Co-authored-by: james <jmaslek11@gmail.com>
2023-02-10 14:44:09 -05:00
Henrique Joaquim
47a1def39b Merge branch 'develop' into hotfix/fix-4203 2023-02-10 18:52:36 +00:00
hjoaquim
813fb818cd fix wrongly converted values 2023-02-10 18:44:11 +00:00
Joseph Walker
a11810ac74 Remove export to file now that we are returning a dataframe. Always return a dataframe even if empty. Update tests to reflect removed function arguments. Update documentation as well. 2023-02-10 13:26:08 -05:00
James Maslek
e31c206b6a Merge branch 'develop' into feature/search-return-df 2023-02-10 13:22:40 -05:00
teh_coderer
dadfe9eaa9 removed portfolio.po deleted functions, fixed stocks.disc.filings incorrect function (#4210) 2023-02-10 13:22:00 -05:00
James Maslek
5c2cbf239f Merge branch 'develop' into feature/search-return-df 2023-02-10 12:26:45 -05:00
Joseph Walker
d0d1eb8e28 Remove erroneous extra line from documentation 2023-02-10 11:54:09 -05:00
James Maslek
06d737f4be Adding intrinio and cleaning up options a bit more (#4127)
* Add intrinio load functions into stocks and options.  First try at options sdk with intrinio

* Add a new eodchain function + add intrinio model test

* Unit tests for intrinio options

* dont add eodchain yet -- wait for other PR

* Make null handling better + add intrinio sdk to reqs

* mock dates

* update test

* fix ruff

* black and gitignore

* Clean up and make options load class

* Clean up clean up

* Fix intrinio stock load

* Get requirements even

* sort intrinio chain and fix

* Dont rename the candle input argument

* Fix bug #4060

* Historical option prices

* Add grhist from intrinio and isort

* Fix things for presentation

* Fix tradier chain printing

* YahooFInance chain cleanup

* standardize nasdaq

* Format intrinio

* Cleanup SDK

* Fix tests

* mypy

* Clean up trail map and edit docs

* Fix mapping of info on sdk

* Add intrinio to deps

* Add a rich progress bar to expirations :)

* controller test

* Silly error + tests

* Required arg

* bad assert statememts

* Mutable default

* Keys and switch another tqdm

* BizIns Tests

* tests

* Last Test
2023-02-10 16:54:05 +00:00
Joseph Walker
f247b6da34 Remove export_to_file flag for redundancy 2023-02-10 11:51:38 -05:00
hjoaquim
a3c4e0917a Merge remote-tracking branch 'OpenBB-finance/develop' into develop 2023-02-10 16:33:45 +00:00
James Maslek
92360a7124 Update PR Template and Contributing guidelines (#4194)
* Update PR template and contributing guide

* get rid of the merge group because it failed

* Markdown lint

* Update the merge group type

* bugfix -> hotfix

---------

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-02-10 09:24:55 -05:00
Luqman
e3caa9cb43 [FEAT] Nightly Build slack Notifications (#4188)
* Slack Notifications

* Testing improvements

* Patch

* Created Readme and Slack Notifications for Int Test

* Added more documentation

* Minor fix

* Deleted test.yml

* Added more info

* Removed feature from int test

* Fixed integration test output command for windows

* Nightly Build timeout

---------

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2023-02-10 08:56:16 +01:00
Henrique Joaquim
424d073f90 Feature/some cleaning (#4170) 2023-02-09 17:33:29 -05:00
Artem Veremey
4f915e6f02 Updating poetry to v1.3.2 and dependencies (#4076)
* Updating poetry to v1.3.2 and dependencies

* Fixing conda pip syntax

* Updating poetry.lock

* Updating requirements

* Updating Windows10 build

* Windows10 build updates

* Windows10 build update

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Windows10 build updates

* Updating Intel MacOS Build

* Updating Intel MacOS Build

* Updating Intel MacOS Build

* Updating Intel MacOS Build

* Updating Intel MacOS Build

* Updating Intel MacOS Build

* Updating M1 MacOS Build

* Lets get M1 working

* Lets get M1 working

* Permission Issue on tests / New setup.nsis

* Merging the latest changes and picking integration tests to run

* Adding Mac requirements

* Fixing spelling

* Limiting integration tests on builds

* commenting out MessageBox prints on win installer

* update pinned lightgbm version

* fix tests

* ignore lightning logs for tests

* testing auto signing - integration off - Windows

* string fix

* bad file path

* wrong spot

* should work - signing

* Added branch check conditions for signing build

* Remove platform specific requirements-txts

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
Co-authored-by: luqazino@gmail.com <luqazino@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
2023-02-09 23:05:55 +01:00