James Simmons
5f5f07c295
Fix bugs for news (SSL, sources) and fred (SSL) ( #2585 )
...
* potential solution number 1
* Making sure certifi is referenced for news and fred
* Fix default sources not being applied
* Add unit and integration tests
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-09-22 19:32:27 +03:00
Om Gupta
c4658b63a9
Add path for custom_imports outside the terminal ( #2567 )
...
* add log path
* add test to check if log file is in correct dir
* env path
* black
* mypy fix
* add styles folder and styles from repo
* add timezone as env variable
* fix changes with main
* fix test
* flake8
* fix linting
* fix linting
* changes
* custom changes
* add custom_imports outside terminal
* black
* black terminal
* fix test
* fix merge and remove styles/user
* some stylistic changes and remove move_files
* flake8
* merge main
* merge move and make into paths_helper
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-09-22 14:50:29 +01:00
montezdesousa
16b2a7a20c
Minor fixes in API usage ( #2588 )
...
* add economy helpers
* docstring
* boring default for charts
* black
* fix candle
* fix candle again
2022-09-22 12:24:42 +01:00
Chavithra
55a39e3407
Updating feature flags : logs ( #2568 )
...
* FeatureFlags : logcollection
* Tests : logcollection
* Core : log collect
* Core : fixing REPOSITORY_ENV_FILE path
2022-09-21 16:40:18 +02:00
jose-donato
1661ddd440
Integrate live feeds from Pyth ( #2178 )
...
* added dependency
* added pyth models
* dependencies
* docs
* some improvements to this pyth command (#2433 )
* some improvements to this pyth command
* minor improv
* dependencies
* tests
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt >; COlin
2022-09-21 13:32:03 +01:00
jose-donato
8216e8581f
Update README.md ( #2581 )
2022-09-21 10:05:17 +01:00
Colin Delahunty
8731fbd692
Auto Generate API Documentation ( #2360 )
...
* Started auto doc generation
* Created a markdown document
* Added test changed to md
* Created working version of new documentation
* Made requested changes
* Generate docs for all
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-09-20 19:15:54 +01:00
minhhoang1023
cb7423d8c6
Fix equity report & Update API docs on Hugo ( #2573 )
...
* Fix equity report not working
* Fix equity report not working
* Update Hugo server on API
2022-09-20 16:47:34 +01:00
Chavithra
72b0a9f1ee
Next release : reports on steroids ( #2349 )
...
* fix gov tests
* refactor insider
* new virtual path extraction
* removed some symbol default params as they're considered critical
* little adjustments
* portfolio refactor
* merge API factory
* add helpers, stocks, crypto, forex
* minor forex changes
* include forex api paths
* add 2 missing forex funcs
* portfolio brokers refactor
* display help on api func call
* add econometrics virtual paths to api
* add api unit test
* fixed report for the new api
* minor portfolio refactorings
* added gdapps
* anchor_yield path
* some more crypto path fixes
* small change
* fixed wrong param
* minor fixes
* wip - inital commit for forex report
* add bw as a model, we'll get better solution afterwards
* added ema with dummy model as it adds great functionality to the report
* minor fixes
* wip - added functions to forex report
* add feedparser news path
* add new virtual paths to api
* adding commands to equity report
* revert to old paths, new ones were breaking
* Add in very basic ETF report
* Add candle chart to ETF report
* add etf load
* allow use of candle without data
* add raw to candle
* added forex report
* ongoing equity report
* equity report change
* fix some portfolio bugs and add docstrings
* include portfolio paths and coin class
* add crypto paths
* change event dates to str
* starting economy report
* window for limit
* equity report and refactor newsapi
* add helper to api
* update on economy report
* equity report
* update economy report
* refactor some docstrings
* change maturities helper
* refactor newsapi
* refactor futures command
* add some sauce to ycrv plot
* black
* update report
* refactor alphavantage
* refactor wsj
* update economy report
* ycrv tenor
* map avaiable_indices
* map economy helpers
* fix econdb docstring
* add plots on economy report
* minor fixes
* wip - crypto report
* update economy report
* added same default args as view
* added view to explicity use chart=True when suing the api
* adjustments - removed rich tables to use only df
* final version economy report
* change report name
* equity report for review
* linting
* add etf symbols endpoint
* incorporate feedback economy report
* fix reports launch by adding tag to economy report
* fix equity bug
* remove analyst name
* fix
* fix news
* make links hyperlinks for equity
* click links
* fixed arg name
* improved news
* small improves
* Fix light terminal stylesheet that would prevent using it in notebooks (#2473 )
* improved report
* run reports in installer
* fix #2209
* minor ycrv refactoring
* refactor portfolio/holdv virtual path
* refactor benchmark trades
* fix events args
* adapt economy report to changes
* fix portfolio controller bug
* holdv refactor
* refactor perf command
* start portfolio report
* remove perf view
* refactor holp
* add textwrap3 to poetry (doesn't solve the error)
* fix equity after merge
* add some rolling commands
* fix equity after save button
* improved crypto report, plus minor fixes
* minor fixes on the reports
* add maxdd and distr
* refactor qa
* var command
* refactor qa expected shortfall
* add es command
* add es command
* fix qa percentile bug
* fix economy rendering
* refactor qa omega
* add om command
* add summary command
* add dret command
* add mret command
* add yret command
* add metrics
* add allocs to report
* remove bro and po commands, add later
* fixed some tests
* adjustments to crypto report
* Fix docstring for VSCode
Added a note about installing Jupyter PowerToys extension for optimal API usage in Jupyter VSCode, in the API_README.md.
* minor adjustment
* remove nft calendar model virtual paths
* Add in Portfolio report
* fix external axes portfolio view
* Update portfolio report with rolling plots
* Details for ETF and Portfolio
* fix economy report
* change analyst to openbb
* floppy
* fixed unmatched axis in reports
* Speed up tests
* fix file and load on po
* get_news output
* add some po paths
* Add integration tests for Reports menu
* refactor maxsharpe
* open maxsharpe
* open minrisk
* open maxutil
* open maxret
* Added fixes
* black
* remove useless views
* Fixed small issue
* refactor ef
* open ef api
* portfolio optimization report
* Added fixes
* unblock api loading
* add more endpoints
* update po report
* unblock api loading
* update po report
* expose herc
* expose property endpoint
* Added fixes
* More api fixes
* flake8
* Fixed some mypy
* news api model
* flake8
* mypy fix
* mypy
* black
* pylint
* fix tests
* markdown
* markdown
* Added fixes
* fix economy report
* merge
* fix economy report
* remove empty notebook
* expose nco
* remove jupyter notebook
* expose plot endpoint
* remove po report, just used for tests
* api v paths plot
* remove api_old
* change loading msg
Co-authored-by: montezdesousa <montezdesousa@gmail.com >
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: Om Gupta <guptagom@gmail.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: JerBouma <jer.bouma@gmail.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: Om Gupta <85685255+soggyomelette@users.noreply.github.com >
Co-authored-by: Diogo Sousa <diogosousa@Diogos-MBP.lan >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: northern-64bit <75195383+northern-64bit@users.noreply.github.com >
Co-authored-by: colin99d <colin99delahunty@gmail.com >
Co-authored-by: Minh Hoang <nminh.hoang1023@gmail.com >
2022-09-20 15:07:58 +01:00
Chavithra
017725eb63
Improving styles loading ( #2569 )
...
* Core : changing path variable name
* Core : styles
* Terminal : style
* Core : styles
* Core : styles
* Fixing linting
* Fix linting
2022-09-20 14:34:30 +02:00
Colin Delahunty
d85ede6a22
Pylint ( #2563 )
...
* Speed up tests
* Update pylint
* Removed unneeded
2022-09-19 11:33:01 +01:00
James Simmons
7c69964ecb
updating drafter version ( #2554 )
...
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-09-18 16:15:58 +03:00
James Maslek
9deb06d733
Friday night bugs ( #2557 )
...
* bug 2548 to fix stocks/gov/topbuys
* lets not print the df
* stocks/gov/lasttrades help #2547
* #2531 earnings issue
* Add a check in contracts that the amounts are more than 0
* Fxiix tests
* #2516
* #2516
* #2511
* Break up the estimates into 3 different options
* #2532
* mypy fix
* pylint fix
2022-09-17 12:57:39 +01:00
raviolispy
3964705101
#2212 Removed hist and trend comamnds from /stocks/ba ( #2284 )
...
* Removed hist and trend comamnds from /stocks/ba
* Removed trend and hist command from /stocks/ba help menu
* Fixed whitespace issue
* Fixed test_print_help for ba controller
* Fixed pylint issues
* fix test
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: Ravioli Spy <raviolispy@users.noreply.github.com >
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: colin99d <colin99delahunty@gmail.com >
2022-09-16 23:04:01 -04:00
Om Gupta
9ab533df03
remove custom menu ( #2551 )
2022-09-16 22:36:41 -04:00
Om Gupta
f18c44b066
New path for styles and add timezone as environment variable ( #2509 )
...
* add log path
* add test to check if log file is in correct dir
* env path
* black
* mypy fix
* add styles folder and styles from repo
* add timezone as env variable
* fix changes with main
* fix test
* flake8
* fix linting
* fix linting
* fix issue with light mpl stylesheet
* change timezone variable name
* change names
* change names
* names
* simplify paths.py
* change some names
* fix error in logic
* remove 3.11 from testing for now
2022-09-16 17:46:20 +01:00
DidierRLopes
cc076bbdb9
add a new routine based on Twitter thread ( #2555 )
...
* add a new routine based on Twitter thread
* fix minor things
2022-09-16 12:07:23 +01:00
Chavithra
c71bc53307
Fixing stocks/rolling ( #2550 )
2022-09-15 16:15:12 +02:00
James Simmons
fbdf6e7858
adding warning to news ( #2545 )
...
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-15 15:04:53 +03:00
James Maslek
000e75baf5
Comment out options screener for short term ( #2544 )
2022-09-14 13:23:25 -04:00
James Maslek
7d3ffa80c2
forgot to change colors ( #2543 )
...
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-14 12:05:07 -04:00
jose-donato
40490054fd
[bug] nft price model ( #2475 )
...
* Update nftpricefloor_model.py
* fixes to match new api
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-14 15:17:20 +01:00
DidierRLopes
f4bbcbc31c
suggest data sources to use for a command ( #2518 )
...
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-14 15:17:01 +01:00
hjoaquim
d508c5e815
Added export to stocks/qa/beta ( #2510 )
...
* added export to beta
* added alpha and beta to filename and removed it from the actual file
2022-09-14 15:16:33 +01:00
James Maslek
271d677f2c
Heatmap fix percents ( #2541 )
...
* get rid of /100
* fix issue in options source
2022-09-14 10:05:58 -04:00
jose-donato
0f23910e59
removed nftcalendar.io ( #2540 )
...
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-13 22:47:02 +01:00
James Simmons
43dd40a8ee
patching news with comments ( #2530 )
...
adds functionality to keep runnings news until data is received. stops after 60 tries
2022-09-13 09:41:37 -05:00
montezdesousa
e3b4ff5e7c
[Bug] Crypto/DeFi/pools - Error: display_uni_pools() got an unexpected keyword argument 'descend' ( #2539 )
...
* fix ascend arg
* black
2022-09-13 14:38:05 +01:00
hjoaquim
a73c123c3c
ensure cmd is a well formed json string ( #2523 )
2022-09-12 14:46:52 +02:00
jose-donato
1bdaa03cdc
Some docs improvements ( #2528 )
...
* some docs improvements
* small upd on link
* updated favicon
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-12 12:45:57 +01:00
Om Gupta
3d0190e35b
New path for .env ( #2508 )
...
* add log path
* add test to check if log file is in correct dir
* env path
* black
* mypy fix
* linting
* add make_paths and change references
* terminal change
* change constants to paths
* change names
* black
* mypy
* mypy
* pylint else
* add make paths
* remove custom user dir name
Co-authored-by: Chavithra <chavithra@gmail.com >
2022-09-12 11:56:45 +01:00
James Simmons
7342b07fc1
Revert back version ( #2527 )
...
* Update setup.nsi
* Update pyproject.toml
* Update feature_flags.py
2022-09-09 20:21:23 -04:00
James Simmons
85d1a43127
Release/1.8.1 ( #2526 )
...
* Update pyproject.toml
* Update setup.nsi
* Update feature_flags.py
2022-09-09 18:50:35 -04:00
James Simmons
c762cc59db
bug fixes ( #2515 )
...
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-09-09 18:23:00 -04:00
James Simmons
ce0858ac4f
Adding feedparser to spec file ( #2525 )
2022-09-10 00:56:32 +03:00
montezdesousa
291e7d6991
Add ETF support for portfolio allocation command ( #2143 )
...
* fill etf and prevent different length errors
* auto fill etf sectors and allow 0 value portfolios
* allow 0 value portfolios
* remove unused folder
* allow 1 asset portfolios
* split allocation calls by category in controller
* comment sector allocation model
* get country and region allocations for etf
* add comments and black
* improve comments
* improve comments
* allow for 1 category in sector, country and region
* add progress bars
* linting fix
* fix mypy
* set default date
* fix pylint
* add isin on paexport
* merge main
* auto pre load benchmark
* fix rich table for np.float64
* refactor portfolio allocs
* refactor alloc command
* add isins column
* format output alloc
* rename variable
* fix nan bug
* black
* add ticker conversion to yf format by isin
* warn and removed unsupported ISINs
* solve same day trades bug
* display bench loading progress
* portfolio show
* check if valid isins on preprocessing
* black
* fix bug when region empty
* warn when category is empty
* reformat preprocessing
* codespell
* check if ticker is valid
* flake8
* fix test
* fix bug with trades on holidays
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com >
2022-09-09 15:12:59 +01:00
James Simmons
10fce6d1d7
Release/1.8.0 ( #2521 )
...
* Update pyproject.toml
* Update setup.nsi
* Update feature_flags.py
* M1 macos build system (#2504 ) (#2514 )
* Create m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* taking out notarize and staple
includes codesigning tho
* changing prediction install
I am expecting a code sign error instead of a running the actual executable error. trying with -e prediction instead of -e prediction-m1-mac
* Changing prediction, keeping code signing
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* taking out integration tests
* rerun
* Update m1_macos_build.yml
* adding pred back to turn to false
* making same as upstream release
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
* Changing detatch disc location
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-09-08 19:21:01 -05:00
DidierRLopes
3381a9a907
Allow reports comments to be saved in a new HTML ( #2507 )
...
* allow reports comments to be saved in a new HTML
* clear output of equity report
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-09-08 12:25:55 +01:00
James Simmons
1766e2fe3f
M1 macos build system ( #2504 )
...
* Create m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* taking out notarize and staple
includes codesigning tho
* changing prediction install
I am expecting a code sign error instead of a running the actual executable error. trying with -e prediction instead of -e prediction-m1-mac
* Changing prediction, keeping code signing
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* taking out integration tests
* rerun
* Update m1_macos_build.yml
* adding pred back to turn to false
* making same as upstream release
* Update m1_macos_build.yml
* Update m1_macos_build.yml
* Update m1_macos_build.yml
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-09-07 16:05:49 -05:00
Om Gupta
eff4632df9
New path for logs ( #2502 )
...
* add log path
* add test to check if log file is in correct dir
* small change
* Adding paths
* change to paths.py
* black
Co-authored-by: Chavithra Parana <chavithra@gmail.com >
2022-09-07 12:14:17 +01:00
James Maslek
f856a2f212
Add heatmap function to stocks disc ( #2454 )
...
* Add heatmap function
* Reinstalled black. Weird
* fix export and lint
* fix test
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-06 21:15:47 -04:00
Danglewood
fbbb97ef14
Updates fa_demo.openbb to be compatible with the --source and default sources refactor. ( #2503 )
...
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-09-06 20:34:29 -04:00
DidierRLopes
e6eafc0ed9
Improve ux experience through auto completer ( #2483 )
...
* improve ux experience through auto completer
* flag unused arg
* refactor economy menu to use autocompleter
* fix edge case of user changing command after having written an input for it
* fix autocomplete with backspace + ycrv coutnry flag
* another fix
* another fix
* final iteration on auto-complete?
* last fix? plus better way to plot multiple datasets in same axis
Co-authored-by: James Maslek <jmaslek11@gmail.com >
2022-09-06 23:04:23 +01:00
James Simmons
926cf0c147
Intel installer bug fix ( #2505 )
...
* solution try 1
* solution 2
* Delete entitlements.plist
* fixing locations
* uncommenting integration tests
* Changing names
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-09-06 16:39:28 -04:00
hjoaquim
a8c9b4ee6e
added wiki command ( #2492 )
...
* added wiki command
* changed the wiki command to below update and get rid of unnecessary variable assignments
* fixed black and import
* added a line for wiki in the docs
* fix linting
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-09-06 11:52:41 +01:00
hjoaquim
37340beaf6
Adds a warning regarding /stocks/ba/jcdr ( #2501 )
...
* added warning message
* Update warnings
* fixed tests by forcing rewrite
Co-authored-by: minhhoang1023 <40023817+minhhoang1023@users.noreply.github.com >
2022-09-06 10:40:24 +01:00
James Maslek
92991fc4e3
Get rid of option expirations in the past for Nasdaq + bugs ( #2498 )
...
* Get rid of option expirations in the past for Nasdaq + clean up bug
* Add in currency for yfinance financials
* Added fixes
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: colin99d <colin99delahunty@gmail.com >
2022-09-06 09:05:07 +01:00
Jalil F
bfb14e1a53
Adding optional columns before compute with columns. ( #2445 )
...
* Adding optional columns before compute with columns.
* Improve logic flow of optional portfolio fields.
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com >
Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-05 15:13:06 +02:00
Christian Clauss
335a7b9ede
com2ann: Convert type comments into Python type hints ( #2325 )
...
* com2ann: Convert type comments into Python type hint
* com2ann: Convert type comments into Python type hint
* com2ann: Convert type comments into Python type hint
* com2ann: Convert type comments into Python type hint
* Placate pylint
* pylint: disable=unused-argument
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt >
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com >
2022-09-05 12:44:13 +02:00
northern-64bit
9c5ad13e2a
[Bug] Fixes the stocks ca cashflow command ( #2486 )
...
Fixes issue #2478
Co-authored-by: James Maslek <jmaslek11@gmail.com >
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com >
2022-09-05 11:34:04 +02:00