Skip to content
This repository has been archived by the owner on Oct 31, 2021. It is now read-only.

Value premium extraction using Real Exchange Rate of G10 currencies

License

Notifications You must be signed in to change notification settings

tsKenneth/FX-RER-Value-Extraction

Repository files navigation

FX-RER-Value-Extraction

Value premium extraction using Real Exchange Rate

Analysis methodology and findings:

  • Asset: G10 currency

  • Instrument: 1 month forwards

  • Sharpe Ratio: 1.31

  • Annualised Return: 7.99%

  • Period of analysis: Jan 2017 to Oct 2018

Requirements

Access token to Refinitiv DSA platform. Due to legal reasons, we're unable to provide a copy of the data we collected

How to Run:

  1. Download, unzip and place the application directory anywhere on your local machine with both read and write access
  2. The script uses a external library dependencies to run various functions. To use these libraries you can:
    • a. On Windows OS, change directory to the root of the application and type "venv\Scripts\activate" to activate the virtual environment On Linux OS, change directory to the root of the application and type "source /venv/Scripts/activate" to activate the virtual environment
    • b. Change directory to the root of the application and type "pip install -r requirements.txt" to install the libraries into your system python interpreter. Ensure that the system's python interpreter version you're running is >=3.7.4. Otherwise, please use the venv method.
  3. Open data_collection.py and provide your access token to the DSA API. In the application root directory, type 'python data_collection.py"
  4. In the application root directory, type "python quant_model.py" to run the script
  5. The sharpe ratio, annualised returns and net cumulative returns of the dominant strategy will be printed.
  6. (Optional) Type "deactivate" to deactivate the virtual environment (if step 2a. was used)

Credits and Acknolwedgements

Analysis created using data provided by Thomson Reuters, using the Data Science Accelerator platform. Submitted for the UBS Quant Hackathon 2019

About

Value premium extraction using Real Exchange Rate of G10 currencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published