Hi,
Can you show what you have tried so far ?
angevoyageur:
Hi,
Can you show what you have tried so far ?
I haven't tried put to work some code, I am just trying to understand what things I should consider. So planning is the key. :)
edzuks92:
I haven't tried put to work some code, I am just trying to understand what things I should consider. So planning is the key. :)
Ok, we will see if someone wants to help you...
I haven't tried put to work some code, I am just trying to understand what things I should consider. So planning is the key. :)
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
I have csv file like this:
There can be over 15 000 rows in that file. I am trying to write code that could do such thing:
1.Takes first row saves it as parent. Then takes next 3 days as that childs.
2.Counts how often and which combination off childs with that parent are inside this file.
3.It creates something like summary for that so I could read todays combination and script shows the only the most frequent child combinations for next 3 days.
I don't have mathematical thinking so I have big problems to find solution myself.
What I think first I need script that generates all posible combinations of these colums made of EUR,CHF,USD,JPY,GBP so there is posible 5*4*3*2*1 = 120 combinations. Because they cant repeat in single row.
It will be like this.
First parent will be combination from first row like this: EUR;CHF;USD;JPY;GBP
It saves this combination off parent and child elements. Then again it starts from begining of the file, but moves one row below(like iteration +1). then next all childs would be
And again it saves these combinations for counting and make some frequency results. And this cycle repeats for all rows on csv file.
Is there maybe some tips I should consider how to create this type of programm ?
Any tip would be great !
Thank You Very Much! BB