Commit Graph

4140 Commits

Author SHA1 Message Date
Diogo Sousa
41d01ac68c userdata 2023-02-01 20:19:37 +00:00
Diogo Sousa
e62bfb118f refactor timezone setting 2023-02-01 19:09:47 +00:00
Diogo Sousa
52711a1d2a fix sources command & add choices 2023-02-01 13:29:19 +00:00
Diogo Sousa
20bc8ae2bf fix bug pwidth, pheight are floats 2023-02-01 13:01:00 +00:00
Diogo Sousa
104f929b45 fix bug in lock file 2023-02-01 12:22:38 +00:00
Diogo Sousa
22d3207400 Merge branch 'develop' into feature/login 2023-02-01 11:52:42 +00:00
Diogo Sousa
4dd80e2b54 remove mixed portfolio changes 2023-02-01 11:47:59 +00:00
Diogo Sousa
d265a126a5 refactor logout 2023-02-01 11:26:23 +00:00
Diogo Sousa
cef3057e2b change apply configs 2023-02-01 11:11:55 +00:00
Diogo Sousa
2bb47c6e03 move .his file to .openbb folder 2023-02-01 11:02:33 +00:00
Diogo Sousa
4240d4e077 routine upload 2023-02-01 10:50:09 +00:00
Diogo Sousa
01f7aa0d18 delete session 2023-02-01 10:47:44 +00:00
Diogo Sousa
aaf0ea25ed clear and patch 2023-02-01 10:41:00 +00:00
Diogo Sousa
61abf795c3 update clear 2023-02-01 10:32:05 +00:00
Diogo Sousa
2bce7b5da5 keep timeout outside funcs 2023-02-01 10:25:07 +00:00
Diogo Sousa
42337a8098 update docstrings 2023-02-01 10:10:07 +00:00
Diogo Sousa
103133cbd4 remove colors in prompt 2023-02-01 09:59:15 +00:00
Chavithra
cf636a1530 Fix update check (#4097)
* Fix update check

* Fixing pytest
2023-02-01 09:48:33 +00:00
Diogo Sousa
b64a6703e3 success msg only if success 2023-01-31 18:53:05 +00:00
Diogo Sousa
9181117fde add remote logout 2023-01-31 18:44:33 +00:00
Diogo Sousa
5ee313f01a black 2023-01-31 17:48:24 +00:00
Diogo Sousa
f12c15b658 add timeout to hub requests 2023-01-31 17:48:00 +00:00
Diogo Sousa
b140136d1b Merge branch 'develop' into feature/login 2023-01-31 17:29:20 +00:00
Diogo Sousa
e5854bc2da reduce some code 2023-01-31 17:26:40 +00:00
Diogo Sousa
f2951161f9 breaking?: strbool change 2023-01-31 16:04:10 +00:00
Diogo Sousa
d289188df9 apply diff only 2023-01-31 15:57:03 +00:00
Henrique Joaquim
76c937cdcf 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>
2023-01-31 09:43:06 -05:00
Diogo Sousa
58a31ce6ca pull msg was switched 2023-01-31 14:40:43 +00:00
Diogo Sousa
653412e4cd warn when no changes# 2023-01-31 14:34:04 +00:00
Diogo Sousa
b8d82de15d black# 2023-01-31 14:32:22 +00:00
Diogo Sousa
59d45fa926 show only diffs on pull 2023-01-31 14:32:10 +00:00
teh_coderer
47e6b23fa2 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>
2023-01-31 09:24:51 -05:00
Diogo Sousa
c588bb9870 uncomment rich config 2023-01-31 13:54:39 +00:00
Diogo Sousa
0d22dc84a6 pylint 2023-01-31 13:51:59 +00:00
Diogo Sousa
873477991b add asteriscs to password 2023-01-31 13:50:11 +00:00
Henrique Joaquim
a040fe72e7 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>
2023-01-31 08:47:36 -05:00
Jeroen Bouma
003a5c8cf7 Update commands with --sheet-name that didn't work (#4088)
* Update commands with --sheet-name that didn't work

* Fix test

* oops
2023-01-31 08:20:35 -05:00
Jeroen Bouma
8c6647ab18 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
2023-01-31 13:28:41 +01:00
Diogo Sousa
309e52e80e delete .hist on logout 2023-01-31 10:50:14 +00:00
hjoaquim
1d178ecd26 changed arg name 2023-01-31 09:49:59 +00:00
Jeroen Bouma
49641bd9e8 Update the routine, portfolio and screener files and adjust the documentation (#4021)
* Remove undesired example files

* Update the documentation for routines

* Add in video

* Add some additional text

* Add in a routines example that can be activated with --example

* Remove default old examples

* Add portfolio example holdings file

* Add portfolio optimization example allocation file

* Add example files for the portfolio menus

* Remove code that unintentionaly prints the home menu on every routine

* Add home instead of /

* Remove requirement to add file if you have an example

* Ensure portfolio/po/params also talks about docs correctly

* Move all routine, portfolio and screener presets to the correct folder

* Remove presets since they are moved

* Remove presets since they are moved

* Same implementation as for file in po

* Adjust code so it works with new folder

* Adjust code so it works with new folder

* Adjust code a little since I changed folder

* Update screener documentation to include how to create a screener

* Remove old readme

* Update documentation to better reflect where to find the files

* Also update SDK notes

* Update exe with auto complete and more info

* Add images

* Update images and the last script

* Update text to make it more apparent that it has an example attached

* Add section for routine scripts on home menu

* Make call_about more robust and add record and stop

* Update the routine markdown with info about record/stop including video

* Update scripts

* Update portfolio report

* Update tests and report

* fix small load bug

* rewrite help test

* last fix was buggy

* example by default

* fix po integration test

* keep example on arg

* adapt integration test

* fix portfolio integration test

* fix more portfolio integration tests

* pa is not an option anymore

* portfolio report choices only holdings

* update integration test for portfolio report

* Small formatting improvements

* Remove sleep and fix inconsistent return

* Some spelling

* oops

* Fix tests

---------

Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Diogo Sousa <montezdesousa@gmail.com>
2023-01-30 13:22:32 -05:00
Jeroen Bouma
b94cf6cdf9 Add keywords and descriptions (#4052)
Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-30 11:00:08 -05:00
Luqman
04463e59a9 Nightly Build Optimization (#4073)
Optimize nightly build
2023-01-30 16:27:15 +01:00
montezdesousa
ef54049aa2 fix uk daily data (#4078)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-30 10:21:15 -05:00
Peter Oroszvári
4c80b75591 Fix incorrect column label in nasdaq_model.py (#4063)
* Fix incorrect column label in nasdaq_model.py

'Time (GMT)' changed to 'Time (ET)'

* Update tests

---------

Co-authored-by: petycomppety <30414255+petycomppety@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2023-01-30 09:57:18 -05:00
Diogo Sousa
7c7ba95a6e fix yf.info bugs and allow more bench options 2023-01-30 14:56:13 +00:00
Danglewood
a3a134505e Clarifies the Balance example by including, timeframe = '2021' (#4072)
Companies have not finished reporting F/Y 2022 earnings, including `timeframe='2021'` ensures that results are returned.
2023-01-30 08:50:19 -05:00
Diogo Sousa
5a591e2e13 fix log filenotfound exception 2023-01-29 17:57:44 +00:00
James Maslek
f4bd3964c6 Bumping yfinance to 0.2.9 and updating ruff (#4059) 2023-01-28 21:14:54 -05:00
James Maslek
eb2c11060d Refactor requests throughout (#4033)
* bump

* Initial function write

* Delete this line from yaml

* Changed all the main things - Need help on tests

* pylint errors

* Tests v0

* Tests v1

* Tests v2

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
2023-01-27 14:01:07 -05:00