Categories
Uncategorized

Garbage in Garbage out

So far our algorithmic trading project has been coming along nicely. There has been one problem that has plagued us since the start though… Our backtesting results from the backtesting.py library were not matching up with the results we were validating them against from Quantconnect Lean. We spent a lot of time fiddling with different input parameters in the backtesting.py functions to try and get it to line up, and could get close but not it was not quite close enough. We recently got some news from our sponsor though that the data being input to Quantconnect Lean was actually invalid. There was a truncation problem where the data from yfinance was being truncated to only 2 decimals places when it was fed into the Quantconnect Lean backtester. Obviously this is a pretty large problem as without realizing this there was no way we would get the output backtesting.py to line up with Quantconnect. Now that the team is aware of this though I am hopeful that we will get our data from backtesting.py validated in a timely manner and be prepared to implement it into our program.

Other than the aforementioned the team has been working on getting our tech stack all setup for us to begin real the heavy lifting. One of our team members is getting an AWS cloud environment set up for us to have a cloud based web application. I am daunted but exited to be doing some cloud work, as I have little to no experience with it but am looking forward to learning more about it as I know its a useful technology to be familiar with. Another team member is getting a mySQL database setup for us which will be very useful for us to store our optimized algorithms and perhaps historical stock market data as well.

I have been busy gaining familiarity with the current codebase of our project and its frontend so I can have a plan for how I want to migrate it over to React. Ideally this migration will be worth it and will allow us to have a faster more lightweight web application with a better user experience and more maintainability for the codebase.

Winter break is coming up for us so this is the last blog post for this year. Overall im pretty excited to see how our project comes along and am looking forward to continue working on it.

Categories
Uncategorized

My React-ions

It’s been a little while since the last blog post, so I’ll bring you up to date. I got assigned the project I wanted which is, “Cloud based Algorithmic Trading” The goal of this project is to create a program that can optimize trading algorithms and show the user various data points to help them determine and create a strong trading algorithm. With the stretch goal of perhaps integrating this with a stock brokerage and allowing for automated trades based on a given algorithm. All in all I am very excited to be working on this, even though it is a tad daunting.

In the past few weeks our team has been working on breaking the project down into functional areas and assigning them to team members. We also have drafted our design document to specify how we plan to make this project come to fruition. The function area I am assigned to is the front end of the project, so its up to me to figure out how we want to implement a solid user interface. After a little research into the options for this I decided to use React.

I have utilized React before, but I am honestly not very well versed in it. So, I have been doing some digging into it, watching some tutorials and trying to get a better understanding of it. As I have learned more about React I can see how it seems like a very useful tool for creating user interfaces. All in all, I am slowly growing more confident with it, but I’m sure I wont be completely comfortable with it until I have seriously used it for a while.

I believe that is all I have to update on my adventures in computer science so far. Our projects v0.0.1 is due in about two weeks, so I am sure I will be posting updates on that in the next blog post.

Farewell!

Categories
Uncategorized

Introduction!

Hello all! Welcome to my Adventures in Computer Science blog. My name is Ronson. I live in Eugene Oregon with my wife, and have lived in the area my entire life. When I am not working or doing school work, you will typically find me fishing, playing pool with friends, or working on one of my cars. I also have a hobby of brewing my own beer and wines.

My interest in computers first started when I was a kid, probably about 10 years old, from playing video games, and figuring out how to download mods for my favorite games. From there I also got into computer hardware and started building my own computer. I was shocked at how simple a lot of the computer hardware is these days to install yourself.

Once my college journey began, I started my 2 years at Lane Community College with the original intention of going for a major in chemistry. Fairly quickly I realized that although I was passionate about it, chemistry was not what I wanted a career in. And so started my computer science journey. After my 2 years at community college I transferred to Oregon State University. I have now had 1 full year at OSU and this is the start of my second. So far I have really enjoyed learning all of the technologies and concepts presented in the various computer science classes I have taken here. I especially enjoy the lower level programming languages C/C++, partially because that is what I primarily worked with in my first 2 years of college, but also because I like the low level data and memory manipulation it requires (even if it makes some simple tasks much harder).

Well, I believe that is all for introductions. I am eagerly awaiting to find out what project I will be working on for the capstone course here at OSU, and will be posting updates on my project as the year progresses here on this blog.