All Projects → BigBrotherTrade → backend-ctp

BigBrotherTrade / backend-ctp

Licence: Apache-2.0 license
CTP接口封装,使用redis做消息中转

Programming Languages

C++
36643 projects - #6 most used programming language
c
50402 projects - #5 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to backend-ctp

trader
交易模块
Stars: ✭ 20 (-23.08%)
Mutual labels:  stock, quant, futures, ctp
openctp
CTP开放平台提供A股、港股、美股、期货、期权等全品种接入通道,通过提供中泰证券XTP、华鑫证券奇点、东方证券OST、东方财富证券EMT、盈透证券TWS等各通道的CTPAPI接口,CTP程序可以无缝对接各股票柜台。平台也提供了一套基于TTS交易系统的模拟环境,同样提供了CTPAPI兼容接口,可以替代Simnow,为CTP量化交易开发者提供7x24可用的模拟环境。
Stars: ✭ 389 (+1396.15%)
Mutual labels:  stock, quant, futures, ctp
Akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 4,334 (+16569.23%)
Mutual labels:  stock, quant, futures
akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 5,155 (+19726.92%)
Mutual labels:  stock, quant, futures
Rqalpha
A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities
Stars: ✭ 4,425 (+16919.23%)
Mutual labels:  stock, quant, futures
dipiper
基于nodejs的股票数据爬虫
Stars: ✭ 83 (+219.23%)
Mutual labels:  stock, quant
tqk
한국 주식 데이터를 위한 R 패키지
Stars: ✭ 55 (+111.54%)
Mutual labels:  stock, quant
MyTT
MyTT将通达信,同花顺,文华麦语言等指标公式,最简移植到Python中,核心库单个文件,仅百行代码,十几个核心函数,神奇的实现所有常见技术指标算法(不依赖talib库)的纯python实现和转换通达信MACD,RSI,BOLL,ATR,KDJ,CCI,PSY等公式,全部基于pandas函数计算方法封装,简洁且高性能,能非常方便的应用在股票指标公式,股市期货量化框架分析,自动程序化交易,数字货币量化等领域,它是您最精练的股市量化工具。Python library with most stock market indicators.
Stars: ✭ 888 (+3315.38%)
Mutual labels:  stock, quant
Fooltrader
quant framework for stock
Stars: ✭ 960 (+3592.31%)
Mutual labels:  stock, quant
Beibo
🤖 Predict the stock market with AI 用AI预测股票市场
Stars: ✭ 46 (+76.92%)
Mutual labels:  stock, quant
Trady
Trady is a handy library for computing technical indicators, and it targets to be an automated trading system that provides stock data feeding, indicator computing, strategy building and automatic trading. It is built based on .NET Standard 2.0.
Stars: ✭ 433 (+1565.38%)
Mutual labels:  stock, quant
Abu
阿布量化交易系统(股票,期权,期货,比特币,机器学习) 基于python的开源量化交易,量化投资架构
Stars: ✭ 8,589 (+32934.62%)
Mutual labels:  stock, quant
Zvt
modular quant framework.
Stars: ✭ 1,801 (+6826.92%)
Mutual labels:  stock, quant
Qlib Server
Qlib-Server is the data server system for Qlib. It enable Qlib to run in online mode. Under online mode, the data will be deployed as a shared data service. The data and their cache will be shared by all the clients. The data retrieval performance is expected to be improved due to a higher rate of cache hits. It will consume less disk space, too.
Stars: ✭ 81 (+211.54%)
Mutual labels:  stock, quant
Amazingquant
基于Event-driven的量化交易解决方案
Stars: ✭ 128 (+392.31%)
Mutual labels:  stock, quant
Stock
30天掌握量化交易 (持续更新)
Stars: ✭ 2,966 (+11307.69%)
Mutual labels:  stock, quant
pystockfilter
Financial technical and fundamental analysis indicator library for pystockdb.
Stars: ✭ 26 (+0%)
Mutual labels:  stock, quant
ig-markets
IG Markets API wrapper for Node.js
Stars: ✭ 23 (-11.54%)
Mutual labels:  stock, futures
Pyspider Stock
A project using pyspider to collect data and NLP techs to analyze the correlation among the data
Stars: ✭ 56 (+115.38%)
Mutual labels:  stock, quant
Friartuck
Live Quant Trading Framework for Robinhood, using IEX Trading and AlphaVantage for Free Prices.
Stars: ✭ 142 (+446.15%)
Mutual labels:  stock, quant

CTP后台服务程序

操盘大哥v2.0的ctp后台

安装

Linux

  • 安装依赖:sudo dnf install cmake hiredis-devel

  • 安装redis++

  • 如果使用/usr/local目录存放.so文件,需要将/usr/local/lib, /usr/local/lib64/ 加入 etc/ld.so.conf

    同时将api目录中的so文件复制到/usr/lib64/, 执行sudo ldconfig刷新一下

  • 进去源码目录,执行标准cmake安装:

    mkdir build && cd build && cmake ..

    cmake --build . --target backend-ctp --config release

  • 编译后的执行程序 backend-ctp 位于/usr/local/bin 目录下

  • 参考config-example.ini,在"~/.config/backend-ctp/"目录下新建config.ini, 填入服务器的ip和mac地址、修改相关配置项。

Windows

  • 源码已包含编译好的hiredis和redis++静态库,不需要额外安装。
  • 使用vs stdio或clion直接编译即可,
  • 程序运行需要将ctp的3个dll放在执行文件相同目录下
  • 参考config-example.ini,在执行文件目录下新建config.ini, 填入服务器的ip和mac地址、修改相关配置项。
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].