Live algo in R

I need to learn to be able to get OHLC data in seconds from an API and A web-socket. Than I need to learn how a line of data coverts to a time frame calculation like lets say I want a 30 min 21 day moving average and a 60 min 21 moving average. I know how to do this individually but not from data in seconds and have them in the same data frame so I can look at a 30 and 60 in the same data frame on the same line. Then I want to learn how to run a simple machine learning method like linear regression and have a predict fucntion relative to the moving average or any calculation in a dynamic environment as it updates in real time. I need to understand how this all breaks down in a step by step and becomes usable in real time. Can you show me this in R ?

Section Menu

How do I use this section?

1. LESSON

Introduction to Live Algo Trading with R

Still generating... This lesson is currently still being generated, please wait... thanks! Please refresh in a minute or two to see updates....

2. LESSON

Fetching OHLC Data from APIs

Unlock Your Full Potential with AlgoDaily! 🌟 We hope you're enjoying this course. At AlgoDaily, our aim is to transform complex coding challenges into engaging, bite-sized lessons. And while our free lessons give you a glimpse of this transformative experience, there's so much more in store. Free users only get access to the first lesson in...

3. LESSON

Real-time Data Handling with WebSockets in R

Unlock Your Full Potential with AlgoDaily! 🌟 We hope you're enjoying this course. At AlgoDaily, our aim is to transform complex coding challenges into engaging, bite-sized lessons. And while our free lessons give you a glimpse of this transformative experience, there's so much more in store. Free users only get access to the first lesson in...

4. LESSON

Converting Second-Level Data to Time Frame Averages

Unlock Your Full Potential with AlgoDaily! 🌟 We hope you're enjoying this course. At AlgoDaily, our aim is to transform complex coding challenges into engaging, bite-sized lessons. And while our free lessons give you a glimpse of this transformative experience, there's so much more in store. Free users only get access to the first lesson in...

5. LESSON

Implementing Dynamic Linear Regression Models

Unlock Your Full Potential with AlgoDaily! 🌟 We hope you're enjoying this course. At AlgoDaily, our aim is to transform complex coding challenges into engaging, bite-sized lessons. And while our free lessons give you a glimpse of this transformative experience, there's so much more in store. Free users only get access to the first lesson in...

6. LESSON

Integrating Predictions into the Dynamic Environment

Unlock Your Full Potential with AlgoDaily! 🌟 We hope you're enjoying this course. At AlgoDaily, our aim is to transform complex coding challenges into engaging, bite-sized lessons. And while our free lessons give you a glimpse of this transformative experience, there's so much more in store. Free users only get access to the first lesson in...