summaryrefslogtreecommitdiffstats
path: root/openbb_terminal/miscellaneous/scripts/forex
diff options
context:
space:
mode:
authorColin Delahunty <72827203+colin99d@users.noreply.github.com>2022-11-26 04:18:52 +0100
committerGitHub <noreply@github.com>2022-11-25 22:18:52 -0500
commit9f7635faee3ecff178e6ee7653a5873885a90fc3 (patch)
tree91b173d7de42b94fcc9ed1bfb24e0cd01c50008d /openbb_terminal/miscellaneous/scripts/forex
parent2e2e5e2fb6f43cbfc77b0c4686d255484dbe6dfa (diff)
New Integration Tests (#3377)
Diffstat (limited to 'openbb_terminal/miscellaneous/scripts/forex')
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_av.openbb6
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_base.openbb6
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_load.openbb6
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda.openbb16
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_qa.openbb4
-rw-r--r--openbb_terminal/miscellaneous/scripts/forex/test_forex_ta.openbb4
6 files changed, 21 insertions, 21 deletions
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_av.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_av.openbb
index cb7fdf0dc09..05d04723533 100644
--- a/openbb_terminal/miscellaneous/scripts/forex/test_forex_av.openbb
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_av.openbb
@@ -1,14 +1,14 @@
forex
load -h
load -i
-to EUR
+to ${currency=EUR}
quote -h
quote -argument
quote
load
candle
-from ILS
+from ${currency_vs=ILS}
quote
load
candle
-exit \ No newline at end of file
+exit
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_base.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_base.openbb
index 2a88d61f7b3..bde2ad1ba06 100644
--- a/openbb_terminal/miscellaneous/scripts/forex/test_forex_base.openbb
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_base.openbb
@@ -1,7 +1,7 @@
forex
-load EURUSD
-load -t EURUSD -r d -i 1day -s 2000-01-01
-load -t EURUSD -r i -i 30min
+load ${currency=EUR}${currency_vs=USD}
+load -t ${currency=EUR}${currency_vs=USD} -r d -i 1day -s 2000-01-01
+load -t ${currency=EUR}${currency_vs=USD} -r i -i 30min
fwd
quote
quote --source YahooFinance
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_load.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_load.openbb
index a45ad370f41..d8ab7154b23 100644
--- a/openbb_terminal/miscellaneous/scripts/forex/test_forex_load.openbb
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_load.openbb
@@ -1,5 +1,5 @@
forex
-load EURUSD --source YahooFinance
-load USDEUR --source Polygon
-load EURUSD --source AlphaVantage
+load ${currency=EUR}${currency_vs=USD} --source YahooFinance
+load ${currency_vs=USD}${currency=EUR} --source Polygon
+load ${currency=EUR}${currency_vs=USD} --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
index 34cee9c4cc2..bee39a04b0a 100644
--- a/openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda.openbb
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_oanda.openbb
@@ -4,21 +4,21 @@ oanda -argument
oanda
from -h
from -argument
-from usd
+from ${currency=usd}
to -h
to -argument
-to chf
+to ${currency_vs=chf}
price -h
price -argument
price
-from eur
+from ${currency=eur}
price
-from ils
+from ${currency=ils}
price
summary -h
summary
from usd
-to chf
+to ${currency_vs=chf}
orderbook -h
orderbook
list -h
@@ -53,9 +53,9 @@ candles -a -b -c -e -v
calendar
calendar -h
calendar -argument
-from eur
-to jpy
+from ${currency=eur}
+to ${currency_vs=jpy}
calendar
to gbp
calendar
-exit \ No newline at end of file
+exit
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_qa.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_qa.openbb
index 9a32390cb21..a5e182e4289 100644
--- a/openbb_terminal/miscellaneous/scripts/forex/test_forex_qa.openbb
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_qa.openbb
@@ -1,5 +1,5 @@
forex
-load EURUSD --source YahooFinance
+load ${currency=EUR}${currency_vs=USD} --source YahooFinance
qa
summary
normality
@@ -33,7 +33,7 @@ decompose
decompose --multiplicative
cusum
cusum -t 0.01 -d 0.01
-load EURUSD --source YahooFinance
+load ${currency=EUR}${currency_vsUSD} --source YahooFinance
qa
summary
normality
diff --git a/openbb_terminal/miscellaneous/scripts/forex/test_forex_ta.openbb b/openbb_terminal/miscellaneous/scripts/forex/test_forex_ta.openbb
index cbb82c5fd46..9e8ffc1b647 100644
--- a/openbb_terminal/miscellaneous/scripts/forex/test_forex_ta.openbb
+++ b/openbb_terminal/miscellaneous/scripts/forex/test_forex_ta.openbb
@@ -1,5 +1,5 @@
forex
-load EURUSD --source YahooFinance
+load ${currency=EUR}${currency_vs=USD} --source YahooFinance
load
ta
ema
@@ -29,7 +29,7 @@ bbands -l 1 -s 0.25 -m ema
donchian
donchian --length_upper 10 --length_lower 1
fib
-load USDEUR --source Polygon
+load ${currency=USD}${currency_vs=EUR} --source Polygon
ta
ema
sma