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

2 Ansichten (letzte 30 Tage)
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 Kommentar
SergeyLA
SergeyLA am 17 Sep. 2016
Bearbeitet: SergeyLA am 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))

Melden Sie sich an, um zu kommentieren.

Antworten (1)

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

Kategorien

Mehr zu Call Python from MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by