Commit Graph

3811 Commits

Author SHA1 Message Date
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
James Simmons
b37dcf8979 crypto/ov/categories sort options (#3335)
* fixing categories sort options

* edit

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-10 12:49:27 -05:00
James Simmons
7bc216050a Fixing crytpo/ov/stables bugs (#3333)
* fixing cgstables bug

* edit

Co-authored-by: james <jmaslek11@gmail.com>
2022-11-10 12:23:51 -05:00
James Simmons
eead8af576 Fixing windows build by updating pyproject.toml and commenting out one integration test (#3320)
* trying again

* ipython stuff

* removing stock options integration test

* commenting out

* poetry add charset-normalizer=2.1.1

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-10 11:22:09 -05:00
Danglewood
fb0bc1e044 Moves the content into the right file/location (#3345)
* Moves the content into the right file/location

* removed content that was supposed to be in /common/qa
2022-11-10 10:50:03 -05:00
Jeroen Bouma
c3a3712aae Add in portfolio guides for both portfolio and portfolio optimization (#3357)
* Add portfolio guides

* Remove mistake

* Improve PO

Co-authored-by: Jeroen Bouma <jeroenbouma@Jeroens-MacBook-Pro.local>
Co-authored-by: Luqman Bello O <luqazino@gmail.com>
2022-11-10 15:28:56 +01:00
montezdesousa
7895e227c0 Fix SDK website documentation script (#3371)
* fix doc generation

* remove italic from bool
2022-11-10 11:35:43 +00:00
Colin Delahunty
fb1392ba45 Improve Forex Helper (#3351)
* Fix errors and improve forex_helper

* Small changes

* Fixed how we get interval

* Fixed issues
2022-11-10 08:59:27 +01:00
James Maslek
d303378809 hugo hotfix (#3359)
* hotfix

* regenerate from old commit
2022-11-09 17:47:27 -05:00
Theodore Aptekarev
54aaa962f9 Add basic PR labeling reviewpad automation (#3310)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-09 16:40:27 -05:00
montezdesousa
9951461df8 remove -p from perf (#3344)
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-09 16:37:27 -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
James Maslek
f7d63fa499 Adding some test coverage (#3316)
* Fix the formatting test by changing futures input to symbol not ticker

* Regenerate sdk docs

* Add test for economy macro

* fred query test

* Futures

* FRED Test

* lint

* flake fix

* black fix

* futures again

* Test Index

* Add treasury tests

* pylint ignore too many lines

* FOrgot end date
2022-11-09 15:52:20 -05:00
Colin Delahunty
6dea3a931a Stock Integrated Tests (#3353)
* Fixes

* Added better handling

* Adds more handling

* Adds more handling

* Added screener handling

* Added fixes

* Added fixes
2022-11-09 11:31:24 -05:00
James Simmons
0b176effc3 Papermill installer specific version (#3332)
* m1 mac

* windows

* intel

* adding conda activate to windows

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-11-09 11:30:46 -05:00
andrewkenreich
2911908d09 initial commit - colin please fix tests (#3309)
* initial commit - colin please fix tests

* left a print

* removed duplicate functions, and fixed matplotlib error when no volume

* pylint fix, removed raw from display_candle

Co-authored-by: teh_coderer <me@tehcoderer.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-09 11:30:19 -05:00
teh_coderer
721a7d560c [Bugs] Fix 3255,3160 + Improved Terminal Version Check (#3296)
* 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

* Update stocks_helper.py

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-09 11:29:48 -05:00
Colin Delahunty
9a7329a13e Integrated tests generate a csv file (#3352)
Co-authored-by: montezdesousa <79287829+montezdesousa@users.noreply.github.com>
2022-11-09 08:10:03 -05: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
montezdesousa
f9086d6f38 Portfolio menu bug fixes (#3204)
* normalized way moving average is treated and prevent huge exception prompt

* changed descriptions on docs

* change to check_positive_float

* add integration tests

* fix linting

* add more integration tests

* add more integration tests

* fix linting

* add some po integration tests

* fix flag without prompt

* change orderbook to transactions

* limit warning to portfolio

* change print help

* format portfolio var

* reformat controller

* reformat es

* remove autocompletion

* change print help

* add percentage symbol to summary

* fix holp holv

* fix scripts

* update website doc

* add tqdm progress bars

* fix table spacing

* identify mret tables

* remove positive float from rfr

* flake8

* pylint

* fix reports

* revert to old menu help

* revert to old menu help

* Update test_portfolio.openbb

* quick change on empty lines

Co-authored-by: hjoaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-09 10:46:42 +00:00
jose-donato
5b739b0b48 Attribute pyth (#3350)
* fix(docs): added margin between sections

* fix: add attribution to price pyth command

* Updated output

Co-authored-by: colin99d <colin99delahunty@gmail.com>
2022-11-09 08:13:31 +01: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
Danglewood
19689a44df Adds Intro Guide for the Stock Options SDK Module (#3298)
* Adds Guide for Options SDK Module

* Improves One Screenshot

* missing a space

* typo

* makes requested changes.

* Removes `s` from `Introduction`

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-11-08 17:04:13 +01:00
Colin Delahunty
8fee1a4cda Delete OpenBB Terminal.bat (#3329) 2022-11-08 08:32:29 -05:00
montezdesousa
4db8674c9e pin mypy 982 (#3343) 2022-11-08 08:23:48 -05:00
Danglewood
03cedad5db Adds Intro Guide to ETF SDK Module (#3315)
* Adds Intro Guide to ETF SDK Module

* Linter

* removes portfolio optimization snippet

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-11-08 13:25:48 +01:00
Danglewood
cead88555c Adds guide for QA module of the SDK (#3321)
* Adds guide for QA module of the SDK

* makes requested changes

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-11-08 12:10:21 +01:00
Danglewood
44c4a63ff7 Adds guide for Technical Analysis SDK module (#3324)
* Adds guide for Technical Analysis SDK module

* linter

* adds `to` in the title.

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-11-08 11:39:11 +01:00
martinb-bb
c6825ebf84 [UX improvement] Adding in docs URL to help commands on terminal (#3330)
* links to docs

* update docs
2022-11-07 19:28:39 +01:00
Henrique Joaquim
46afc9eb8f Fix economy bugs (#3144)
* removed investing/investpy from sources and added #TODO

* removed Investing from events source

* fixed autocompletion for events

* added rank column based on the debt value

* removed options in treasury autocompletion

* fixed autocompletion to use comma instead of space

* fix verification for no data on economy/qa

* fix the exaple

* commented spreadso it don't show on auto completion

* preventing testst from using user default data sources and also removing unused env variables

* fixing tests

* adding empty line after uninterpreted args

* fixing tests

* improve the way fred works by not repeating the request. also, solve some issues with the plot - but not all

* Revert "improve the way fred works by not repeating the request. also, solve some issues with the plot - but not all"

This reverts commit 1094b454a5.

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-07 14:58:09 +00:00
Chavithra
9b9f379eff Poetry : remove optional dependencies + set papermill 2.4.0 (#3251)
* Poetry : remove optional dependencies + set papermill 2.4.0

* Poetry

* Poetry

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-11-07 14:12:24 +01: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
andrewkenreich
0a4dcd54b4 fix [Bug] Screeners - Autocomplete of Stock Screener (#3308)
* fix [Bug] Screeners - Autocomplete of Stock Screener

* Add test so this doesn't happen again

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 23:00:19 -04:00
James Simmons
20de9a75f1 capitalization fix (#3319) 2022-11-04 21:22:38 -04:00
andrewkenreich
61659eddcb fixing macd and a few others (#3312) 2022-11-04 21:20:09 -04:00
Colin Delahunty
86f2e5622a Fix Various portfolio/po issues (#3286)
* Allow for loading without -f flag

* Massive upgrade to params file read/write

* Better handling empty dfs and none in prompt toolkit

* Fix tr typing and handle none error

* Added options

* Fixed tests

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 15:10:50 -04:00
James Simmons
2b517bc181 Small pyproject changes (#3281) 2022-11-04 14:54:55 -04:00
andrewkenreich
c14b759f97 [Bug] /forex/qa/ $ line --draw #3076 (#3297)
* [Bug] /forex/qa/ $ line --draw #3076

* removing from web

* fix pylint + test

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 14:54:19 -04:00
Colin Delahunty
2977c9be08 Moves futures.csv to the misc folder (#3306)
* Moves futures.csv

* Finishing futures changes

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 12:28:56 -04:00
jose-donato
0bf62165e4 Fix 3184 (#3242)
* fix(docs): added margin between sections

* fix: news params and descend

* fix: ascending

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 11:29:41 -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
Gabriel Segatti
c4c6474749 Auto complete update (#3274) (#3275)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 10:22:33 -04:00
James Maslek
9f24c2b7f1 Bugs (#3293)
* #3239

* black linter

* Test
2022-11-04 10:21:40 -04:00
andrewkenreich
fd2dc55bd0 #3264 fixing some autocomplete on historical (#3295)
* #3264 fixing some autocomplete on historical

* fixing autocomplete on historical TICKER

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 10:20:57 -04:00
Colin Delahunty
3e792d75de Fixes Issues with the OSS Menu (#3238)
* Added docs and added auto suggest for country

* Fixes docs

* Added chavi fixes

* Reverted argument name change

* Added case fixing to countries

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 10:19:37 -04:00
Colin Delahunty
19660ff3ee Updated check for new user (#3302)
* Updated check for new user

* Update docstring

* Fixed import error

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-04 10:18:23 -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
andrewkenreich
81ce477195 #3290 fix heatmap make it pertyyy (#3307) 2022-11-04 10:07:11 -04:00