Coder Social home page Coder Social logo

forex-stochastic-model's Introduction

USD/INR Exchange Rate Simulation

This project simulates the dynamics of the USD/INR exchange rate. The stochastic differential equation used for the simulation has been derived by the repository owner from the book "Brownian Motion Calculus", specifically problem 4.10.8.

Model

The specifics of the equation are derived from the mentioned book. For a clear representation, it's advisable to refer to problem 4.10.8 of the book.

Simulation Results

The simulation was carried out with the following parameters:

  • Initial exchange rate: 1 USD = 83 INR
  • Drift rate: 1% annual appreciation of USD against INR
  • Volatility: 15% annual volatility
  • Time horizon: 1 year
  • Time step: 1/252 (assuming 252 trading days in a year)

The next-day forecasted average exchange rate is approximately INR 83.01 per USD, with a standard deviation of approximately INR 0.78.

The results are visually represented in the plot provided in this repository.

Simulated USD/INR Exchange Rate Paths

Usage

To run the simulation, execute the exchange_rate_simulation.py script.

Reference

The dynamics and methodology are based on:

  • Wiersema, Ubbo F. Brownian Motion Calculus. Wiley, 2008.

License

MIT License.

forex-stochastic-model's People

Contributors

aim-it4 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.