http://www.ilovematlab.cn/forum.php?mod=viewthread&tid=341563#lastpost
- >> o = YahooIntradayFetch('GOOG',15)
- o =
- YahooIntradayFetch with properties:
- ticker: 'goog'
- unit: 'MIN'
- currency: 'USD'
- tick_range_full: [15x3 double]
- date_range: [20150515 20150605]
- tickdata_table: [1185x6 table] %数据以table的形式存储(示例用)
- tickdata_array: [1185x6 double] %数据以array的形式存储
- >>o.tickdata_table(1:3,:) %访问Table中的前三行
- ans =
- Timestamp close high low open volume
- __________ ______ ______ ________ ______ ______
- 1431696841 537.85 538.8 537.2247 538.8 155900
- 1431697142 535.39 537.9 535.38 537.9 22400
- 1431697443 535.82 535.86 534.45 535.08 30200
该YahooIntradayFetch可以用来从Yahoo处,获得最多过去15天的美股和中股的分钟数据
也可以用来学习用MATLAB面向对象的方法来进行编程


雷达卡



京公网安备 11010802022788号







