• 大小: 7.21MB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2023-09-23
  • 语言: C/C++
  • 标签: CTP  量化交易  c++  

资源简介

灵活配置交易目标; 对交易逻辑进行高层次抽象,将策略开发者从交易接口的底层细节中解脱出来; 可自定义C++变量的“探针”,通过“探针”可以在盘中实时可视化任何变量的走势; 策略可以将当前运行状态保存到磁盘,方便进行系统迁移; 策略可以自定义“人工干预动作”,在线上策略运行过程中,可人工向策略发送一些预定义的信号; 同一交易服务器上的不同策略之间可以互相通信; 优雅的框架,定义了大量的宏,是的策略的代码简洁易懂;

资源截图

代码片段和文件信息

#include 
#include “Tick\Tick.h“
using namespace std;


void AbandonOverlap(vector&result)
{
    auto OverAllSerialLength = result.size();
    unsigned int incment = 1;
    unsigned int Be = 0;
    while (Be + incment    {
        if (
            result[Be + incment]->m_datetimeUTCDateTime
            ==
            result[Be]->m_datetimeUTCDateTime
            )
        {
            string temp = to_simple_string(result[Be + incment]->m_datetimeUTCDateTime);
            result[Be + incment]->m_datetimeUTCDateTime += microseconds(incment);
            temp = to_simple_string(result[Be + incment]->m_datetimeUTCDateTime);
            ++incment;
        }
        else
        {
            Be += incment;
            incment = 1;
        }
    }
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-01-09 11:58  thunder-trader-master\
     文件          58  2019-01-09 11:58  thunder-trader-master\.gitignore
     目录           0  2019-01-09 11:58  thunder-trader-master\assets\
     文件      467074  2019-01-09 11:58  thunder-trader-master\assets\hft-monitor1.png
     文件      434044  2019-01-09 11:58  thunder-trader-master\assets\hft-monitor2.png
     文件      649455  2019-01-09 11:58  thunder-trader-master\assets\hft-monitor3.png
     文件      671063  2019-01-09 11:58  thunder-trader-master\assets\hft-monitor4.png
     文件      364944  2019-01-09 11:58  thunder-trader-master\assets\hft-research1.png
     文件       25251  2019-01-09 11:58  thunder-trader-master\assets\star.jpeg
     文件       97338  2019-01-09 11:58  thunder-trader-master\assets\thunder-trader-group.jpeg
     文件       21991  2019-01-09 11:58  thunder-trader-master\assets\thunder-trader.png
     文件        6669  2019-01-09 11:58  thunder-trader-master\CMakeLists.txt
     目录           0  2019-01-09 11:58  thunder-trader-master\common\
     文件         824  2019-01-09 11:58  thunder-trader-master\common\AbandonOverlap.cpp
     文件       12700  2019-01-09 11:58  thunder-trader-master\common\ArbitragebaseFuture.h
     文件        5301  2019-01-09 11:58  thunder-trader-master\common\ArbitragebaseStock.h
     文件         202  2019-01-09 11:58  thunder-trader-master\common\AutoPend.cpp
     文件         222  2019-01-09 11:58  thunder-trader-master\common\AutoPend.h
     文件        2688  2019-01-09 11:58  thunder-trader-master\common\BackTestResult.h
     文件         663  2019-01-09 11:58  thunder-trader-master\common\CommuniInterface.h
     文件         130  2019-01-09 11:58  thunder-trader-master\common\config.h
     文件         158  2019-01-09 11:58  thunder-trader-master\common\config.h.in
     文件        1371  2019-01-09 11:58  thunder-trader-master\common\CrossPlatformDefinitions.h
     文件        3917  2019-01-09 11:58  thunder-trader-master\common\CustomArbitrageStrategyInterface.h
     文件        7496  2019-01-09 11:58  thunder-trader-master\common\LimitOrderTransactionbase.h
     文件       24681  2019-01-09 11:58  thunder-trader-master\common\MySQLTickLoader.h
     文件        1202  2019-01-09 11:58  thunder-trader-master\common\Order.h
     文件        4199  2019-01-09 11:58  thunder-trader-master\common\OrderRefResolve.h
     文件        6084  2019-01-09 11:58  thunder-trader-master\common\PackageDefine.h
     文件         754  2019-01-09 11:58  thunder-trader-master\common\QuantFundHFTBackTestTypedefine.h
     文件         904  2019-01-09 11:58  thunder-trader-master\common\ReportKernelInterface.h
............此处省略254个文件信息

评论

共有 条评论