Constraints create creativity.
I am a 13-year-old student (7th grade) with a dream: getting into Wharton Business School. But currently, I only have a school-issued Chromebook with strict network filters and no local dev environment.
Instead of giving up, I spent my time mastering raw JavaScript logic. Today, Iβm showing off my latest project: High Capital, a quantitative trading simulator.
π Key Features:
Monte Carlo Engine: Real-time price simulation using drift and volatility variables.
Performance First: 2000+ lines of raw JS/HTML/CSS optimized for low-end hardware.
Data Driven: 24+ procedural industries with randomized economic events.
Dynamic Visuals: Real-time charting using Chart.js.
π οΈ The "Chromebook" Challenge:
Developing on ChromeOS meant dealing with CORS issues and a lack of professional IDEs. I had to keep everything in a single, massive 1600+ line file to ensure it runs smoothly.
π My Background:
I might only be 13, but Iβve already cleared simulations from Goldman Sachs, Citi, BCG, and Google. I believe that logic and grit matter more than having a $3000 MacBook.
I'd love to hear your feedback on my simulation logic!
(Optional: Here is a snippet of my Monte Carlo loop:)
javascript
// Quick logic peek
const noise = (Math.random() - 0.5) * 2;
const dailyChange = s.drift + (noise * s.volatility);
s.price *= (1 + dailyChange);
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (2)
"This is my first post! I'm sharing my stock simulator logic. Open to any suggestions on optimizing my Monte Carlo loop!"π
"P.S. I'm also working on a raw WebGL 3D FPS engine. If this post gets some interest, I'll share how I handled 3D collisions on a low-end Chromebook!"