Giter Site home page Giter Site logo

algorithmic-hedging-system's Introduction

Algorithmic Hedging System

Conceptual Architecture / Model

Algorithmic Hedging System Conceptual Architecture

System Behaviour

  • Data Source
    • Receive data
    • Publish raw for processing
  • Data Processing
    • Filter irrrelevant data
    • Extract Transform Load (ETL)
    • Enqueue/Publish as simple events for processing (ex. spot price dependence only)
    • Store in operational data store
    • Continous analysis of data store
      • Enqueue/Publish as sophisticated events for processing (ex. historical price path dependence)
  • Intelligence
    • Process events based on defined strategies
    • Construct preliminary orders
    • Enqueue/Publish orders
  • Order Management
    • Compare against portfolio for sizing
    • Breakout large orders?
    • Route orders to exchange OR Execution Management
    • Receive orders execution
    • Update portfolio
    • Enqueue/Publish execution result?
    • Update operational data store with execution result
  • Execution Management ?
    • Get orders from Order Management
    • Route orders to exchange as maker
    • Chase the market until filled
    • Signal Order Management with orders execution

Functional Requirements

  1. Get market data: aquire relevant data and clean/prepare
    • download
    • filter
    • store
    • ETL as required
    • publish
  2. Define hedging strategy: specify optimal trading rules based on market conditions
    • Optimal hedging instrument to use
    • Optimal hedging strategy to use
  3. Get trade information
  4. Create trade orders
  5. Manage pending orders
  6. Route / submit orders
  7. Manage submitted orders

Non-Functional Requirements

  • Scalability: ability to cope and perform under expanding workload
    • Number of data feeds
    • Number of market instruments
    • Number of hedging strategies
    • Number of users?
  • Performance: amount of work accomplished per unit of time and resources
    • Memory efficient
    • Processor efficient
    • Network efficient
    • Data processing efficient
  • Modifiability: ease with which changes can be implemented
    • Changes to hedging strategies
    • Changes to hedging instruments
    • Changes to data processing
  • Reliability: ability to stay accurate and dependable
    • Deterministic
    • Free of bugs?
  • Auditability: ability to track and report the chain of events that lead to any action taken
  • Fault tolerance: ability for continous proper operation after failure
    • State recovery after fault
  • Interoperability: ease with which the system is able to function with others
    • Exhchanges
    • Wallet modification

Proposed Action Plan (phase 1)

  1. Build the Data Source and Data Processing layer
  2. Prototype the Intelligence layer for backtesting and validating

Deliverables (phase 1)

  1. Data Source
    • FTX data publisher module
    • OKEx data publisher module
    • Functional message-based communication component (ZMQ, Redis, else...)
  2. Data Processing
    • Functional data store
    • ETL module (ex. spike removal, ...)
    • Store in operational data store
  3. Intelligence
    • Historical data analysis processing (summary stats, volatility)
    • Backtesting (workbook? script?)

algorithmic-hedging-system's People

Contributors

sebastienverreault avatar

Watchers

 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.