Coder Social home page Coder Social logo

marketmaker's Introduction

marketMaker

接入okcoin的数字货币行情,并在众安交易所做市

作者:吴典(Andy.Woo) @上海 手机/微信:18621528717

项目简介

一.代码结构

1.api

通过websocket协议从okcoin接入okcoin柜台上数字货币的tick行情,通过rest协议从众安交易所读写数字货币的行情

2.dataRecorder

基于api接口,将okcoin获取的数字货币的tick转为自定义结构,并实时存入mongoDB数据库中

3.gateway网关

将外部获取的行情结构转为自定义结构

4.strategy

包含了自定义数据结构在系统内部的流转过程以及做市商策略

4.1.MMBase 定了tick和bar等数据结构

4.2.MMEngine 实现了CTA策略引擎,针对CTA类型的策略,抽象简化了部分底层接口的功能

4.3.MMTemplate 包含了CTA引擎中的策略开发用模板,开发策略时需要继承CtaTemplate类

4.4.MMStrategy 做市商策略 (内容详见doc/做市商策略.txt)

4.5.vtMMClient 主引擎 and 程序切入口

marketmaker's People

Contributors

wudian avatar

Stargazers

cryptoflashboy avatar Hang avatar Hao(Bryce) avatar  avatar

Watchers

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