need to convert daily data into weekly/monthly
-
I played around some famous Web API to download stock data in O/H/L/C/V format. but the data is only daily and I need to convert daily data into weekly data. I searched on Internet and find something only in Python or R. there is no C# approach available and I try to post my question here.
diligent hands rule....
Well, you've posted in the wrong place and you will not receive an answer here. Try Q&A
-
I played around some famous Web API to download stock data in O/H/L/C/V format. but the data is only daily and I need to convert daily data into weekly data. I searched on Internet and find something only in Python or R. there is no C# approach available and I try to post my question here.
diligent hands rule....
:cough: database :cough:
-
I played around some famous Web API to download stock data in O/H/L/C/V format. but the data is only daily and I need to convert daily data into weekly data. I searched on Internet and find something only in Python or R. there is no C# approach available and I try to post my question here.
diligent hands rule....
I fail to understand the problem. just sum the value, no?
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
-
I played around some famous Web API to download stock data in O/H/L/C/V format. but the data is only daily and I need to convert daily data into weekly data. I searched on Internet and find something only in Python or R. there is no C# approach available and I try to post my question here.
diligent hands rule....
a quick internet search, just now, produced many solutions, mostly on Stack Overflow. Why ask here, and in this forum? 1. you need to group daily data into weekly data, picking a date that starts the week. 2. you need to store this data into a database so that you achieve historical data, thus your API call should only grab new data, not old, aiding in performance. All of this can be achieved with database of choice and C#, unless you want to use something else.
-
I fail to understand the problem. just sum the value, no?
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
no. it is a little complicated than that...
diligent hands rule....
-
I played around some famous Web API to download stock data in O/H/L/C/V format. but the data is only daily and I need to convert daily data into weekly data. I searched on Internet and find something only in Python or R. there is no C# approach available and I try to post my question here.
diligent hands rule....
Fortunately python is a readable language so unless what you're finding is a 1 liner that looks something like this:
weeklydata = convertFromDailyToWeekly(dailyData)
you should be able to port it to C# without too much trouble.:cool:
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius
-
I played around some famous Web API to download stock data in O/H/L/C/V format. but the data is only daily and I need to convert daily data into weekly data. I searched on Internet and find something only in Python or R. there is no C# approach available and I try to post my question here.
diligent hands rule....
Hard to convert to weekly / monthly when you have only one day's worth.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
-
Fortunately python is a readable language so unless what you're finding is a 1 liner that looks something like this:
weeklydata = convertFromDailyToWeekly(dailyData)
you should be able to port it to C# without too much trouble.:cool:
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, weighing all things in the balance of reason? Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful? --Zachris Topelius
thanks! this is why I try to post here to get something exciting.:rose:
diligent hands rule....
-
Hard to convert to weekly / monthly when you have only one day's worth.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
it is a time series and you download more than 5 year history of one symbol....
diligent hands rule....
-
it is a time series and you download more than 5 year history of one symbol....
diligent hands rule....
-
If only there were some simple way to iterate over a data series…
If you can't laugh at yourself - ask me and I will do it for you.
it is the case. I try to find it on the Internet before I roll over my sleeves...
diligent hands rule....