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

1 visualizzazione (ultimi 30 giorni)
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 Commento
SergeyLA
SergeyLA il 17 Set 2016
Modificato: SergeyLA il 17 Set 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))

Accedi per commentare.

Risposte (1)

Kawee Numpacharoen
Kawee Numpacharoen il 4 Ago 2017
One option is to use retime function to manage such data.

Categorie

Scopri di più su Data Type Conversion in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by