Algorithmic Trading for Fun and Profit
summary
Shows an actual pipeline: Ruby code pulls CSV and JSON market feeds (Yahoo Finance, Stooq), runs a 15‑day fast and 50‑day slow moving‑average crossover strategy, backtests over historical bars in an outer/inner loop, computes returns and risk metrics like Sharpe ratio, and issues orders via a broker API. Uses parallel requests (high fees gem) for data and ships a working proof‑of‑concept called coahoma that runs and simulates live trades.
AI-written summary · about
chapters (8)
- 0:00Introduction
- 0:37What is algo trading
- 1:23Financial data
- 2:15Stock data
- 2:28Strategy
- 2:41Technical Analysis
- 4:12Trading Portfolio
- 4:55Broker
related talks
42mMarket Analytics in EVE with Ruby
41mTest Automation: Do the Same but Better
23mBest of Both Worlds: Building a Mirror-trading Platform on Top of ...
34mKilling Fibonacci
35mBlack-boxing with Ruby
25mVisualized multi-threaded simulators in Ruby
26mFrom OO Patterns to Functional Programming w/o Killing Yourself
34mBuilding Data Driven Products with Ruby
