DuckDuckDuck0 / Ft

Licence: mit
算法交易系统,支持CTP、XTP、模拟交易及行情网关、回测。不断迭代更新中。

Programming Languages

cpp
1120 projects

Projects that are alternatives of or similar to Ft

AutoTrader
A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
Stars: ✭ 227 (+127%)
Mutual labels:  trading-platform, quantitative-finance, quantitative-trading
Elitequant
A list of online resources for quantitative modeling, trading, portfolio management
Stars: ✭ 1,823 (+1723%)
Mutual labels:  quantitative-finance, trading-platform, quantitative-trading
Quant
Codera Quant is a Java framework for algorithmic trading strategies development, execution and backtesting via Interactive Brokers TWS API or other brokers API
Stars: ✭ 104 (+4%)
Mutual labels:  quantitative-finance, trading-platform, quantitative-trading
Tradingstrategies
Algorithmic trading strategies
Stars: ✭ 120 (+20%)
Mutual labels:  quantitative-finance, trading-platform, quantitative-trading
Zvt
modular quant framework.
Stars: ✭ 1,801 (+1701%)
Mutual labels:  quantitative-finance, trading-platform, quantitative-trading
Turingtrader
The Open-Source Backtesting Engine/ Market Simulator by Bertram Solutions.
Stars: ✭ 132 (+32%)
Mutual labels:  quantitative-finance, trading-platform, quantitative-trading
piker
#nontina, #paperhands,, #pwnzebotz, #tradezbyguille
Stars: ✭ 63 (-37%)
Mutual labels:  trading-platform, quantitative-trading
Machine Learning And Ai In Trading
Applying Machine Learning and AI Algorithms applied to Trading for better performance and low Std.
Stars: ✭ 258 (+158%)
Mutual labels:  quantitative-finance, quantitative-trading
Gdax Orderbook Ml
Application of machine learning to the Coinbase (GDAX) orderbook
Stars: ✭ 60 (-40%)
Mutual labels:  quantitative-finance, quantitative-trading
Quantitative Notebooks
Educational notebooks on quantitative finance, algorithmic trading, financial modelling and investment strategy
Stars: ✭ 356 (+256%)
Mutual labels:  quantitative-finance, quantitative-trading
tiger quant
Java 实盘量化框架
Stars: ✭ 49 (-51%)
Mutual labels:  quantitative-finance, quantitative-trading
Awesome Algorithmic Trading
A curated list of awesome algorithmic trading frameworks, libraries, software and resources
Stars: ✭ 328 (+228%)
Mutual labels:  quantitative-finance, quantitative-trading
Elitequant python
Python quantitative trading and investment platform; Python3 based multi-threading, concurrent high-frequency trading platform that provides consistent backtest and live trading solutions. It follows modern design patterns such as event-driven, server/client architect, and loosely-coupled robust distributed system. It follows the same structure and performance metrix as other EliteQuant product line, which makes it easier to share with traders using other languages.
Stars: ✭ 394 (+294%)
Mutual labels:  trading-platform, quantitative-trading
quanttrader
Backtest and live trading in Python
Stars: ✭ 139 (+39%)
Mutual labels:  trading-platform, quantitative-trading
Options Trading Strategies In Python
Developing Options Trading Strategies using Technical Indicators and Quantitative Methods
Stars: ✭ 309 (+209%)
Mutual labels:  quantitative-finance, quantitative-trading
QuoraBooks
A GitHub repo for Quant Finance resources
Stars: ✭ 17 (-83%)
Mutual labels:  quantitative-finance, quantitative-trading
Elitequant cpp
C/C++ 11 High frequency quantitative trading platform. It follows modern design patterns such as event-driven, server/client architect, dependency injection and loosely-coupled robust distributed system. It is self-contained and can be used out of box. At the same time, it serves as server side for other EliteQuant projects.
Stars: ✭ 341 (+241%)
Mutual labels:  trading-platform, quantitative-trading
Qlib
Qlib is an AI-oriented quantitative investment platform, which aims to realize the potential, empower the research, and create the value of AI technologies in quantitative investment. With Qlib, you can easily try your ideas to create better Quant investment strategies. An increasing number of SOTA Quant research works/papers are released in Qlib.
Stars: ✭ 7,582 (+7482%)
Mutual labels:  quantitative-finance, quantitative-trading
Quantdom
Python-based framework for backtesting trading strategies & analyzing financial markets [GUI ]
Stars: ✭ 449 (+349%)
Mutual labels:  quantitative-finance, trading-platform
Stock analysis for quant
Different Types of Stock Analysis in Python, R, Matlab, Excel, Power BI
Stars: ✭ 525 (+425%)
Mutual labels:  quantitative-finance, quantitative-trading

Flare Trader 算法交易系统

Platform Build
Linux Build Status

Flare Trader是一套量化交易解决方案,旨在追求以下目标:

  • 极低的交易时延,框架耗时控制在2us以内 (进行中)
  • 提供从策略开发到部署落地的整个完整的解决方案
  • 友好的策略开发接口及框架
  • 模块化的设计,可以对各个组件进行定制化开发

目前Flare Trader离上面所列举的目标还差很远,但会持续地更新,大家有想法或是发现了bug,可以在issue上面自由讨论,也欢迎大家参与到ft的开发讨论中。

详细使用及开发文档请移步wiki页面 https://github.com/DuckDuckDuck0/ft/wiki

QQ交流群:341031341

Table of Contents

Backgroud

为了解决当前众多Python量化交易框架性能低的问题

先上张图快速了解下ft的架构 framework

Install

使用cmake(>=3.13)及g++(>=7)进行编译

$ git clone https://github.com/DuckDuckDuck0/ft.git
$ cd ft
$ mkdir build && cd build
$ cmake ..
$ make -j

Usage

以进行ctp交易为例,假设你现在处于build目录中

先进行ctp登录信息的配置

$ vim ../config/ctp_config.yml

下面是一份simnow的配置文件

api: ./libctp_gateway.so
trade_server_address: tcp://180.168.146.187:10130
quote_server_address: tcp://180.168.146.187:10131
broker_id: 9999
investor_id: 123456  # 你的simnow账户
password: abc123     # 你的simnow密码
auth_code: 0000000000000000
app_id: simnow_client_test
subscription_list: [rb2104,rb2105]  # 订阅rb2104,rb2105两个品种的行情

contracts_file: ../config/contracts.csv  # 合约文件

no_receipt_mode: false  # 无回报模式,开启此选项则策略不会收到回报
cancel_outstanding_orders_on_startup: true  # 启动时撤销所有未完成订单

# 流控配置,填0表示关闭该功能
throttle_rate_limit_period_ms: 0
throttle_rate_order_limit: 0
throttle_rate_volume_limit: 0

配置完成后,准备启动ft_trader交易通道

如果当前合约文件过于老旧,则在启动ft_trader前,使用contract_collect进行更新

$ ./contract_collector --config=../config/ctp_config.yml --output=../config/contracts.csv

在启动ft_trader前,先启动redis-server服务。如未安装,在ubuntu系统上可通过apt进行安装

$ sudo apt install redis-server

安装完毕后启动redis-server

$ redis-server

然后使用该配置文件启动ft_trader交易通道

$ ./ft_trader --config=../config/ctp_config.yml

最后启动demo策略

$ ./strategy_engine --account=123456 --contracts=../config/contracts.csv --id=spread_arb_0 --strategy=libspread_arb.so

Maintainers

@DuckDuckDuck0

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