summaryrefslogtreecommitdiffstats
path: root/openbb_terminal/miscellaneous/scripts/forex
diff options
context:
space:
mode:
authorJames Simmons <53658028+simmonsj330@users.noreply.github.com>2022-10-24 04:13:34 -0400
committerGitHub <noreply@github.com>2022-10-24 10:13:34 +0200
commit675449933a433a079de6ac0e185b808ffed12b0e (patch)
treef326938845b18e9032a7d3b54206221b0bb47287 /openbb_terminal/miscellaneous/scripts/forex
parentd4a462cbe93a28a65962f8fc9c77d59e413a5e06 (diff)
Allowing integration tests to be run by menu (#2992)
Co-authored-by: Colin Delahunty <72827203+colin99d@users.noreply.github.com>
Diffstat (limited to 'openbb_terminal/miscellaneous/scripts/forex')
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_av.openbb14
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_base.openbb5
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_load.openbb5
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda.openbb61
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda_base.openbb14
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_qa.openbb44
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_ta.openbb35
7 files changed, 178 insertions, 0 deletions
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_av.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_av.openbb
new file mode 100644
index 00000000000..cb7fdf0dc09
--- /dev/null
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_av.openbb
@@ -0,0 +1,14 @@
+forex
+load -h
+load -i
+to EUR
+quote -h
+quote -argument
+quote
+load
+candle
+from ILS
+quote
+load
+candle
+exit \ No newline at end of file
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_base.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_base.openbb
new file mode 100644
index 00000000000..0836bdb3d8a
--- /dev/null
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_base.openbb
@@ -0,0 +1,5 @@
+forex
+load EURUSD
+fwd
+quote
+exit
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_load.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_load.openbb
new file mode 100644
index 00000000000..a45ad370f41
--- /dev/null
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_load.openbb
@@ -0,0 +1,5 @@
+forex
+load EURUSD --source YahooFinance
+load USDEUR --source Polygon
+load EURUSD --source AlphaVantage
+exit
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda.openbb
new file mode 100644
index 00000000000..34cee9c4cc2
--- /dev/null
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda.openbb
@@ -0,0 +1,61 @@
+forex
+oanda -h
+oanda -argument
+oanda
+from -h
+from -argument
+from usd
+to -h
+to -argument
+to chf
+price -h
+price -argument
+price
+from eur
+price
+from ils
+price
+summary -h
+summary
+from usd
+to chf
+orderbook -h
+orderbook
+list -h
+list
+order
+order -h
+order -argument
+order -u 3 -p 0.8
+list
+cancel
+cancel -h
+cancel -argument
+cancel -i
+cancel -i 5
+positions
+positions -h
+positions -argument
+pending
+pending -h
+pending -argument
+trades
+trades -h
+trades -argument
+closetrade
+closetrade -h
+closetrade -argument
+closetrade -i 5
+candles
+candles -h
+candles -v
+candles -a -b -c -e -v
+calendar
+calendar -h
+calendar -argument
+from eur
+to jpy
+calendar
+to gbp
+calendar
+exit \ No newline at end of file
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda_base.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda_base.openbb
new file mode 100644
index 00000000000..9023d026524
--- /dev/null
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda_base.openbb
@@ -0,0 +1,14 @@
+forex
+oanda
+h
+help
+?
+q
+oanda
+..
+..
+forex
+oanda
+quit
+oanda
+exit \ No newline at end of file
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_qa.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_qa.openbb
new file mode 100644
index 00000000000..37fd78a377a
--- /dev/null
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_qa.openbb
@@ -0,0 +1,44 @@
+forex
+load EURUSD --source YahooFinance
+qa
+summary
+normality
+unitroot
+line
+hist
+cdf
+bw
+acf
+qqplot
+rolling
+spread
+quantile
+skew
+kurtosis
+var
+es
+raw
+decompose
+cusum
+load EURUSD --source YahooFinance
+qa
+summary
+normality
+unitroot
+line
+hist
+cdf
+bw
+acf
+qqplot
+rolling
+spread
+quantile
+skew
+kurtosis
+var
+es
+raw
+decompose
+cusum
+exit
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_ta.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_ta.openbb
new file mode 100644
index 00000000000..8a469a4fe7c
--- /dev/null
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_ta.openbb
@@ -0,0 +1,35 @@
+forex
+load EURUSD --source YahooFinance
+load
+ta
+ema
+sma
+zlma
+cci
+macd
+rsi
+stoch
+fisher
+cg
+adx
+aroon
+bbands
+donchian
+fib
+load USDEUR --source Polygon
+ta
+ema
+sma
+zlma
+cci
+macd
+rsi
+stoch
+fisher
+cg
+adx
+aroon
+bbands
+donchian
+fib
+exit