Files
OpenBB/openbb_terminal/miscellaneous/scripts/econometrics/test_econometrics_base.openbb
Henrique Joaquim 05fe8c364c improved integration tests (#3078)
* improved integration tests for forex

* integration test for dashboards

* added more tests to economy

* added test for forecast report

* added eedbt integration test

* added hist tests

* added eval command

* updatedeconometrics tests

* changed order

* test removing warning

* Revert "test removing warning"

This reverts commit 09ca09012156771428b2041b478296dbf2bfc780.

* adding todo

* Fix top categories and sorting not working (#3025)

* Fix categories and sorting not working

* Allow sort in ascending order

* Documented the new flag

* Fixed tests

* Fix bad practises

Co-authored-by: James Maslek <jmaslek11@gmail.com>

* [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>

* Improve ETF menu (#3124)

* improve etf menu

* improve docs

* fix tests

* should cover more edge cases

Co-authored-by: James Maslek <jmaslek11@gmail.com>

* improve export (#3176)

* When renaming funcs to remove source at start, the translating keys were missing update (#3177)

* fix the en.yml key for some funcs

* fix tests

Co-authored-by: James Maslek <jmaslek11@gmail.com>

* 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>

* 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>

* version check for statforecast (#3227)

* 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.

* 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>

* Fixing 6 crypto bugs (#3228)

* fixing 6 crypto bugs

* fixing filter stuff

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>

* 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>

* Updating crypto integration tests (#3222)

* disc, ov, and base

* more integration tests and fixing previous commited ones

* some more fixes

Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>

* removing commented tests

* removing commented tests

Co-authored-by: Gerard <jerry.om.95@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
Co-authored-by: fede <fede.garza.ramirez@gmail.com>
Co-authored-by: martinb-bb <105685594+martinb-bb@users.noreply.github.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: Danglewood <85772166+deeleeramone@users.noreply.github.com>
Co-authored-by: Jeroen Bouma <jer.bouma@gmail.com>
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Co-authored-by: James Simmons <53658028+simmonsj330@users.noreply.github.com>
2022-11-01 18:38:31 -04:00

56 lines
1.2 KiB
Plaintext
Vendored

econometrics
## Exploration
load nile
desc nile
load nile -a nile_2
combine nile -c nile_2.volume
load -f 20221008_221605_dataset
rename -d 20221008_221605_dataset -o population -n pop
load -e
load -f wage_panel -a wp
add -n wp.after_1990 -b wp.year -s > -c 1990
add -n wp.after_1985 -b wp.year -s > -c 1985
show -n wp -s year -a -l 20
plot -v wp.nr,wp.exper,wp.hours
index -n wp -i nr,year -a
type
type wp.year --format category
desc -n wp.expersq
clean wp -f cfill
clean wp -d rdrop
delete -d wp.black
## Tests
load fair
root fair.yrs_married
## Load custom datasets - this can only be tested locally for now
## load -f 20221031_095631_AAPL.xlsx -a aapl
## load -f 20221031_095653_TSLA.xlsx -a tsla
## load -f 20221031_095706_MSFT.xlsx -a msft
## coint msft.adj_close,aapl.adj_close,tsla.adj_close
## norm tsla.adj_close -p
## norm msft.volume -p
load strikes
granger strikes.duration,strikes.iprod
## Regression
panel -d wp.lwage -i wp.black,wp.hisp,wp.exper,wp.expersq,wp.married,wp.educ,wp.union,wp.year
panel -d wp.lwage -i wp.black,wp.hisp,wp.exper,wp.married,wp.educ,wp.union -r bols
load longley -a ll
ols -d ll.totemp -i ll.gnpdefl,ll.gnp,ll.unemp,ll.armed,ll.pop,ll.year
## Regression Tests
dwat -p
bgod -l 2
bpag
exit