Coder Social home page Coder Social logo

crypto_index's Introduction

The CQT (Crypto Quant Trading) Package

The CQT package is a package for crypto quant trading. It includes the following component:

  1. DataGen: Unified interface for data query and processing. Specific data objects are designed to handle various trading data for crypto assets. It contains utility functions to query data from different exchanges/data providers, and restore them in a standard OHLCV data format indexed by query dictionary

  2. Env: Built from 'spot', 'forward' and 'vol' asset env components, the env class is used to hold the data from different types of assets. In each env (component), we attach the corresponding env configurations as guideline to postprocess and analyze the input data, performance statistical inference.

  3. Analyze: Generate analysis from environments and provide interface functions for a large set of market signals (e.g. bear/bull, moving average crossing, and etc)

  4. Ledger: Standardized holding class, which provides the basic logics of buy/sell and set aside functions to track the changes on the asset holdings and cash

  5. Strategy: Valuation engine that combines Env and Ledger. It takes the signals generated from Env, and follow the strategy logic to update the Ledger. Back testing is provided to test the strategy against the historical data in the Env. New strategies be derived from the base class simply and one can implement their own trading logic

  6. Execution: It provides linkage with certain exchange API, which can execute the strategy based on the ledger information

crypto_index's People

Contributors

mark-massless avatar asteroula avatar qianzuoming avatar ang212 avatar

Watchers

James Cloos 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.