# An implementation of arbitrage strategy
## Quick start
We will show a complete procession of arbitraging between IF1901 and IF1902 using thunder-trader in this section.
Firstly, we should add the configuration information of IF1901 and IF1902 to the Monitor.json, so that the thunder-trader will know how to subscribe these two instrumentid.
```
{
"TradeServer": [
{
"Name": "Trade server #1",
"IP": "10.255.83.34",
"Port": "8800"
}
],
"UIStyle": {
"OutLookBarStyle": "NewStyle",
"OutLookBarTabStyle": "STYLE_3D_ONENOTE"
},
"SymbolDefine":{
"Stock Index Futures 1901":{
"type":"future",
"instrumentid":"IF1901",
"exchangeid":"CFFEX"
},
"Stock Index Futures 1902":{
"type":"future",
"instrumentid":"IF1902",
"exchangeid":"CFFEX"
}
}
}
```
Every child of **SymbolDefine** node defined a instrumentid.
The keyword field, for example, **Stock Index Futures 1901**, will be displayed in the drop-down menu of the strategy configuration interface of monitor.
It is just for human viewing, you can give him a name you like.
The **Type** should be `future`, the CTP plugin will check this value, and if it's not `future`, it will report an error.
The **instrumentid** is very important, and it's case sensitive.
The **exchangeid** is also very important, because ctp plugin need it when subscribing instrumentid. The value can be one of `CFFEX`,`SHFE`,`DCE`,`CZCE`.
Secondly, we start start the thunder-trader like:
```
nohup /path/to/thunder-trader /path/to/thunder-trader.conf 1 1>/dev/null 2>&1 &
```
Next, we run monitor and start deploying the strategy.
First, we should config the marketdata account and trade account.
Drag the profile of the transaction and market accounts to the left sidebar of monitor.
# [CTP_MD.json](https://github.com/solopointer/thunder-trader/blob/master/config_file_templates/CTP_MD.json)
# [CTP_TD.json](https://github.com/solopointer/thunder-trader/blob/master/config_file_templates/CTP_TD.json)
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
管理系统是一种通过计算机技术实现的用于组织、监控和控制各种活动的软件系统。这些系统通常被设计用来提高效率、减少错误、加强安全性,同时提供数据和信息支持。以下是一些常见类型的管理系统: 学校管理系统: 用于学校或教育机构的学生信息、教职员工信息、课程管理、成绩记录、考勤管理等。学校管理系统帮助提高学校的组织效率和信息管理水平。 人力资源管理系统(HRM): 用于处理组织内的人事信息,包括员工招聘、培训记录、薪资管理、绩效评估等。HRM系统有助于企业更有效地管理人力资源,提高员工的工作效率和满意度。 库存管理系统: 用于追踪和管理商品或原材料的库存。这种系统可以帮助企业避免库存过剩或不足的问题,提高供应链的效率。 客户关系管理系统(CRM): 用于管理与客户之间的关系,包括客户信息、沟通记录、销售机会跟踪等。CRM系统有助于企业更好地理解客户需求,提高客户满意度和保留率。 医院管理系统: 用于管理医院或医疗机构的患者信息、医生排班、药品库存等。这种系统可以提高医疗服务的质量和效率。 财务管理系统: 用于记录和管理组织的财务信息,包括会计凭证、财务报表、预算管理等。财务管理系统
资源推荐
资源详情
资源评论
收起资源包目录
基于高频交易系统thunder-trade开发,主要适用于web版本的monitor的 代码管理.zip (658个子文件)
liboes_api.a 1.55MB
cmake_install.cmake 2KB
cmake_install.cmake 2KB
DependInfo.cmake 2KB
DependInfo.cmake 1KB
CMakeDirectoryInformation.cmake 630B
CMakeDirectoryInformation.cmake 630B
cmake_clean.cmake 386B
cmake_clean.cmake 302B
nginx.example.conf 5KB
mds_client.conf 3KB
trade_service.cpp 69KB
arbitrage_base_future.cpp 37KB
simulate_kernel.cpp 28KB
CTP_FUTURE_TDPlugin.cpp 23KB
FEMAS_FUTURE_TDPlugin.cpp 23KB
arbitrage_future.cpp 22KB
TWS_MDPlugin.cpp 21KB
KR_QUANT_MDPlugin.cpp 21KB
FEMAS_FUTURE_MDPlugin.cpp 20KB
CTP_FUTURE_MDPlugin.cpp 20KB
DFITC_STOCK_MDPlugin.cpp 20KB
DFITC_SOP_MDPlugin.cpp 20KB
DFITC_SOP_TDPlugin.cpp 18KB
TWS_TDPlugin.cpp 16KB
QT_STOCK_MDPlugin.cpp 12KB
main.cpp 8KB
FIX_CYCLE_PRICE_MDPlugin.cpp 7KB
simple_strategy.cpp 5KB
TEMPLATE_ANY_TDPlugin.cpp 4KB
connection.cpp 4KB
server.cpp 3KB
StrategyData.cpp 2KB
io_service_pool.cpp 2KB
AbandonOverlap.cpp 824B
AutoPend.cpp 202B
bootstrap.css 170KB
bootstrap.min.css 138KB
style.violet.css 66KB
style.default.css 66KB
style.pink.css 66KB
style.sea.css 66KB
style.blue.css 66KB
style.red.css 66KB
style.green.css 66KB
bootstrap-grid.css 37KB
font-awesome.css 37KB
font-awesome.min.css 30KB
bootstrap-grid.min.css 28KB
bootstrap-reboot.css 5KB
bootstrap-reboot.min.css 4KB
fontastic.css 2KB
styles.css 2KB
custom.css 25B
thunder-trader.conf.default 538B
error.dtd 184B
error.dtd 184B
error.dtd 184B
fontawesome-webfont.eot 162KB
dashboard.eot 9KB
dashboard.eot 9KB
strategy.example 1KB
ThostFtdcUserApiDataType.h 236KB
ThostFtdcUserApiDataType.h 229KB
ThostFtdcUserApiStruct.h 186KB
ThostFtdcUserApiStruct.h 178KB
DFITCSECApiStruct.h 123KB
DFITCSECApiStruct.h 123KB
oes_base_model.h 121KB
HundsunUserApiStruct.h 114KB
oes_api.h 79KB
oes_qry_packets.h 66KB
mds_base_model.h 63KB
mds_api.h 63KB
DFITCSECTraderApi.h 50KB
DFITCSECTraderApi.h 50KB
DFITCSECApiDataType.h 44KB
DFITCSECApiDataType.h 44KB
HundsunTraderApi.h 40KB
spk_times.h 38KB
mds_mkt_packets.h 38KB
TickLoaderImp.h 34KB
ThostFtdcTraderApi.h 29KB
oes_packets.h 29KB
ThostFtdcTraderApi.h 28KB
USTPFtdcUserApiStruct.h 25KB
MySQLTickLoader.h 24KB
spk_strings.h 21KB
cmnlib.h 21KB
USTPFtdcUserApiDataType.h 20KB
types.h 18KB
compiler.h 16KB
oes_errors.h 15KB
spk_general_client_define.h 15KB
_spk_log.h 15KB
trade_service.h 13KB
ArbitrageBaseFuture.h 12KB
USTPFtdcTraderApi.h 11KB
spk_log_instance.h 11KB
DFITCSECMdApi.h 10KB
共 658 条
- 1
- 2
- 3
- 4
- 5
- 6
- 7
资源评论
JJJ69
- 粉丝: 6206
- 资源: 5784
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于OpenCV的案例:图像边缘、角点和轮廓检测,图像分割,图像增强;图片拼接;运动目标检测,颜色直方图比较,三帧帧差法,抠图
- SmartPlug-html大一笔记
- SmartPlug-proteusdemo
- Preliminary Findings on Handmade Rattan Baby Crib andBassinet Designs Regarding.zip
- aveebfq_v1.2.83_downyi.com.apk
- 基于有机发光二极管(OLED)的建模优化算法的matlab仿真源码+数据+文档说明+项目说明(高分课程设计)
- hash01-test.c 本人哈希表(一)的示例代码,仅供参考!
- 处理数据.py
- 软件实施计划表.xls
- 软件开发应用软件项目提交文档目录要求(全过程)(推荐文档).xls
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功