Categorygithub.com/burdenbear/gladius
modulepackage
0.0.1
Repository: https://github.com/burdenbear/gladius.git
Documentation: pkg.go.dev

# README

gladius

Gladius, event driven trading engine building with golang, powered by GoEx.

背景

对大多数非计算机背景的策略师来说,一般难于在多线程环境下编写交易代码。 而单纯使用单个线程及同步的底层接口编写出来的交易程序网络io性能并不高, 用来做一些按固定时间驱动(分钟以上级别)的交易策略可能足够, 但不适合于需要处理大量档口数据以及要求快速频繁挂撤单等需要与交易所进行频繁网络交互的交易逻辑。

本项目基于GoEx实现的底层交易接口的调用进行了进一步的封装, 隐藏了与交易所之间在多线程环境下的进行异步网络交互的实现细节, 暴露给用户了一个单线程Event Driving的交易策略编写框架, 使策略师能通过编写和单线程环境下一样简单的策略逻辑,完成一个具有比单线程程序更高执行效率的交易程序。

功能和API接口

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Constants

exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
exchanges const.
次周合约.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
exchanges const.
No description provided by the author
平空.
开多.
No description provided by the author
No description provided by the author
平多.
开空.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
OrderType.
OrderType.
OrderType.
OrderType.
OT_POST_ONLY
OrderType.
exchanges const.
季度合约.
周合约.
exchanges const.
exchanges const.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

No description provided by the author

# Type aliases

No description provided by the author
OrderOffset.
OrderStatus.
No description provided by the author