Git Product home page Git Product logo

momentum-hftdex's Introduction

███╗░░░███╗░█████╗░███╗░░░███╗███████╗███╗░░██╗████████╗██╗░░░██╗███╗░░░███╗
████╗░████║██╔══██╗████╗░████║██╔════╝████╗░██║╚══██╔══╝██║░░░██║████╗░████║
██╔████╔██║██║░░██║██╔████╔██║█████╗░░██╔██╗██║░░░██║░░░██║░░░██║██╔████╔██║
██║╚██╔╝██║██║░░██║██║╚██╔╝██║██╔══╝░░██║╚████║░░░██║░░░██║░░░██║██║╚██╔╝██║
██║░╚═╝░██║╚█████╔╝██║░╚═╝░██║███████╗██║░╚███║░░░██║░░░╚██████╔╝██║░╚═╝░██║
╚═╝░░░░░╚═╝░╚════╝░╚═╝░░░░░╚═╝╚══════╝╚═╝░░╚══╝░░░╚═╝░░░░╚═════╝░╚═╝░░░░░╚═╝

███╗░░░███╗░█████╗░██████╗░██╗░░██╗███████╗████████╗░██████╗
████╗░████║██╔══██╗██╔══██╗██║░██╔╝██╔════╝╚══██╔══╝██╔════╝
██╔████╔██║███████║██████╔╝█████═╝░█████╗░░░░░██║░░░╚█████╗░
██║╚██╔╝██║██╔══██║██╔══██╗██╔═██╗░██╔══╝░░░░░██║░░░░╚═══██╗
██║░╚═╝░██║██║░░██║██║░░██║██║░╚██╗███████╗░░░██║░░░██████╔╝
╚═╝░░░░░╚═╝╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░╚═╝╚══════╝░░░╚═╝░░░╚═════╝░

Momentum HFTDEX

An Orderbook DEX with support for High Frequency Trading.

Components of an Orderbook DEX:

  • Order Types
  • Matching Engine

Additional Features of HFTDEX

  • Leveraged trading
  • Liquidity Pools & Arbitrage

HFTDEX Architecture

Core

Orderbook Contracts.

  1. Orderbook Contract: Orderbook for a token pair.
  2. OrderbookFactory: Orderbook deployer for token pairs.

Tentative Token List:

   * WETH
   * USDC
   * USDT
   * BTC
   * USDP
   * DAI
   * BUSD
   * UST
   * BNB
   * TUSD
   * UNI
   * AAVE
   * LINK
   * SOL
   * NEAR
   * HBAR
   * AVAX
   * MATIC
   * LTC
   * ICP

Leveraged Trading Contracts

  1. MarginAccount: To manage individual trader's margin accounts, tracking the amounts borrowed and the associated liabilities.

  2. LendingPool and LendingPoolFactory: To facilitate the lending of assets. This pool can be funded by other users who earn interest on their lent assets.

  3. Liquidation Contract: To handle the liquidation of positions that fall below a certain maintenance margin, ensuring lenders are repaid.

  4. Oracle: To provide reliable price feeds which are crucial for calculating the value of collateral and triggering liquidations.

Order Types

HFTDEX currently supports:

1. Market Orders
2. Limit Orders
3. Stop Orders
4. Stop Limit Orders
5. Trailing Stop Orders
6. Iceberg Orders

Momentum plans to make more advanced order types available through the frontend.

Traders can also make their own custom order types through utilizing the API.

momentum-hftdex's People

Contributors

twizzworld avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

dashbaord202401

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.