All Projects → sun0x00 → Redtorch

sun0x00 / Redtorch

Licence: mit
Java开源量化交易开发框架

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Redtorch

Vnpy
基于Python的开源量化交易平台开发框架
Stars: ✭ 17,054 (+3129.92%)
Mutual labels:  trading, finance, quant, algotrading, investment
Quantdom
Python-based framework for backtesting trading strategies & analyzing financial markets [GUI ]
Stars: ✭ 449 (-14.96%)
Mutual labels:  trading, finance, quant, algotrading, investment
GOAi
No description or website provided.
Stars: ✭ 57 (-89.2%)
Mutual labels:  finance, trading, quant, investment
Riskfolio Lib
Portfolio Optimization and Quantitative Strategic Asset Allocation in Python
Stars: ✭ 305 (-42.23%)
Mutual labels:  trading, finance, investment
Awesome Quant
中国的Quant相关资源索引
Stars: ✭ 2,529 (+378.98%)
Mutual labels:  trading, finance, quant
Wondertrader
WonderTrader——量化研发交易一站式框架
Stars: ✭ 221 (-58.14%)
Mutual labels:  trading, quant, algotrading
Starquant
a light-weighted, integrated trading/backtesting system/platform(综合量化交易回测系统/平台)
Stars: ✭ 250 (-52.65%)
Mutual labels:  trading, quant, algotrading
Tai
A composable, real time, market data and trade execution toolkit. Built with Elixir, runs on the Erlang virtual machine
Stars: ✭ 264 (-50%)
Mutual labels:  trading, quant, investment
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 (+1335.98%)
Mutual labels:  finance, quant, investment
cira
Cira algorithmic trading made easy. A Façade library for simpler interaction with alpaca-trade-API from Alpaca Markets.
Stars: ✭ 21 (-96.02%)
Mutual labels:  finance, trading, algotrading
Blankly
🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
Stars: ✭ 1,456 (+175.76%)
Mutual labels:  trading, algotrading, investment
cryptoquant
An Quantatitive trading library for crypto-assets 数字货币量化交易框架
Stars: ✭ 96 (-81.82%)
Mutual labels:  trading, algotrading, quant
Pipeline Live
Pipeline Extension for Live Trading
Stars: ✭ 154 (-70.83%)
Mutual labels:  trading, finance, algotrading
Rqalpha
A extendable, replaceable Python algorithmic backtest && trading framework supporting multiple securities
Stars: ✭ 4,425 (+738.07%)
Mutual labels:  trading, finance, quant
Py Market Profile
A library to calculate Market Profile (aka Volume Profile) for financial data from a Pandas DataFrame.
Stars: ✭ 153 (-71.02%)
Mutual labels:  trading, finance, quant
Turingtrader
The Open-Source Backtesting Engine/ Market Simulator by Bertram Solutions.
Stars: ✭ 132 (-75%)
Mutual labels:  trading, finance, quant
Sgx Full Orderbook Tick Data Trading Strategy
Providing the solutions for high-frequency trading (HFT) strategies using data science approaches (Machine Learning) on Full Orderbook Tick Data.
Stars: ✭ 733 (+38.83%)
Mutual labels:  trading, quant, investment
Surpriver
Find big moving stocks before they move using machine learning and anomaly detection
Stars: ✭ 1,152 (+118.18%)
Mutual labels:  trading, algotrading, investment
Alpaca Backtrader Api
Alpaca Trading API integrated with backtrader
Stars: ✭ 246 (-53.41%)
Mutual labels:  trading, finance, algotrading
Beibo
🤖 Predict the stock market with AI 用AI预测股票市场
Stars: ✭ 46 (-91.29%)
Mutual labels:  finance, quant, investment

redtorch

但知行好事,莫要问前程。

在您下载和使用本项目前,请务必阅读相关协议和注意事项

项目简介

项目是基于Java语言开发的开源量化交易程序开发框架。

项目仓库地址: https://github.com/sun0x00/redtorch

提示

如果你看到当前这段话,说明那你正在浏览的是1.0.0版本分支 。

