Commit Graph

349 Commits

Author SHA1 Message Date
Colin Delahunty
1f9a771101 Removed the --raw option from economy/plot (#3272) 2022-11-02 16:20:25 -04:00
Colin Delahunty
500fcd6aa2 Refactor the QA Raw Command (#3234)
* Improved usability of raw

* Began refactoring qa raw

* Continued adding fixes

* Added more fixes

* Updated docs

* James fixes

* Added formtting changes

* In process of converting to all lower

* Added fixes

* Fixed tests
2022-11-02 13:35:55 -04:00
martinb-bb
2cd663c1b6 standardize and update api defaults + report (#3271)
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-02 13:21:23 -04: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
taiyeoguns
ac90547f9d remove funds overview (#3209)
* remove funds overview

* remove fund overview from menu and choices

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-11-02 11:30:06 -04:00
Colin Delahunty
aa085c8e16 Fixed docs (#3267) 2022-11-02 08:56:23 -04:00
Danglewood
89b37e3331 Adds SDK Guide for Forex Menu (#3259)
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-11-02 10:29:49 +01:00
Danglewood
71c14c1c57 Formatting, first image is not given a new line. (#3263) 2022-11-02 09:31:29 +01:00
Colin Delahunty
3d0a032a76 Fix Some Econometrics Bugs (#3210)
* Added suggestions for load

* Fixed a command

* Fixed panel

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-31 20:45:54 -04:00
martinb-bb
58d2799ac7 Fix 3188 - UX for Feature Engineering functions (#3224)
* fix depr. warning

* console printout enhancment

* improvement to sto for UX

* average true range UX

* signal UX improv.
2022-10-31 20:45:26 -04:00
Danglewood
0b51116ec4 Adds Introduction Guide for the Economy SDK Module (#3142)
* Adds Introduction Guide for the Economy SDK Module

* Changes title

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-10-31 22:47:27 +00:00
Danglewood
a6fcb9d47e Adds guide for SDK/Keys (#3111)
* Adds guide for SDK/Keys

* Linter

* Applied requested changes, and improved the examples.

* Removed bullet point

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-10-31 22:46:41 +00:00
DidierRLopes
70e57bc9c2 Improve ETF menu (#3124)
* improve etf menu

* improve docs

* fix tests

* should cover more edge cases

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-31 15:25:49 -04: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
DidierRLopes
07c4c7c9b1 improve forecast menu usability (#3189)
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-31 13:40:49 -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
04670ddb05 Added crypto/defi fixes (#3117)
* Added sinfo error handling

* Address spelling

* Removed unused descend

* improved ldapps MVC

* Added fixes

* Fixed failing tests

* Fixed failing tests

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-31 08:36:59 +01:00
James Maslek
db9a5e350d generate new doc (#3159) 2022-10-29 17:36:47 +01:00
James Maslek
a2ab314da7 sia cleanup (#3134)
* sia cleanup

* Website

* Change load-> select to address #2609

* Change the list of tickers in vis

* change back to show if nothing
2022-10-29 00:22:35 +01:00
James Maslek
4f12938f8d Hugo (#3153) 2022-10-28 16:57:14 -04:00
Wermeille Bastien
cd57e39658 Fixes #3086 (#3145)
Small fix

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
2022-10-28 15:18:53 +01:00
Henrique Joaquim
eaa0a96f7e Fix forex bugs (#3131)
* normalized way moving average is treated and prevent huge exception prompt

* changed descriptions on docs

* change to check_positive_float

* fix linting

* fix linting
2022-10-28 11:32:02 +01:00
Danglewood
440ed10e63 Adds Introduction to Futures Menu (#3030)
* Adds Introduction to Futures Menu

* Requested Changes

* ## How to Use

ooops. :)

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-28 09:53:30 +01:00
Danglewood
eb0167dd89 Adds Token Terminal to list of API data sources. (#3102) 2022-10-26 17:56:19 -04: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
Pragya Sapkota
6f78c479c1 Fix: replaced the prediction techniques links with foecasting menu links (#3067) 2022-10-26 10:30:53 +02:00
Danglewood
a7a7000133 Spelling (#3061)
Spelling, as per a comment in #2996

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-26 08:01:43 +02:00
martinb-bb
a8da01dc72 Increase number of columns to show in data set (#3046)
* working slider to limit columns to show

* hugo

* black
2022-10-25 12:43:38 -04:00
Colin Delahunty
457671250d Switches all multi input arguments to comma separation (#2902)
* Switched first narg to arg

* Finished converting first menu

* Finished converting menus

* Fixed tests

* Fixed webpages

* Error handling

* Added James fixes

* Allowing lowercase

* Temp

* Temp

* Fixed error message for multi word countries

* Fixed countries

* James fixes

* Docs fixes

Co-authored-by: Henrique Joaquim <h.joaquim@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-10-25 11:35:52 -04:00
northern-64bit
38a53e5f43 Combining commands and renaming others (#3000)
* Combining commands and renaming others

Combining commands with different sources but the same functionality. I also removed indications of source from command names

* Fix tests and hugo

* Test fixes

Co-authored-by: james <jmaslek11@gmail.com>
2022-10-25 11:31:08 -04: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
Danglewood
aaf6fc6396 OpenBBUserDataFolder Guide (#2831)
* OpenBBUserDataFolder Guide

* Changes as per, @JerBouma in https://github.com/OpenBB-finance/OpenBBTerminal/pull/2831

Changes as per, @JerBouma in https://github.com/OpenBB-finance/OpenBBTerminal/pull/2831

* Moves the user data folder to the getting started page. 

Moves the user data folder to the getting started page.

* H2 for more visibility

* Linting

Sorry about that, @JerBouma!

Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-10-25 00:38:02 +02:00
Wonhyeong Seo
ddcd52368d Order sdk part of main.yml (#2906)
* fix: Order sdk part of main.yml

resolve https://github.com/OpenBB-finance/OpenBBTerminal/issues/2780

* New layout

* Fixed file format

Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-24 17:59:00 +02: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
James Maslek
70d35ff598 Economic calendar (#2936)
* First push

* Second commit

* Comment out 'spread'

* list to List
2022-10-21 15:36:31 +02:00
Colin Delahunty
7f1b3db5ad Rename sdk to SDK (#2968)
* Rename sdk to SDK

* Added README

* Fixed test
2022-10-21 10:11:03 +02:00
James Maslek
bd8ac50549 Update eval help command (#2924)
* Add some more clear definition

* remove about

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-10-20 10:06:43 -04:00
Colin Delahunty
52dd7a1f66 Add stocksera source to stocks/dps/ctb (#2896)
* Got stocksera source working

* Added fixes

* Removed prints

* Updated documentation

* Fixed pytest

* Added tests

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-19 23:24:48 +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
martinb-bb
80f857a22a Allow users to export predictions into raw csv (#2884)
* expo and theta

* rnn + controller updates

* changes and fixes to the rest

* updated docs

* format csv

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-17 19:47:18 -04:00
James Maslek
d8a6509afc Enhance economy menu with custom math functions (#2559)
* Initial test commit

* Trying to improve

* Handle a duplicate column

* Temp solution for mismatched timeframe indices

* Cleanup + website

* tests

* Fixed black

* Update error handling + fix concat bug

* spelling error

* pred was still haning around

* unit tests

* blackformat

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Theodore Aptekarev <aptekarev@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
2022-10-17 16:18:20 -04:00
Chavithra
081ccd2fbd Moving custom_imports into openbbterminal folder. (#2858)
* Move custom_imports

* Tests : updating paths

* Removed custom imports

* Fixed the futures dashboard

* Removed old tests

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: colin99d <colin99delahunty@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
2022-10-17 15:35:19 +02:00
James Maslek
0b76e5b4c3 Add cboe top of book (#2830)
* Add cboe top of book

* test + merge 1 print table

* unit test + add stocks int test
2022-10-14 13:16:06 -04:00
minhhoang1023
cfd2a03d2c Update SDK Hugo server (#2822)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
2022-10-14 11:53:34 +01:00
Danglewood
67a0c70826 Stocks Menu SDK Introduction - Revised. (#2813)
Revises guide with the requested, @JerBouma.  https://github.com/OpenBB-finance/OpenBBTerminal/pull/2795

Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
2022-10-13 23:50:53 +01:00
montezdesousa
1cc76a22a3 Interest rates and spread matrix command - economy menu (#2799)
* add matrix command

* start heatmap

* connect to investpy

* add heatmap to command

* add title

* finetune decimals

* add maturity and change options

* 1 decimal on change matrix

* be explicit about images location

* colorize warning

* add docs to website

* prettify

* specify decimal places

* fix issue with controller

* remove frame

* remove comments

* add more groups

* wrong group name fix

* change command name to spread

* missed website

* add docstrings

* change api path to spread

* ignore flake8

* add some colors

* codespell

* func name

* rewrite expected

* website help

* add unit tests

* flake8

* fix tests

* mypy

* rewrite test

* pylint

* fix integration tests

* fix integration tests

* fix ycrv website info

* add doctring to create matrix

* openbb to default

* clean warning

* update defaults

* add spread to main yml

* forgot openbb here

Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-13 15:22:09 -04:00
Danglewood
32741fd842 Introduction Guide for the Stocks SDK (#2795)
Adds an introduction guide for the Stocks SDK.
2022-10-12 08:40:22 +01:00