---
title: Forex
keywords: ["forex", "currency", "money", "hedge", "dollar", "euro"]
excerpt: "The Introduction to Forex explains how to use the
menu and provides a brief description of its sub-menus"
---
The Forex menu enables you to load any combination of currencies (e.g. USDEUR or JPYGBP), show current quote and historical data (candle) as well as forward rates (fwd). Furthermore, the menu has the ability to also apply Technical Analysis and Forecasting menu while also having an integration with Oanda.
### How to use
The Forex menu is called upon by typing `forex` which opens the following menu:

You have the ability to load any currency pair with load as follows:

When you do so, a lot of commands turn Blue. These can now be used to analyse the selected currency pair.

For example, you are able to show the quote of the currency pair by using the quote command:
```
2022 Jun 29, 07:04 (๐ฆ) /forex/ $ quote
USD/EUR Quote
โโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ โ Realtime Currency Exchange Rate โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ From_Currency Code โ USD โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ To_Currency Code โ EUR โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Last Refreshed โ 2022-06-29 11:08:00 โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Exchange Rate โ 0.94960000 โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Bid Price โ 0.94960000 โ
โโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโค
โ Ask Price โ 0.94960000 โ
โโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
```
Or show the historical data on the currency pair with candle as follows:
```
2022 Jun 29, 07:09 (๐ฆ) /forex/ $ candle
```
Which returns the following:

Lastly, insights in the forward valuations can also be given with fwd.
```
2022 Jun 29, 07:19 (๐ฆ) /forex/ $ fwd
Forward rates for USD/EUR
โโโโโโโโโโโโโโโโโณโโโโโโโโโณโโโโโโโโโณโโโโโโโโโณโโโโโโโโโโโโ
โ Expirations โ Ask โ Bid โ Mid โ Points โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ Overnight โ 0.9499 โ 0.9498 โ 0.9499 โ -0.5750 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Tomorrow Next โ 0.9499 โ 0.9498 โ 0.9498 โ -0.7250 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Spot Next โ 0.9497 โ 0.9496 โ 0.9497 โ -2.3450 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ One Week โ 0.9495 โ 0.9495 โ 0.9495 โ -4.1550 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Two Weeks โ 0.9491 โ 0.9491 โ 0.9491 โ -8.2600 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Three Weeks โ 0.9487 โ 0.9486 โ 0.9487 โ -12.4150 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ One Month โ 0.9481 โ 0.9480 โ 0.9480 โ -18.8850 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Two Months โ 0.9459 โ 0.9458 โ 0.9458 โ -40.8200 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Three Months โ 0.9436 โ 0.9435 โ 0.9436 โ -63.4650 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Four Months โ 0.9415 โ 0.9414 โ 0.9415 โ -84.5500 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Five Months โ 0.9394 โ 0.9392 โ 0.9393 โ -106.2650 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Six Months โ 0.9361 โ 0.9360 โ 0.9360 โ -138.8800 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Seven Months โ 0.9342 โ 0.9340 โ 0.9341 โ -158.3750 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Eight Months โ 0.9323 โ 0.9322 โ 0.9322 โ -176.9850 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Nine Months โ 0.9302 โ 0.9300 โ 0.9301 โ -198.1200 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Ten Months โ 0.9284 โ 0.9283 โ 0.9284 โ -215.5000 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Eleven Months โ 0.9268 โ 0.9267 โ 0.9268 โ -231.6250 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ One Year โ 0.9252 โ 0.9250 โ 0.9251 โ -248.6650 โ
โโโโโโโโโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโผโโโโโโโโโโโโค
โ Two Years โ 0.9111 โ 0.9106 โ 0.9109 โ -390.6350 โ
โโโโโโโโโโโโโโโโโดโโโโโโโโโดโโโโโโโโโดโโโโโโโโโดโโโโโโโโโโโโ
```
Furthermore, the ability exists to take the currency pair to the Technical Analysis menu by typing `ta`:

### Examples
First, let's start with looking at the currency pair USD and GBP. These are the U.S. Dollars and the Pound sterling. This is done by using the `load` command as follows with the addition that the `-s` command is used to change the start date:
```
2022 Jun 29, 07:16 (๐ฆ) /forex/ $ load USDGBP -s 2015-01-01
USD-GBP loaded.
```
Then, let's see how this currency pair has changed over the last years with `candle` also adding in the `--ma 60,120` argument:

Now it's time to take this to the Quantitative Analysis menu by typing `qa`. This returns the following:

Within this menu we can show some rolling statistics, for example show the rolling values for the mean and standard deviation of the currency pair:

Lastly, more advanced techniques can also be applied regarding seasonality with `decompose`:
```
2022 Jun 29, 07:26 (๐ฆ) /forex/qa/ $ decompose
Time-Series Level is 0.75
Strength of Trend: 421.7107
Strength of Seasonality: 0.0031
```
