All Projects → ctpbee → Ctpbee

ctpbee / Ctpbee

Licence: mit
个人自动交易解决方案 / 持续维护中

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ctpbee

Router-deprecated
🛣 Simple Navigation for iOS - ⚠️ Deprecated
Stars: ✭ 458 (+52.16%)
Mutual labels:  microframework
akshare
AKShare is an elegant and simple financial data interface library for Python, built for human beings! 开源财经数据接口库
Stars: ✭ 5,155 (+1612.62%)
Mutual labels:  quant
trader
交易模块
Stars: ✭ 20 (-93.36%)
Mutual labels:  quant
tomodachi
💻 Microservice library / framework using Python's asyncio event loop with full support for HTTP + WebSockets, AWS SNS+SQS, RabbitMQ / AMQP, middleware, etc. Extendable for GraphQL, protobuf, gRPC, among other technologies.
Stars: ✭ 170 (-43.52%)
Mutual labels:  microframework
tqk
한국 주식 데이터를 위한 R 패키지
Stars: ✭ 55 (-81.73%)
Mutual labels:  quant
gcandle
quant framework 本地量化交易策略框架
Stars: ✭ 27 (-91.03%)
Mutual labels:  quant
trellio
Python3 asyncio based microframework for microservice architecture
Stars: ✭ 19 (-93.69%)
Mutual labels:  microframework
Tai
A composable, real time, market data and trade execution toolkit. Built with Elixir, runs on the Erlang virtual machine
Stars: ✭ 264 (-12.29%)
Mutual labels:  quant
howtrader
Howtrader is a crypto currency quant framework, you can easily develop, backtest and run your own strategy in real market. It also supports tradingview or other 3rd party signals, just simply send a post request and it will help trade automatically. Now it only support binance spot, futures and inverse futures exchange. It will support okex, ftx…
Stars: ✭ 294 (-2.33%)
Mutual labels:  quant
Light-PHP
Easy, Lightweight, open source and magic-free PHP framework
Stars: ✭ 44 (-85.38%)
Mutual labels:  microframework
lixinger-openapi
理杏仁开发平台python api(非官方)
Stars: ✭ 43 (-85.71%)
Mutual labels:  quant
Beibo
🤖 Predict the stock market with AI 用AI预测股票市场
Stars: ✭ 46 (-84.72%)
Mutual labels:  quant
dipiper
基于nodejs的股票数据爬虫
Stars: ✭ 83 (-72.43%)
Mutual labels:  quant
6umpukc
Тулинг для разработки сайтов и решений на Bitrix под Ubuntu/Windows
Stars: ✭ 13 (-95.68%)
Mutual labels:  microframework
Qlnet
QLNet C# Library
Stars: ✭ 252 (-16.28%)
Mutual labels:  quant
autoxd
A股回测框架, 模拟实盘账户交易, 适合编写T+0策略
Stars: ✭ 71 (-76.41%)
Mutual labels:  quant
openctp
CTP开放平台提供A股、港股、美股、期货、期权等全品种接入通道,通过提供中泰证券XTP、华鑫证券奇点、东方证券OST、东方财富证券EMT、盈透证券TWS等各通道的CTPAPI接口,CTP程序可以无缝对接各股票柜台。平台也提供了一套基于TTS交易系统的模拟环境,同样提供了CTPAPI兼容接口,可以替代Simnow,为CTP量化交易开发者提供7x24可用的模拟环境。
Stars: ✭ 389 (+29.24%)
Mutual labels:  quant
51bitquant
51bitquant Python数字货币量化交易视频 CCXT框架 爬取交易所数据 比特币量化交易 交易机器人51bitquant tradingbot cryptocurrency quantitative trading btc trading
Stars: ✭ 284 (-5.65%)
Mutual labels:  quant
Quantbot
数字货币量化交易学习框架
Stars: ✭ 257 (-14.62%)
Mutual labels:  quant
GOAi
No description or website provided.
Stars: ✭ 57 (-81.06%)
Mutual labels:  quant

ctpbee

bee bee .... for developer's trading ~

tiny but strong

ctpbee provide a micro core of trading, you can make trade and backtest in it.

now it supports both ctp interface and backtest interface for using.

Environment Setup

# just for linux/ Generate Chinese environment
sudo ctpbee -auto generate

Origin

Quick Install

# code install 
git clone https://github.com/ctpbee/ctpbee && cd ctpbee && python3 setup.py install  

# or by  pip install
pip3 install ctpbee

Here is the document address

Quick Start

from ctpbee import CtpBee
app = CtpBee("ctpbee", __name__) 
info = {
    "CONNECT_INFO": {
        "userid": "",
        "password": "",
        "brokerid": "",
        "md_address": "",
        "td_address": "",
        "appid": "",
        "auth_code": "",
        "product_info":""
    },
    "INTERFACE":"ctp",
    "TD_FUNC": True,  # Open trading feature
}
app.config.from_mapping(info)  # loading config from dict object
app.start() 

Command Running

avatar

BackTest

support multiple instrument and multiple frequency

avatar

Development

Now I want to build stock support for ctpbee, if you have any interest, you can send email to me and join us!

Code Contributed

I just only accept PR code to dev branch, please remember that !

High Performance Version

Python version is too slow for HFT. If you need faster speed and are interested in Rust , please read the code of FlashFunk

IM

Due to the laziness of the main developer, fans have spontaneously formed a QQ group521545606.

You can join the group by search ctpbee or 521545606 in QQ and contact with them.

If you have any confusion about developing, please send email to me.

Email: [email protected]

At last, have a good luck.

License

  • MIT
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].