Hey everyone! I'm currently studying Computer Science and have a passion for the financial markets. I've been working on an options pricing simulator in C++ that uses the GBM equation with a Monte Carlo simulation for calculations. Right now, it's just a command-line interface, but I want to take it up a notch by creating a web app where users can adjust sliders and input different parameters to run simulations. I'm also considering adding the Black Scholes model for comparison and visualizing the results with charts or heatmaps to show metrics like volatility.
Since I have limited experience in web development, I'm wondering if I should stick with C++ or switch to a different language like Python for this project. I'd appreciate any advice on how to get started and whether transitioning to a web-focused language would be beneficial! Thanks!
1 Answer
If you need high-performance calculations or something with data persistence like a database, you might want to stick with C++ for the backend. However, you’ll definitely need some frontend logic using JavaScript or TypeScript. If all you want is interactivity without complex backend, then building a frontend-only app would be easier, and you can do all the computations in JavaScript or TypeScript directly.
Thanks for clarifying! So if I keep it as a front-end app, does that mean all the simulation logic will have to go into JavaScript? I just want to make sure I understand the structure correctly.