How to change Time Frame on Financial data? EURUSD from 1 minute to 30 min.

1 次查看(过去 30 天)
Hello people! Please, can anyone help me?
I have financial data generated in 1 minute intervals.
Want to change this time frame to 30 minutes or any other.
Data is EURUSD price (Open, High, Low, Close, Volume).
How can I change 1 minute time frame to any other?
Thanks! God bless all!
Eric
  1 个评论
SergeyLA
SergeyLA 2016-9-17
编辑:SergeyLA 2016-9-17
FinTS is very outdated object and does not support any timeframe less then 1 day. Also no universal function in Matlab exist for timeframe conversions.
So you con do what you ask but you need: 1) to define new timeframes (M1, M5, M30, H1, H4) in freqDataFcn() function inside fints.m file, 2) to write our own timeframe convertor.
Alternative way - to move to Python libraries and scripting))

请先登录,再进行评论。

回答(1 个)

Kawee Numpacharoen
One option is to use retime function to manage such data.

类别

Help CenterFile Exchange 中查找有关 Call Python from MATLAB 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by