A baby trading system

版本 1.0.0.0 (51.7 KB) 作者: Dimitri Shvorob
(No, we don't trade babies!)
3.6K 次下载
更新时间 2016/4/4

查看许可证

..but build a primitive, stylized automated trading system operated by a fixed-rate timer and handling retrieval, storage and analysis of data; a 'strategy' guides rebalancing the portfolio at each iteration, and basic output is displayed in a front-end GUI.
The code may help one think about the technical requirements that a real trading system has to meet. It may also be retooled for one's own data-retrieval-storage-and-dynamic-GUI-display exercise. (An OOP re-design would be a clear improvement).

PS. The 'strategy', of long-short variety, focuses on choosing, at each timer-triggered 'epoch', five stocks with the largest (simulated) next-period return, and five with lowest. Choice is driven by simple interpolation, with a moving average calculated for individual return series. Epochs 1-3 are used for 'training', i.e. to get the initial averages.

引用格式

Dimitri Shvorob (2024). A baby trading system (https://www.mathworks.com/matlabcentral/fileexchange/18836-a-baby-trading-system), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2007b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Financial Data Analytics 的更多信息

Community Treasure Hunt

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

Start Hunting!

tradebot/

版本 已发布 发行说明
1.0.0.0

BSD