Backtesting Trading Strategies in Just 8 Lines of Code

版本 1.0.0.0 (21.2 KB) 作者: MathWorks Quant Team
This demo will show how to perform a strategy backtesting in just 8 lines of code.

1.3K 次下载

更新时间 2017/9/12

查看许可证

Using the functionalities in MATLAB® and Financial Toolbox™, you can perform a strategy backtesting in just 8 lines of code. This includes:
• Data preparation
• Trading signal generation
• Calculation of portfolio returns, Sharp ratio, and maximum drawdown
• Equity curve plotting
In fact, there are a lot of things you can do in MATLAB. For example, you can:
• Use Datafeed Toolbox™ to download market data directly from various data providers
• Generate trading signal using Econometrics Toolbox™ or Statistics and Machine Learning Toolbox™
• Automatically execute your strategies by using Trading Toolbox™
The video can be found herehttps://www.mathworks.com/videos/backtesting-trading-strategies-in-just-8-lines-of-code-1499289703258.html

引用格式

MathWorks Quant Team (2023). Backtesting Trading Strategies in Just 8 Lines of Code (https://www.mathworks.com/matlabcentral/fileexchange/63333-backtesting-trading-strategies-in-just-8-lines-of-code), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2016b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Portfolio Optimization and Asset Allocation 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

Add video link in description