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

2 views (last 30 days)
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 Comment
SergeyLA
SergeyLA on 17 Sep 2016
Edited: SergeyLA on 17 Sep 2016
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))

Sign in to comment.

Answers (1)

Kawee Numpacharoen
Kawee Numpacharoen on 4 Aug 2017
One option is to use retime function to manage such data.

Community Treasure Hunt

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

Start Hunting!