Real-Time BTC/USD Orderbook Feed & Paper-Trading Engine
Live Paper-Trade Execution Log
Executes at real live exchange orderbook Bid/Ask prices and logs the serving Kubernetes Pod
| Time | Action | Fill Price | Amount / Value | PnL / Reason | Kubernetes Pod / Host |
|---|---|---|---|---|---|
| No paper trades executed yet. Click + Market BUY ($2,500 @ Live Ask), Capture Arbitrage Spread, or wait for a real 0.5% BTC dip. | |||||
Real-Time Global Exchange Arbitrage Scanner
Queries live Level-1 Orderbooks (`Spot`, `Bid`, `Ask`, `24h Vol`) across Coinbase, Kraken, Bitstamp, and Gemini in parallel—costing $0.00 when idle.
K3s Cluster Control Plane & Pod Replicas
Displays the real `POD_NAME` (`metadata.name`) or container hostname serving each HTTP request via the Kubernetes Downward API:
How CloudBot Covers Every Learning Objective 3 (LO3) Requirement
Live architectural breakdown for Cloud Computing Essentials classroom demonstration
`terraform/main.tf` manages the Cloudflare `A` DNS record (`cloudcomputing.haarshanmohan.com` → `217.217.253.95`), deploys the Cloudflare Worker script, and creates the K3s Namespace, 3-Pod Deployment, NodePort Service, and HPA.
Containerized via a multi-stage Node-Alpine `Dockerfile` and orchestrated by K3s with 3 Replicas. Uses the Kubernetes Downward API to inject `metadata.name` (`POD_NAME`) into the live UI header.
Stateful 24/7 price streaming runs on Kubernetes Pods, while bursty cross-exchange arbitrage scanning runs on-demand via a Cloudflare Worker (`worker.js`) with $0 idle cost.
Pushing a strategy change (like `BUY_DIP_PERCENT`) to `main` validates syntax, builds & pushes the Docker image to `ghcr.io`, and triggers a zero-downtime `kubectl rollout restart` across all 3 Pods.