登录
首页 » matlab » code

code

于 2013-10-09 发布 文件大小:506KB
0 413
下载积分: 1 下载次数: 395

代码说明:

  一个利用MATLAB编写的螺纹钢期货高频交易套利策略。本策略主要使用移动平均(Moving Average)+RSI 指数策略进行交易判定。其基本思想是 MA 策略对 于明显 趋势走效果较好,而 RSI 策略适用于震荡的行情 ,对两种策略 产生的信号合成之后具有较强抵抗风险的能力 。实际验中,在对初始价格信号进行处理并 通过以往数据回测,得到最佳据回测,得到最佳参数组合之后,策略的年均收益率 达到了23.6,夏普比率为 2.05。(One using MATLAB rebar futures arbitrage high frequency trading strategies. This strategy is mainly used moving average (Moving Average)+ RSI index trading strategy determination. The basic idea is a clear trend to go for MA strategy is better, while RSI strategy for market shocks, the two signals generated after synthesis strategy has a strong ability to resist risks. Practical experience, in the pair. Practical experience, in the pair. Actual experiment, in the initial price signals to be processed and the data back through the previous test, get the best according to backtesting, get the best combination of parameters, the strategy to achieve an average annual rate of return of 23.6 2, the Sharpe ratio of 2.05.)

文件列表:

RB MATLAB CODE
..............\analysis.m,1036,2013-08-18
..............\Demo2.m,869,2013-08-18
..............\Drawdown.m,328,2013-08-17
..............\greturn.m,885,2013-08-18
..............\importfile.m,982,2010-11-22
..............\isoplot.m,865,2010-11-22
..............\leadlag.m,1810,2013-08-16
..............\leadlagFun.m,853,2010-11-22
..............\marsi.m,1736,2013-08-18
..............\marsiFun.m,418,2013-08-15
..............\movavg2.m,585,2010-11-22
..............\parameterSweep.m,1947,2013-08-18
..............\publishall.m,221,2010-11-22
..............\RBMAIN.m,553,2013-08-18
..............\rsi.m,3038,2013-08-18
..............\rsiFun.m,306,2010-11-22
..............\RU1mindata.mat,508966,2013-08-11

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • MIDASv2.2
    说明:  midas混频回归,基于高频数据对高频数据做拟合回归使用(Midas mixing regression)
    2020-10-09 19:57:34下载
    积分:1
  • fff
    使用财务工具箱产生列联表,小范例以矩阵表示(The use of financial toolbox generate contingency table, the small sample to matrix)
    2009-11-15 10:05:15下载
    积分:1
  • 欧美M1
    说明:  只需要挂在欧美一分钟就行 无需风控,系统根据两个货币的关系进行止损 止盈(It only needs to hang in Europe and America for one minute without wind control. The system stops losses and stops earnings according to the relationship between the two currencies.)
    2020-06-19 20:00:02下载
    积分:1
  • 100_Pips_Today_Scalper
    Its EA MT4. just enjoy!!
    2016-07-04 00:42:21下载
    积分:1
  • PortVaR
    统计工具软件,用于金融,保险,银行等领域进行VAR风险估计计算(statistical tools software for the financial, insurance, banking and other fields, the risk estimates calculated VAR)
    2007-04-28 02:25:51下载
    积分:1
  • Bank_Account_Management
    实现银行账号管理,实现账号的注册、修改密码、资金管理、销户等功能(Realization of bank account management, account registration, change passwords, financial management, marketing and other functions households)
    2014-08-06 05:26:21下载
    积分:1
  • 双货币对冲套利策略
    说明:  双货币对冲,有兴趣可以下来研究,EURUSDvsGBPUSD(Double currency hedging, interested can come down to study)
    2020-06-18 01:40:01下载
    积分:1
  • 经验模态分解EMD模型
    经验模态分解(Empirical Mode Decomposition,简称EMD))方法被认为是2000年来以傅立叶变换为基础的线性和稳态频谱分析的一个重大突破?,该方法是依据数据自身的时间尺度特征来进行信号分解,无须预先设定任何基函数。 该方法的关键是经验模式分解,它能使复杂信号分解为有限个本征模函数(Intrinsic Mode Function,简称IMF),所分解出来的各IMF分量包含了原信号的不同时间尺度的局部特征信号。经验模态分解法能使非平稳数据进行平稳化处理,然后进行希尔伯特变换获得时频谱图,得到有物理意义的频率。(The Empirical Mode Decomposition (EMD) method is considered as a major breakthrough in the linear and steady state spectrum analysis based on Fu Liye transform in 2000. The method is based on the time scale characteristics of the data itself to decompose the signal without setting any base functions in advance. The key of this method is the empirical mode decomposition, which can decompose the complex signal into a limited eigenmode function (Intrinsic Mode Function, for short, IMF), and the decomposed IMF components include the local characteristic signals of the different time scales of the original signal. The empirical mode decomposition method can smooth the non-stationary data, and then obtain the time-frequency spectrum by Hilbert transform to get the physical meaning frequency.)
    2020-07-07 17:38:57下载
    积分:1
  • 123
    模拟银行业务:(1) 银行每日的现金额固定,工作窗口个数固定(大于1),客户只能在工作窗口办理业务。 (2) 客户出现可以为随机,其办理的业务种类也随机。客户在到达银行时,总是最短的选择队伍排在最后面。 (3) 当客户取款时,如果帐户余额不足,则拒绝其取款;当银行现金额不足时,应请客户等待,银行现金额充足时通知客户,立即为其办理;当客户等待一定时间后现金仍然不足,或者客户主动查询N次之后,现金仍然不足,则会离开银行。 (4) 客户的存款应加入银行当日当前可用现金额。 (5) 动画实时显示银行办理业务的情况。可以启动、暂停、重新启动银行业务。 (6) 对于本程序,用户可以创建某一特定客户,使之进入银行办理业务,以便测试。 (Analog Banking: (1) bank fixed daily amount of cash, the number of fixed working window (greater than 1), customers can conduct business in the working window. (2) the customer may appear random, handled its business lines also random. When customers reach the bank, always choose the shortest team came in last. (3) when the customer withdrawals, if your account balance is insufficient, rejected its withdrawal when there is insufficient amount of cash banks should ask the customer to wait, notify the customer when sufficient amount of cash banks, immediately its handling when customers wait for a certain time after the cash after still insufficient, or the customer initiative inquiry N times, cash is still insufficient, it will leave the bank. (4) the customer' s date of deposit currently available amount of cash banks should join. (5) Real-time animation display case bank business. You can start, pause, restart banking. (6) For this program, the user can create a specific customer)
    2016-04-27 21:31:06下载
    积分:1
  • ATM
    做一个简单的atm界面,文档里含有设计思路,执行成功后的界面和源代码(Do a simple atm interface, document containing design ideas, the implementation of the interface and the source code after the success of)
    2012-12-03 16:00:43下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载