montezdesousa
8e9e6bd57f
Incorporate portfolio class into SDK ( #3401 )
...
* create functions to interact with portfolio
* fix some docstrings
* view docstrings
* make portfolio loading available in sdk
* reorder some methods
* fix bug
* update controller
* update website
* remove import
* change input name
* regenerate website
* change portfolio arg name
* fix metrics bugs
* fix report
* refactor assets alloc
* refactor assets sectors alloc
* remove unecessary attributes
* refactor allocaasset sector
* reorganize class
* first refactor alloc
* refactor portfolio alloc
* black
* fix alloc bug
* regenerate sdk website
* fix alloc bugs
* forgot this exception
* some refactor on portfolio alloc country region
* fix some allocation bugs
* add examples
* regenerate website
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-14 11:27:34 -05:00
Chavithra
b93671ad0b
SDK : faster and simpler architecture ( #3289 )
...
* SDK : split features
* Fix linting
* SDK : remove functions
* SDK : update openbb object building
* SDK : comments
* Typing
* Typing
* Typing
* SDK : update logs
* SDK : Breadcrumb
* SDK : Breadcrumb + Operation
* SDK : spell
* Linting
* Tests : SDK
* SDK : Operation
* SDK : Operation
* Linting
* enable wrong import position
* added logging info
* added log supression
* reverted the order
* SDK : update trail_map
* log suppresion as configuration
* changes reports to use the new sdk
* changes dashboards to use the new sdk
* changes dashboards to use the new sdk
* updated the documentation
* Tests + Linting
* Replace old sdk by new sdk
* Linting
* SDK : import + map_dict
* Linting
* Linting
* SDK : sdk + trail_map
* Linting
* SDK : forecasting
* SDK : update import path
* SDK
* SDK : md
* Linting
* removed unused functions
* trunc args to a max of 100 characters
* added logging when exceptions
* .md files
* SDK : add signature on operation + linting + remove trail on Breadcrumb
* Linting
* Move tests
* Linting
* Linting
* Linting
* Linting
* Linting
* Linting
* Linting
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
2022-11-09 22:25:12 +01:00
montezdesousa
cd420c51c7
New format for SDK documentation ( #3211 )
...
* example changes in slopes
* change lettering size and side bar capitalization
* revert back to Fira
* start automatic website generation
* this was autogen
* add examples to slopes model
* generate slopes doc
* change to _index.md
* allow italic formatting
* fix regex
* option to regenerate paths
* update alt docs
* fix generate
* update alt
* fix generate
* update common
* target italic only for types
* format alt
* format italic common
* add sig indentation
* update sig indent alt
* update common ident
* add todo
* generate docstrings for all menus
* fix maxdd
* fix returns font size
* fix keys docs
* fix more docstrings
* escape literal symbols
* escape literal symbols
* reformat keys
* format opt
* remove literal escape
* remove another literal escape
* remove another literal escape
* unindent returns
* update docs return unindent
* add comma in last arg
* fix funcs without params
* fix signature
* compact some code
* refactor some more code
* refactor some code
* some final cleanup
* write docstrings
* change main
* move futures paths
* generate futures docs
* add external axes references
* fix typo
* revert to double docstring
* fix small bug
* remove docs folder
* generate.py in website folder
* add forecast to docs
* clear some warnings
* fix underscore
* remove cite
* refresh website docs
* fix forecast docstrings
* fix po
* fix po docs and remove italic
* fix more docstrings
* remove last warning
* codespell
* flake8
* exclude website contente from flake
* noqa on optimizer
* update website
* fix mypy
* remove setup from mypy
* mypy to openbbterminal
* update precommit
* pylint
* try to remove sdk loading issue
* avoid logging on test
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
2022-11-09 13:00:10 +00:00
fede
a4e5e436d5
[FEAT] StatsForecast AutoCES forecasting model ( #3337 )
...
* feat: add autoces model
* feat: update autoces example
* fix: remove unused file
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
2022-11-08 15:27:12 -05:00
fede
de0125076e
[FEAT] StatsForecast SeasonalNaive forecasting model ( #3340 )
...
* feat: add seasonalnaive model
* feat: update seasonalnaive usage example
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
2022-11-08 14:16:11 -05:00
jose-donato
15b9e0f966
Fix 3043 ( #3268 )
...
* fix(docs): added margin between sections
* fix: moved files to right context
* fix: updated path
* fix: apis
* fix: tests
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-07 11:38:23 +00:00
Colin Delahunty
5c975cf93d
Refactored quote command ( #3304 )
...
* Refactored quote command
* gotchu colin
* Test
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-04 23:00:40 -04:00
Colin Delahunty
1f4c150dc2
Refactors Econometrics and Forecast load commands and controller ( #3299 )
...
* Replaces / with _ when loading forecast
* Makes econometrics and forecast load function one common function
* Remove examples from forecast and fix econometrics load --examples bug
* Fixed some tests
* Expands error handling, fixes SDK routes
* Added error handling
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-04 11:27:16 -04:00
Colin Delahunty
0ba31b4262
Added fixes to economy report ( #3305 )
...
* Added fixes to economy report
* Delete economy_report.html
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-04 10:17:56 -04:00
James Maslek
a0cc590e28
Get rid of funds menu....for now ( #3292 )
...
* Get rid of funds menu....for now
* Website + sdk
* GEt rid of website/sdk files
* GEt rid of website/termina/funds files
* rerun generate py twice. committing all
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-04 10:29:52 +01:00
andrewkenreich
41a764fd5f
fix a bunch of cryptooooo ( #3220 )
...
* fix crypto term API +[Bug] crypto/dd/funot #3187
* Fix #2 - combining commands error #3186
* fix [Bug] `crypto/dd/stats --vs` not avail #3181
* fix title on stats
* fix -h [Bug] #3182
* fix #3169
* remove command [Bug] #3096 - source bad
* fix [Bug] #3097
* fix #3103 convert dtypes and fix descend
* fix [Bug] sort and descend errors #3101
* [Bug] `crypto/defi/tokens --sort` #3098
* fix #3060
* removing unneeded tests
* running tests
* tests 4 u andrew
* remove dpi from sdk
* fix merge conflict
* rename vs -> to_symbol
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-02 13:18:42 -04:00
Colin Delahunty
231227c1d8
Changed where sdk events points to ( #3265 )
...
* Changed where sdk events points to
* replaces blank string with empty list
* Removed helper print
* Added report
2022-11-02 09:01:13 -04:00
jose-donato
9b05c15e86
Adds crypto features missing in SDK ( #2989 )
...
* fix(docs): added margin between sections
* fix: added/changed missing crypto commands in sdk
* fix: added logging to ccxt and sdk fix
* fix: vs_currency -> to_symbol; num -> limit
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-11-01 18:37:13 -04:00
James Maslek
9722c338cf
Spoooooky bugs - Futures menu ++ ( #3230 )
...
* Some futures cleanup
* #3141
* Fix #3146
* Add check to covid slopes
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
2022-11-01 11:55:21 +01:00
DidierRLopes
7c31cc319e
Fix SDK plot colors without needing openbb.stocks.candle ( #3178 )
...
* fix SDK plot colors without needing openbb.stocks.candle
* lint
* ordering
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-01 09:04:01 +01:00
fede
826303eec1
[FEAT] StatsForecast AutoETS forecasting model ( #2988 )
...
* feat: add autoets model
* feat: update autoets index
* feat: add verbose option
* feat: freq preprocessing
* feat: improve test size call
* feat: add statsforecast dep to conda env full
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
2022-10-31 14:58:16 -04:00
Colin Delahunty
8772ac738f
Added error handling ( #3070 )
...
* Added error handling
* Added command to SDK
* Updated docs
* Fixed tests to account for new error handling
2022-10-31 13:31:33 -04:00
Colin Delahunty
a690e40ea4
Fixed Warning Message on Command ( #3081 )
...
* Fixed warning
* Added docks
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
2022-10-27 10:29:40 +01:00
montezdesousa
a9787dd2d1
Refactor reports menu and make it work on installer ( #2878 )
...
* start papermill rollback
* move reports to templates folder
* comment some stuff
* refactor reports controller
* change var names
* clean ctrl class vars
* small refactoring on metadata search
* relocate some func
* breaking changes
* revert some changes
* destroying changes
* change menu appearance
* change menu appeaerance again
* update choices
* change some assets locations
* remove unused vars
* change some docstrings
* rename vars
* its working
* forgot one dash
* omg its working
* clean some code and doc
* change func name
* fix a bug and add some comments
* fix economy report startup
* add custom reports
* allow custom reports
* forgot to delete this
* unused import
* make somestuff more explicit, 5 min rule
* add helper func
* supress errors--no-verify
* add some type checks
* fix check ipynb func
* check inputs in run
* rewrite some integration tests
* remove unused import
* add some docs to website
* add auto completion
* warn if no forecast
* add to do
* add arg name if 1 arg
* add papermill pointing to github main
* add notebooks
* fix terminal spec
* relocated choices files
* merge main
* relocate website docs for reports
* limit user choices
* fix portfolio auto completion
* limit choices fix
* clean som edocstrings
* limit user choices in run command
* improve run parser
* fix msg
* add reports controller tests
* relax crypto choices limit
* contain commands
* pass pre commit
* flake8
* flake8
* ignore mypy
* pylint
* website
* move docs to jupyter tab
* add installer dep
* remove etf
* remove reports
* update reports to main
* handle events erros
* rever reports to previous commits before main merge
* add papermill installer strategies
* add flags to terminal
* avoid sdk crash
* execute notebook in thread
* remove unused sys
* execute report in a child process
* fix some notebook stuff
* fix portfolio report
* fix reports controller volatility
* change api to sdk
* move images
* remove som unucessary installer imports
* remove debugger warning
* move ipykernel launcher
* supress notebook crash
* remove portfolio decorator
* fix run command
* forgot to change this
* add images
* fix portfolio report
* fix crypto report
* linting and tests
* add run integration test
* pylint
* hide reports module args
* try at supressing args
* try at supreccing warning
* solve some os issues
* handle pm errors
* fix warning unrecognized arguments
* change comment
* avoid crash when parameters not found
* fix etf commands
* minor cleanup
* update forecasting check
* fix some linting
* fix futures test
* pylint
* limit user choices to prompt
* limit user choices to prompt
* supress warnings
* revert poetry lock back to main
* papermill pointing to main
* flake8
* forgot requirements
* Update helper_funcs.py
* Update reports_model.py
* choices
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: James Simmons <53658028+simmonsj330@users.noreply.github.com >
2022-10-26 21:27:30 +01:00
Colin Delahunty
e5670aa2b7
Removed cramer ( #3021 )
...
* Removed cramer
* More fixes
* Fixed print output
* Fixed hugo server
2022-10-25 14:13:11 +02:00
James Maslek
b9bbe859b0
Ta/atr function ( #3022 )
...
* Add atr command
* Tests
2022-10-25 11:21:30 +01:00
Colin Delahunty
5c5ab8e5c3
Fixed issues ( #3012 )
2022-10-24 15:31:42 +02:00
Henrique Joaquim
b27d737043
SDK to be logged as config parameter ( #3011 )
...
* Add a parameter to indicate we are logging from the SDK as config instead of an app name
* improve docstring to mention the source
2022-10-24 12:32:11 +01:00
James Simmons
c29d1c5c20
Changing reddit_sent command name (part 2) ( #2986 )
...
* hoping this works
* Moving files and adding test
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-10-22 23:57:15 -04:00
DidierRLopes
8715c3336d
New futures controller ( #2758 )
...
* start futures branch development
* small improvements
* display futures historical
* small improvement
* improve raw
* add curve command
* improve autocompleter
* styling
* add option to select expiry
* Two small things
* Add check that curve not empty
* improve plot and add description futures search
* add check for empty curve earlier on
* merge main
* fix black linitng
* black linting
* add ES to futures
* minor improvements
* Add docs
* Update _index.md
* Update _index.md
* fix crude oil exchange
* fix when dataframe has a single datapoint
* black linting
* add integrated test
* add futures tests
* add futures to SDK
* add tests
* pylint
* ordering
* fix tests
* fix tests
* fixed now?
* fix tests once and for all?
* tests
* helping out didier
* fix tests
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-10-22 22:59:48 +01:00
James Simmons
9345befafe
Spacc command name change (part 2) ( #2987 )
...
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-10-22 16:51:10 -04:00
James Simmons
5fab5a438e
Emacross name change part 2 ( #2978 )
...
* Emacross name change part 2
* Tests : fixing test_bt_model
* Tests : bt
* Tests : run --rewrite-expected
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-10-21 16:54:52 -04:00
Colin Delahunty
90b5e10cf8
Removed warning when importing API ( #2834 )
...
* Removed warning when importing API
* Removed warning when importing API
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-10-20 07:49:25 +02:00
Colin Delahunty
2c41a7b642
Make tests work with the pip package ( #2916 )
...
* Fixed bad darts import
* Fixed spelling
* Added fixes
2022-10-19 14:28:20 +02:00
hjoaquim
ace5ac607f
SDK logs improved ( #2893 )
...
* added console prints
* little refactor for degiro company news
* fixed message always showing even on login fail
* initial test with the api logs
* changes log_settings location in order to use it on the sdk; also, modified the actual settings logging to a json.dumps - in order to get a well formed json str
* added logger to the api
* adding decorator to the function as it's copied
* added arguments to the logging
* remove the double log_start_end decorator
* added func_name_override
* Revert "added console prints"
This reverts commit 61d8224e97 .
* Revert "little refactor for degiro company news"
This reverts commit ca5239fa9e .
* Revert "fixed message always showing even on login fail"
This reverts commit 05793bff8b .
* added typing ignore
* fixed litting
* added logging of theme and keys
* added virtual path to the logging
* fix flake8
* fixing mypy
* removed predict from the settings
* changed the way we get the keys - after the keys controller pr was merged
* dict escaped to json str
* moved the settings logging for a different file
* added different logging for keys, configs and feature flags
* fixing typo
* removed locals - using directly the args and kwargs gives us the same
* fixed black
* adding sensitive words to exclude from logs
* adding chart arg to logging
* adding all args to logs - default or not
* fix linting
* suppressing logs for reports
* solving conflicts
* fix linting
* little change on the way suppression occurs
* changing decorator to get keys state during notebook execution
* removing unused import
* black
* added dashboards to supress logging on sdk
2022-10-18 19:05:28 +01:00
hjoaquim
7136806103
Renaming api to sdk ( #2897 )
...
* renamed api to sdk
* changing docstrings and comments
* changing documentation
* changing .md files
* sdk to SDK
* fix imports on dashboards
* fixed the website docs generator
* re-generate website docs
Co-authored-by: Chavithra <chavithra@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-10-18 12:02:40 -04:00