Commit Graph

715 Commits

Author SHA1 Message Date
hjoaquim
2fca2c0ec3 resolve conflicting tests 2023-02-09 11:52:16 +00:00
hjoaquim
11646cd30f Merge remote-tracking branch 'OpenBB-finance/feature/login' into feature/sdk-w-token 2023-02-09 10:52:48 +00:00
Diogo Sousa
c855374e6f Merge branch 'develop' into feature/login 2023-02-09 09:57:06 +00:00
montezdesousa
ead2e2e76a Routine remote storage (#4143)
* add upload routine command

* remove prints

* point to local again

* add commands

* add delete

* add download command and upload 409

* list comprehension

* add download & save plus upload fixe

* add user uuid folder

* add list command

* ruff

* en.yml detail

* provide choices to delete & download

* add choices to upload

* change menu text

* starting adding unit tests

* bad english

* Update test_print_help.txt

* genearl msgs

* remove print

* add docstrings

* add unit tests to account controller

* change parser

* fix routine upload test

* add to be implemented tests hub

* add to be implemented tests local

* add total pages to title

* split list into model and view

* add docstring

* print msg if character

* add local model tests

* hub tests routines

* fix test

* point to dev and glob

* fix small bug on upload

* missing return

* log decorators missing

* black

* ruff
2023-02-09 09:55:05 +00:00
James Maslek
f3094ac126 Merge branch 'develop' into feature/remove-dd-docs 2023-02-08 10:24:34 -05:00
Henrique Joaquim
f2c40d02bf Adjust timezone for AV when interval < 1d (#4158)
* adjusting tz

* rewriting failing tests

* getting develop version of things

* style

* removing normalize

* tests
2023-02-08 15:19:12 +00:00
montezdesousa
d593f99dc7 Merge branch 'develop' into feature/login 2023-02-08 12:10:53 +00:00
Diogo Sousa
026ec53e93 Merge branch 'develop' into feature/login 2023-02-08 11:41:14 +00:00
jeroen
ffad92588a Fix tests 2023-02-08 11:25:19 +01:00
jeroen
46e7eee557 Merge branch 'develop' into feature/remove-dd-docs 2023-02-08 09:44:34 +01:00
jeroen
0cce8248c8 Update files 2023-02-08 09:42:07 +01:00
jeroen
1e55dbecd0 Move filings to the correct place 2023-02-08 09:42:07 +01:00
montezdesousa
93dd0bce2f Fix crypto/disc/top sort (#4167)
* fix sort choices

* fix unit tests
2023-02-08 00:43:31 +00:00
James Maslek
760592692e Merge branch 'develop' into feature/remove-cash 2023-02-07 14:39:11 -05:00
hjoaquim
b2812f0193 fix tests and fix introduced bug 2023-02-07 17:56:08 +00:00
hjoaquim
b4d1d3fdc6 adding tests 2023-02-07 16:24:47 +00:00
hjoaquim
93e26fe2d5 adding login via token to the sdk 2023-02-07 10:30:26 +00:00
jeroen
520442786c Move ark around, updates docs, update SDK 2023-02-07 01:02:36 +01:00
Jeroen Bouma
38982a6459 Merge branch 'develop' into feature/remove-cash 2023-02-07 00:27:50 +01:00
Jeroen Bouma
0ee2ebcf1e Refractor stocks/fa by incorporating stocks/dd and making the menu less reliant on Yahoo Finance (#4055)
* I missed some sheet_name ones :)

* Move quote to main menu and combine yahoo finance commands

* Update stocks for quote

* First update to move yfinance away from main functionality

* Small updates

* Update tests to reflect changes

* Fix some little things

* Update docs a little too

* Remove the Due Diligence menu

* Update tests for new change

* Update fa and stocks with new text and move some stuff around

* Bye bye dd

* Pls work

* work..

* work..

* work..

* Work..|

* Add tests back in

* Remove tests

* Fix fix fix

* Remove tests to fix conflicts

* Improve the `stocks/search` command (#4084)

* Improve search command

* Make it more intuitive

* Fix tests

* Update the docs

* Ok done

* Ok done 2

* Ok done 3

* Git update tests that failed

* Update commands with --sheet-name that didn't work (#4088)

* Update commands with --sheet-name that didn't work

* Fix test

* oops

* Adds auto completion to `news` (#4089)

* Fix plot look when using eval and add query to choices (#3881)

* convert index to datetime and update choices

* uncomment economy integration test

* fix treasury concat bug

* fix datasets concat on duplciates

* Lock ruff version so that new lints dont break our CI (#3905)

* Lock ruff version so that new lints dont break our CI

* Bumped pre-commit ruff version

* returning always a dataframe

* Revert "returning always a dataframe"

This reverts commit d5dbf3132f.

* quick fix to auto complete args

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>

* Hotfix/Windows-CLI (#4087)

* init

* Update windows10_build.yml

* Update windows10_build.yml

* Update windows10_build.yml

* Update windows10_build.yml

* Update windows10_build.yml

* Update windows10_build.yml

* oops

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>

* Adds end date to `forex/load` (#4077)

* Fix plot look when using eval and add query to choices (#3881)

* convert index to datetime and update choices

* uncomment economy integration test

* fix treasury concat bug

* fix datasets concat on duplciates

* Lock ruff version so that new lints dont break our CI (#3905)

* Lock ruff version so that new lints dont break our CI

* Bumped pre-commit ruff version

* returning always a dataframe

* Revert "returning always a dataframe"

This reverts commit d5dbf3132f.

* adding end date to the forex load

* added some tests

* added example

* always show msg

* rewriting test

* updating tests

* updating tests

* Redo load tests

---------

Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>

* Update tests to reflect changes

* work..

* Remove tests

* Fix fix fix

* Remove tests

* Update the whole test folder

* Small updates

* Revert change

* Update eodhd to reflect it requires a paid plan and update tests

* Fix all the tests

* Update tests

* Update integration tests

* Removing tests so no whining happens

* ADD ALL THE TESTS

* Fix linting

* gitignore.  thanks jer

* Add back dd and redirect to fa

* Update to just display a message

* Update OpenBB SDK commands

* Fixing issues with exporting

* Fix ruff messing up

* Fix tests

* Fix the tests by disabling isort to run on tests folder

---------

Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: teh_coderer <me@tehcoderer.com>
2023-02-06 23:24:15 +01:00
jeroen
a8c5e9bb7d Update tests 2023-02-06 22:00:43 +01:00
hjoaquim
89c225b148 ruff 2023-02-06 14:58:45 +00:00
hjoaquim
dcde2af2d6 ruff 2023-02-06 12:42:48 +00:00
hjoaquim
4cc2280485 black 2023-02-06 12:26:27 +00:00
hjoaquim
d56e8da3c5 account model tests 2023-02-06 12:23:46 +00:00
hjoaquim
142cbb9638 Merge branch 'feature/login' of github.com:OpenBB-finance/OpenBBTerminal into feature/login 2023-02-06 11:10:42 +00:00
Diogo Sousa
a14cd9c3a0 add help to settings cmds 2023-02-06 10:14:35 +00:00
Diogo Sousa
01706566b0 fix qa 2023-02-06 09:58:29 +00:00
Diogo Sousa
2d4e7c1aac ruff tests 2023-02-05 19:31:00 +00:00
Diogo Sousa
ce7579aff3 Merge branch 'develop' into feature/login 2023-02-05 19:14:23 +00:00
Colin Delahunty
ee34a1f278 Feature/add isort linter (#4114)
* Fixed isort

* Fixed issues

* FIxed linters

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-02-04 21:24:47 -05:00
hjoaquim
f90bf7ea35 completed tests for session controller 2023-02-03 18:14:59 +00:00
hjoaquim
2b00f5647c test for the user input 2023-02-03 17:28:33 +00:00
Diogo Sousa
f701a237b1 Merge branch 'develop' into feature/login 2023-02-03 16:10:41 +00:00
Jeroen Bouma
f466ed1e7f Update to make transform work (#4125) 2023-02-03 16:30:25 +01:00
hjoaquim
c10635f4d5 black 2023-02-03 15:02:59 +00:00
hjoaquim
9b7a281c28 Merge branch 'feature/login' of github.com:OpenBB-finance/OpenBBTerminal into feature/login 2023-02-03 13:35:09 +00:00
Henrique Joaquim
0246828471 Merge branch 'develop' into feature/login 2023-02-03 13:34:55 +00:00
Mael_Jourdain
7175d0fa8f Feature/mstarpy (#4068)
* add mstarpy to new terminal version

* add mstarpy to new terminal version

* add mstarpy with poetry

* mapping country openbb convention and mstarpy iso

* empty dataframe if no assets

* remove investing command

* plot with parameters

* change source

* mstarpy in pyproject

* chnage poetry

* change poetry

* mstarpy key

* reformat with black

* spelling instantiated

* correct instantiate

* delete fo to pass codespell test

* correction flake8 test

* correction test mypy

* correction pylint

* pass mypy test

* correction test pylint

* remove mutable default value

* delete equity, comment, add sweden menu

* delete not used EXPORT_ONLY_RAW_DATA_ALLOWED

* delete not used investpy and yfinance view

* mstarpy 0.0.2

* minor changes to user msgs

* added countries to autocompletion

* hinting

* small change on load

* adjustments and deprecating investpy

* minor adjustment to also load country on reset

* removing forecasting as self.data is not popullated

* adjustments on sector

* minor adjustments

* fix tests

* fix tests

* improved swe functions

* plot display Nav

* united_states as default country

* mstarpy version 0.0.4

* adjustments

* dependencies

---------

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2023-02-03 13:28:31 +00:00
hjoaquim
4622e30ce8 tests for session_controller 2023-02-03 13:14:55 +00:00
Diogo Sousa
bbe50ee161 tests account controller: clear, pull 2023-02-03 13:08:43 +00:00
Diogo Sousa
c1bef1fad6 unused import 2023-02-03 12:35:25 +00:00
Diogo Sousa
78c8560327 Merge branch 'feature/login' of github.com:OpenBB-finance/OpenBBTerminal into feature/login 2023-02-03 12:34:56 +00:00
Diogo Sousa
6ea8448254 start account controller tsts 2023-02-03 12:34:30 +00:00
hjoaquim
10aafd139d tests for hub_model 2023-02-03 12:15:17 +00:00
Diogo Sousa
3bb5c09741 Merge branch 'feature/login' of github.com:OpenBB-finance/OpenBBTerminal into feature/login 2023-02-03 11:18:21 +00:00
Diogo Sousa
695fa21762 tests sdk session 2023-02-03 11:18:10 +00:00
Henrique Joaquim
73b9671d4d Merge branch 'develop' into feature/login 2023-02-03 10:56:37 +00:00
Diogo Sousa
1f7baeac4f add user tests 2023-02-02 23:42:22 +00:00
Diogo Sousa
9b90f1171b test create session 2023-02-02 19:14:21 +00:00