Code Monkey home page Code Monkey logo

dashboard's Introduction

dashboard

操盘大哥的**控制面板

商品期货主连切换逻辑:(日线级别对比) 1、成交量最大+(成交量》1万)+(持仓量》1万)=主力合约。满足这三个条件第二天开盘切换。 2、不满足上述条件的,需连续3天都是成交量最大,第四天开盘切换。

股指期货主连切换逻辑:(日线级别对比)成交量最大或持仓量最大,第二天开盘切换。

每天收市后计算:
各品种的交易合约更新(ctp,新浪) 各品种的主连合约:计算基差,主连合约后复权(新浪) 资金曲线(ctp) 各品种换月标志 各品种开仓信号 各品种平仓信号 微信报告
每天开市后判断:
换月标志->换月信号
盘中判断:
当前价格=开仓价格->开仓信号 当前价格=平仓价格->平仓信号
盘中等待信号:
换月信号->平旧开新 开仓信号->开仓 平仓信号->平仓
盘中回调处理:
报单 撤单 订单状态改变 成交回报

INSTALL

for centos: sudo yum install gcc libffi-devel python-devel openssl-devel 先装talib的C库,再用pip装依赖

License

dashboard is offered under the Apache 2 license.

dashboard's People

Contributors

timercrack 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.