此分支大幅精简了0.3.0版本中的通讯协议,增加了HTTP WebSocket混合RPC模式, 这极大的改善了性能,但是通讯模型理解难度增大; 此外,这个分支修复了大量拼写错误、 优化了Desktop模块的渲染方式、修复了诸多BUG、修改了接入认证方式。

由于改动幅度较大,尚未经过充分测试,请谨慎使用。

Web页面和Python客户端对应的1.0.0分支也已经发布,与0.3.0不兼容。

下一个版本1.1.0计划实现基于Zookeeper的HA,此版本已经提前准备了HaSession模块。

开发语言

Java

项目文档

此项目仅供代码相互学习,不提供文档,部分问题可在FAQ查找答案 。

FAQ

这些项目都是做什么用的(redtorch、redtorch-web-react、redtorch-python-client、redtorch-resources)?
  • redtorch 整套开源框架的核心,承载主要业务逻辑,Gradle管理,有进一步细分的模块,详见代码

  • redtorch-web-react redtorch的web页面,此项目主要使用typescript react开发,使用node yarn构建,编译后被集成在redtorch/rt-master中

  • redtorch-python-client redtorch有三种主要访问形式,web、python、desktop,此项目提供了Python接入的模板

  • redtorch-resources 项目涉及到的第三方资源,JNI封装说明、源码等内容

项目如何使用和部署?
  • 项目部署可分为主节点(rt-master)、从节点(rt-slave)、桌面端(rt-desktop)、python-client。 主节点用于管理配置、接入数据库数据库、登录鉴权等,这个模块默认还包含Web服务,提供基本的用户操作接口。 从节点属于容器,承载网关等组件。

  • 桌面端可选,这个模块提供更高性能的用户监控和操作接口,并可拓展开发图形化组件。

  • 主节点、从节点、桌面端模块都在项目redtorch中,使用Gradle bootJar命令打包为 .jar 文件后,一般情况下,可通过java -jar <文件名>.jar 运行 主节点的默认web访问端口为9099, admin用户的密码使用SHA-256加密,配置在主节点配置文件中

  • 从节点接入主节点之前,请现在主节点中生成从节点信息,将token配置到从节点的配置文件中

  • 桌面端和python-client接入使用用户名密码,这也需要提前在主节点中配置,或直接使用admin用户

  • 其它接入方式,可通过websocket使用任意语言接入,数据结构请遵循redtorch/rt-pb中Protobuf配置文件中的数据结构

  • 配置网关请指定一个存在的从节点ID,否则网关将无法被加载

修改主节点(rt-master)、从节点(rt-slave)、桌面端(rt-desktop)中的配置文件一定要重新编译打包吗?
  • 如果在jar文件所在运行目录中加入配置文件application.properties,其配置会默认覆盖打包在jar中的配置文件,这一点将十分便于生产部署,配置分离。
支持哪些操作系统?
  • 本系统已经在windows和linux中应用

  • 支持MAC,但是请注意,rt-slave模块依赖一些第三方运行库,例如ctp相关的dll和so,这些第三方库不一定支持mac,因此无法完全兼容

如何编写策略?
  • 在redtorch-python-client中,提供了一些策略模板,可作为参照

  • 如果需要编写Java策略,请自行拓展开发

是否支持回测?
  • 目前不支持回测,由于历史数据存在诸多不同,很多使用旧版的朋友都遇到了回测困难的问题,因此移除了Java策略引擎和回测引擎 未来,可能会有一个新的精简项目,用于处理此类问题(不能保证)
复杂的异构部署接入和直接使用其他Python量化项目有什么区别?
  • 如果你是一般用户,建议不要在此项目投入过多时间。

  • 如果你是非高频类的一般小型机构,此项目或许能带来帮助,在开发效率,维护便利性和性能上提供一定的保证。

只能用来做国内期货吗?
    此项目的的网关可自行拓展开发,同时此项目使用了非常复杂的数据键,因此可以支持复杂的账户定位,合约定位。
    在实际使用中已有接入国内证券(受限于政策,只读)和外盘接口的先例。

协议(License)

MIT

重要提示

用户在遵循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].