Giter Site home page Giter Site logo

squantlib's Introduction

SquantLib

SquantLib is a financial engineering tool written in Scala.

Helps, suggestions and bug-fix are very much appreciated!!

What can it do?

###Rates

  • Building discountable yield curves from
    • cash rate, swap rate, ccy basis swap and 3m/6m basis swap
    • non-deliverable swap
    • fx swap points
  • Draw simple charts
  • Compute cashflow discount factor using given discounting currency & spread.
  • Build swaption volatility surface
  • Pricing simple swaptions

###FX

  • Compute forward fx
  • Build fx volatility surfaces

###Equity and Index

  • Compute forward price
  • Build volatility surfaces

###Bond

  • Cashflows
    • Fixed rate
    • Binary
    • Sum of linear equations
    • Cap, floor
    • Forward, Put
    • American knock-in
    • Issuer's early termination
    • Automatic trigger
  • Greeks
    • rate delta, fx delta
    • rate vega, fx vega
    • yield (simple, compounding)
    • duration (effective, modified, macaulay)
    • convexity, etc.
  • Analysis
    • FX exercise frontier
    • Rate exercise frontier
    • Forward bond price
  • Handling bonds with published prices

###Historical

  • Historical volatility
  • Historical correlation
  • Moving average, etc

###Exotic

  • BS formula
  • Montecarlo models
    • single factor only for now
    • continuous dividend
    • discrete dividend + repo
  • Model extension
    • Exercise frontier pre-computation for issuer's callability

###To Do

  • More sophisticated montecarlo model (smile, multi-factor)
  • Rate exotics (Bermudan swaptions)
  • Portfolio analysis

Motives

  • Main pricing backbone behind PFOL.IO project (http://pfol.io) - please join us if you're interested!

Contact

Masakatsu Wakayu ([email protected]) Imperial Finance & Technology (http://www.imperial-ft.com) Pfol.io (https://pfol.io)

squantlib's People

Contributors

katsuwaka avatar

Watchers

James Cloos avatar Caedman Ziwen Lan avatar  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.