• 最小金额交易单元配比


    配比

    //变量自动设置

    if (BarInterval == 1)
    {
    Fast = 5;
    Slow = 30;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"c9000.DCE01") )
    slot = 1;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"fu000.SHFE01") )
    slot = 1;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"m9000.DCE01") )
    slot = 1;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"MA000.CZCE01") )
    slot = 1;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"rb000.SHFE01") )
    slot = 1;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"TA000.CZCE01") )
    slot = 1;

    }

    if (BarInterval == 30)
    {
    Fast = 20;
    Slow = 200;

    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"c9000.DCE130") )
    slot = 5;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"fu000.SHFE130") )
    slot = 4;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"m9000.DCE130") )
    slot = 3;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"MA000.CZCE130") )
    slot = 6;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"rb000.SHFE130") )
    slot = 6;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"TA000.CZCE130") )
    slot = 3;
    if (Exact (Symbol + Text(bartype)+ Text(BarInterval),"JD000.CZCE130") )
    slot = 4;
    }

    交易资金:11.5万,最大回撤资金预备:10.5万 每年盈利:6.6万 年化57%

    2020年,仅有06年和17年亏损,最大亏损年2017年,亏损金额接近2.8万。亏损率24%

    部分品种,数据未满20年。

  • 相关阅读:
    记一次bash脚本报错原因
    说说JSON和JSONP,也许你会豁然开朗,含jQuery用例(转载)
    python 正则空格xa0实录 与xpath取 div 里面的含多个标签的所有文字
    python3的时间日期处理
    easyui的 一些经验
    hash是什么?
    vue.js 入门
    python __nonzero__方法
    Jmeter之『并发』
    Docker之网络篇
  • 原文地址:https://www.cnblogs.com/alantop/p/13840036.html
Copyright © 2020-2023  润新知