montezdesousa
18d1ce0df5
Add missing qa functions capm, beta, cusum, acf, qqplot, hist, line ( #3499 )
2022-11-21 10:49:18 -05:00
Henrique Joaquim
976d5dfccc
Fix crypto 3327 ( #3434 )
...
* removed get_coinpaprika_id from the view
* reorganized a bit
* removed unused functions
* removed unused functions
* removed unused imports
* cleaning
* cleaning
* fix tests
* fix template report
* fix template report
* fixing imports
* fixing imports
* fix report
* fix report
* fix report
* fix tests
* small fixes after merge
* linting
* split find into view and model
* added tests for view
* add tests to model
* black
* unused import
* disbale import oustise top level
* removed view from sdk
* added example
2022-11-21 14:48:40 +00:00
James Maslek
4fc2edf0fb
single sdk unit test ( #3489 )
2022-11-19 14:23:56 -05:00
James Simmons
c875f4f633
Fixes to Automated Builds ( #3483 )
...
* first
* changing int tests to run all
* commenting out economy
* workflow step to delete env
2022-11-19 13:28:04 -05:00
James Maslek
fa2ca4e566
fixes ( #3488 )
2022-11-19 13:26:44 -05:00
James Maslek
ff89e32cb3
Trailmap fix ( #3487 )
2022-11-19 09:07:04 -05:00
montezdesousa
1d3e468cb9
Portfolio optimization - plot, show and load endpoints ( #3443 )
...
* minor changes
* add spaces to print help
* start _show refactoring
* partial refactor po
* fix ef view
* refactor plot
* remove some unused stuff
* refactor charts
* forgot this
* validate input type
* change func name
* rename some endpoints
* move statics
* turn some args to kwargs
* rewrite equal docstring
* equal docstring again
* add docstrings and move some statics
* fix maxsharpe terminal bug
* refactor show
* fix ef
* add integration tests
* fix category bug
* fill some examples
* add more examples and fix nco
* add more examples
* add one more example
* add examples file
* add examples to load
* add detail to example
* add integration tests
* fix doc
* fix teste
* black
* flake
* pylint
* Linting
* Fix return
* Trying to fix display_plot
* display_rc_chart -> display_rc
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-11-18 20:56:16 +00:00
montezdesousa
570e579067
Portfolio docstring example fixes and some bugs ( #3431 )
...
* fix doctest
* fix some type hints
* reorganize portfolio folders
* fix rfr
* fix vol bug
* fix more docs
* fix failing test
* doc typo
* numpy fix
* pydocstyle
* regenerate website docs
2022-11-18 19:30:55 +00:00
James Simmons
b50532409b
changing options legends sizes ( #3460 )
...
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-18 10:11:59 -05:00
James Maslek
95db246ec4
Making the SDK more intuitive. ( #3450 )
...
* Add earnings to fa trailmap. More trailmap deletes
* Crypto renaming
* Economy futures sdk
* Forex quote function
* Update events docstring
* pydocstyle on this file
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-18 09:08:49 -05:00
Colin Delahunty
cca41d4f08
Fixing various bugs ( #3474 )
...
* Fixed warning message
* Refactored screener menu
* Pylint fix
* Fixed bugs
* With bug
* Choices : update error message
* Fixed issues
* Fixed more bugs
* Fixed more bugs
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-11-18 09:08:29 -05:00
Chavithra
2273a705fd
Choices Generation : Forex ( #3475 )
...
* Choices : add support for StocksBaseController and CryptoBaseController
* Choices : Forex
* Choices : disable by default
* Choices : update parent_classes
* Choices : forex/qa
* Linting
* Choices : choices -> choices_default
* Choices : fix
* Choices : fix issue with int and float list
* Tests : forex/qa and forex/ta
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-18 12:59:39 +01:00
martinb-bb
6393d84f43
fix rendering issue with update sdk with _chart ( #3455 )
2022-11-17 22:44:04 -05:00
James Simmons
6f854d0f33
Small SDK_README changes ( #3437 )
...
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-17 17:38:08 -05:00
James Simmons
35c2177460
fixing model, view, and controller ( #3439 )
...
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-17 15:05:10 -05:00
martinb-bb
e84d78e255
report fix ( #3435 )
2022-11-17 15:03:45 -05:00
martinb-bb
2a084833a3
Fix for covid cases export ( #3447 )
...
* fix
* fixing export to have datetime as a column not index
2022-11-17 13:48:42 -05:00
James Maslek
3dd9fb9567
Fix reports after SDK changes ( #3444 )
...
* Fix sdk changes
* Forex report
* Crypto Report
* etf report
* economy report
2022-11-17 12:43:40 -05:00
James Maslek
1435227c77
Oanda Bug ( #3426 )
...
Co-authored-by: Chavithra <chavithra@gmail.com >
2022-11-17 12:10:34 -05:00
Colin Delahunty
963ca9b2b9
Audit SDK and View/Model functions ( #3384 )
...
* Initial commit
* Finalized functionality
* update script
* Allow using it without forecasting
* Update gitignore
* Update `sdk_audit.py`
* Fixed issues, found more
* Added fix for helper functions, and column for SDK type
* Checked one more thing
* Moved file
* Move files ending with models/views
* Added fix of name
* Added file path fixes
* Patch to fix sdk_audit for windows
* fix
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-11-17 16:25:36 +01:00
Colin Delahunty
968ff588f0
Fix Bugs ( #3433 )
...
* Covid error handling and US country fix
* Added fix
* Added fixes to how tests work
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-17 08:56:37 -05:00
Chavithra
c77560ebcd
Add choices generation ( #3441 )
...
* Add choices generation
* Update forex_controller
* Remove raised exception
* Linting
* Linting
* Linting
* Tests
2022-11-17 12:44:16 +01:00
James Maslek
d91eb57f16
SDK mapping refactors + FA refactor ( #3440 )
...
* First commit
* Other sources
* Update trail map
* Couple more trail map updates
* Balance Sheet SDK
* Cash flow for SDK
Co-authored-by: Chavithra <chavithra@gmail.com >
2022-11-17 10:03:14 +00:00
Colin Delahunty
d29ba43ee0
Top100docs ( #3436 )
2022-11-17 08:41:06 +01:00
James Simmons
8e18d47298
Fixing exit command on forecast menu ( #3421 )
...
* adding additional exit to queue
* changing forecast controller
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-16 10:56:35 -05:00
Chavithra
daad177673
SDK : use _chart for views ( #3429 )
...
* SDK : use _chart for views
* Linting
* Update reports
* Remove chart=True in reports
* Linting
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-16 16:07:29 +01:00
Henrique Joaquim
c9be1155c2
Fix #3326 ( #3425 )
...
* removed get_coinpaprika_id from the view
* reorganized a bit
* removed unused functions
* removed unused functions
* removed unused imports
* cleaning
* cleaning
* fix tests
* fix template report
* fix template report
* fixing imports
* fixing imports
* fix report
* fix report
* fix report
* fix tests
* small fixes after merge
* linting
Co-authored-by: jose-donato <43375532+jose-donato@users.noreply.github.com >
2022-11-16 14:13:21 +00:00
montezdesousa
02901f1473
Trim command output spaces ( #3424 )
...
* first round of removing spaces
* remove more print statemnts
* remove more spaces
* bullbear color
* spacc color
* improve stalker readability
* delete more spaces
* reddit colors
* rever hood
* flake8
* forgot this one
* fix econometrics tests
* fix econometrics tests
* fix more tests
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-16 11:47:24 +00:00
James Simmons
418fef58e4
Forecasting sdk and environment changes ( #3381 )
...
* Forecasting sdk and environment changes
* reverting back to correct pyproject version
* reqs update for protobuf
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
2022-11-15 23:46:00 -05:00
teh_coderer
59d8b36bb0
[IMPROVE] Fix Docstring formatting/Fix missing, incomplete type hints ( #3412 )
...
* Fixes
* Update stocks_helper.py
* update git-actions set-output to new format
* Update stocks_helper.py
* Update terminal_helper.py
* removed LineAnnotateDrawer from qa_view
* lint
* few changes
* updates
* sdk auto gen modules done
* Update stocks_helper.py
* updates to changed imports, and remove first sdk_modules
* Update generate_sdk.py
* Update generate_sdk.py
* pylint
* revert stocks_helper
* Update generate_sdk.py
* Update sdk.py
* Update generate_sdk.py
* full auto generation, added sdk.py/controllers creation
* missed enable forecasting
* added running black in subprocess after sdk files generation completes
* removed deleted sdk_arg_logger
* comment out tests
* property doc fix
* clean up
* Update generate_sdk.py
* make trailmap classes useable for doc generation
* Update generate_sdk.py
* added lineon to trailmap class for linking to func in markdown
* changed lineon to dict
* added full_path to trailmap for linking in docs
* updated portfolio
* feat: initial files
* feat: added meta head
* feat: added funcdef
* added func_def to trailmap attributes for markdown in docs, added missing type hints to covid functions
* feat: added view and merged with jaun
* Update generate_sdk.py
* Update generate_sdk.py
* Update generate_sdk.py
* Update generate_sdk.py
* init
* fix returns
* fix: random stuff
* fix: random
* fixed encoding issue on windows
* fix: generate tabs
* update
* Update generate_sdk_markdown.py
* Create .pydocstyle.ini
* added type hint classes for views
* fixes
* alt, ba
* alt-economy
* Update finviz_compare_model.py
* fixs
* Update substack_model.py
* Update generate_sdk.py
* last of my section
* porfolio
* po
* Update optimizer_model.py
* fixing more things
* few more
* keys done
* update
* fixes
* Update generate_sdk_markdown.py
* Update generate_sdk_markdown.py
* mypy forecast fix
* Update generate_sdk_markdown.py
* Update generate_sdk_markdown.py
* Update generate_sdk_markdown.py
* fixes
* forecast fixes
* one more fix
* Update coinbase_model.py
* Update generate_sdk_markdown.py
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: jose-donato <zmcdonato@gmail.com >
Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com >
2022-11-15 16:37:49 -05:00
James Maslek
4495d4d2f5
Refactoring econometrics for SDK usability ( #3379 )
...
* Econometrics enhancements
* Docsring
* norm show chart when true
* isort + lint
* Make coint sdk friendly
* mypy?
* Why you miss this locally pylint?
* Clean up granger command
* Tests
* #3323
* Fix up dwat function
* Fix rounding error in test--hopefully
* Update bgod and bpag
* testing mypy
* small commit to help rebase?
* Update Panel OLS stuff. Need some more examples and to fix mypy
* add docstring example
* update controller complete and duplicate printing
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
2022-11-15 09:46:29 -05:00
James Maslek
8bf8201690
Refactor option chain for sdk ( #3414 )
...
* Refactor option chain for sdk
* Lint
* Executive decision about chains function
* Allow chains to specify an expiry
* Fix docstring +fix test + isort
* trail map merge
* Remove some unnecessary trails
* Fixes #3325
* Faster expirations
* This is why we dont skip pre commit
2022-11-15 15:06:35 +01:00
montezdesousa
f1de004567
Remove signatures with volatile date defaults ( #3385 )
...
* 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
* fix dates active command
* fix crypto.change formats
* fix eb formats
* nonzero fix
* format dates crypto.load
* format supply transac
* format hr altindex
* format load crypto
* regenerate docs
* format ba trend dates
* regenerate docs
* format ba trend
* candle defaults
* fix sentiment test
* remove unused import
* shopt
* shopt again
* revert crypto helpers
* test shopt
* fix some tests
* skip trending test
* fix alcoin test
* helpers
* write docs
* rewrite helper
* fix crypto dd defaults
* fix some date defaults
* regenerate website
* fix santiment model
* fix get trending
* fix more defaults
* generate website
* fix ftd view data default
* black
* regenerate website docs
* regenerate docs
* refactor remaining funcs
* pcr doc
* Checkout from main
* flake8
* regenerate docs
* regenerate docs
* fix build
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-11-15 11:19:14 +00:00
James Maslek
e3cd8bdc0e
SDK bugs ( #3420 )
...
* Fixes #3400
* #3996
* #3313
* #3140
2022-11-15 10:48:33 +01:00
Henrique Joaquim
64899696ea
fix hugo ( #3417 )
2022-11-14 20:04:02 -05:00
Henrique Joaquim
438c2eb65f
Fix economy plot ( #3346 )
...
* function to improve the data to plot
* added more user messages
* changed view to be able to return data - so the request is not repeated
* moved ax1.lengend up
* removes nan values from dataframe
* fixed tests on the economy controller
* fixes economy notebook
* removed unsuded Dict
* function does not return anything by default
* function does not return anything by default
* Revert "function does not return anything by default"
This reverts commit 8aca895a5e .
* function does not return anything by default
* removed wrong return type
* lint
2022-11-15 00:59:05 +00:00
James Maslek
cef1fca090
Change common trails to no trails ( #3419 )
...
* Change common trails to no trails
* Update templates
* fix ta/qa switches
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-11-14 16:45:47 -05:00
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
James Simmons
2b60a1cf38
Updating terminal version message ( #3408 )
...
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt >
2022-11-14 11:25:29 -05:00
Henrique Joaquim
0ae89d6cc2
Style fixing: removing --ascend/--descend ( #3395 )
...
* stocks candle to use reverse
* qa raw to use reverse
* etf candle to use reverse
* oss rossix to use reverse
* crypto/defi to use reverse
* crypto/disc to use reverse
* added test
* crypto/dd to use reverse
* crypto/onchain to use reverse
* crypto/ov to use revert
* forex candle to use revert
* conibase controller to use revert
* tests to use reverse
* covid to use reverse
* removing ascend
* removing ascend from econ
* more removing ascend
* more removing ascend
* more removing ascend
* fixing stuff on .md files
* fixed economy controller tests
* fixed screener tests
* fa controller to use comma separated when multiple inputs
2022-11-14 15:04:34 +00:00
James Maslek
625554afa4
fix dashboard imports ( #3410 )
2022-11-14 09:12:01 -05:00
fede
37c943f3d0
[FEAT] StatsForecast MSTL forecasting model ( #3338 )
...
* feat: add mstl model
* feat: update mstl usage example
* SDK : Checkout files from main
* SDK : update forecasting map
* feat: reformat forecast controller black
* fix: add pylint exp to preserve informative warning
* fix: merge formatting
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
2022-11-13 21:15:15 -05:00
fede
d2b49b3438
[FEAT] StatsForecast AutoARIMA forecasting model ( #3336 )
...
* feat: add autoarima model
* Revert "feat: add autoarima model"
This reverts commit a1d0f08a18 .
* Revert "Revert "feat: add autoarima model""
This reverts commit c3e25eff0d .
* hooks
* feat: update autoarima example
* fix: code style
* fix: remove unused file
* SDK : Checkout files from main
* SDK : update forecasting map
* Linting
* fix: merge formatting
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-11-13 18:56:11 -05:00
montezdesousa
46141766d7
Sdk dates ( #3354 )
...
* 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
* fix dates active command
* fix crypto.change formats
* fix eb formats
* nonzero fix
* format dates crypto.load
* format supply transac
* format hr altindex
* format load crypto
* regenerate docs
* format ba trend dates
* regenerate docs
* format ba trend
* candle defaults
* fix sentiment test
* remove unused import
* shopt
* shopt again
* revert crypto helpers
* test shopt
* fix some tests
* skip trending test
* fix alcoin test
* helpers
* write docs
* rewrite helper
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
2022-11-13 11:37:14 +00:00
fede
a790cbc77c
[FEAT] StatsForecast RandomWalkWithDrift forecasting model ( #3339 )
...
* feat: add random walk with drift model
* feat: update rwd usage example
* fix: remove seasonal periods from rwd
* SDK : Checkout files from main
* SDK : update forcasting map
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-11-13 00:28:21 -05:00
fede
d56eedc58b
[FEAT] Automatic Statistical Forecasting ( #3317 )
...
* feat: add autostatsforecast
* feat: update autostatsforecast description
* feat: improve print results
* fix: update autostatsforecat docs (sorted results)
* fix: rename autostatsforecast -> beststatsmodel
* feat: try-except statsforecast imports
* fix: update beststatsmodel example
* fix: delete unused file
* fix: rename beststatsmodel -> autoselect command
* fix: update autoselect command description
* SDK : Fetch `trail_map_forecasting.csv`
* SDK : add `forecast.autoselect`
* SDK : update `sdk.py`
* feat: add pylint exep to preserve informative warning
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com >
Co-authored-by: Chavithra PARANA <chavithra@gmail.com >
2022-11-12 22:42:32 -05:00
Henrique Joaquim
9d26d7746d
Remove mockings ( #3378 )
...
* removed mock break lines
* removing debug print
* keeping break line
2022-11-11 18:42:00 +00:00
Sammac-dev
aed683f440
Feature/attribution toolkit ( #3156 )
...
* add attribution toolkit
* add attrib to test script for portfolio
* removes yahooquery dependency and early rounding
* Update _index.md
* update feature to include raw and type flags, graph always shows, table output optional, one type of output at a time
* Linting
* Update index
* Update index 2
* Update tests
* changes argument descriptions
* Small fix
* Formatting Black
Co-authored-by: S3908818 <S3908818@student.rmit.edu.au >
Co-authored-by: Louise Platts (S3908818) <88080425+s3908818@users.noreply.github.com >
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Louise Amy <74476622+louiseamy4@users.noreply.github.com >
Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local >
2022-11-11 10:28:05 +01:00
Danglewood
b225bd7a1d
Grammar Police ( #3382 )
2022-11-11 09:33:32 +01:00
James Simmons
c8df2c39ce
Removing autocomplete for all limit ( #3322 )
...
* all limit fixes
* flake
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-11-10 13:13:48 -05:00