Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there a way to do this with Python or Ruby? I could just as well program this in C#, but I have a friend who can code a little, but doesn't really need everything in C# to do what he wants. The value add of offering the simulator, including the taking into account the bid/ask prices and a stochastic model for latency. Combine this with a web based code editor and easy hosting, and I think this would be a viable product.


Nope, there is absolutely no way to do this with python or ruby. :)

Seriously though, there are some existing frameworks and products that you could check out. I haven't used this myself, it's just in my bookmarks:

http://www.rapidquant.com/features

A C++ library with python bindings: http://quantlib.org/index.shtml

And a low level library for data analysis: http://pandas.pydata.org


If you use their library/SDK/Framework.... how do you actually trade, do you still need a brokerage? Sorry a bit new to this field.


Yep, almost any of them have an API these days. Your software would make the list of trades which is uploaded and executed...

Oh, I forgot about another backtesting framework for python. It has a built in IDE as well.

http://www.quantopian.com


I work at quantopian. We are working on broker integration, so you will be able to trade algos you develop live.

Our backtesting engine, Zipline, is opensource - https://github.com/quantopian/zipline

Zipline was unveiled at PyData NYC, and the presentation materials are here: https://app.quantopian.com/posts/hello-from-pydata


Sure, his program could easily have been done in almost any language. He wasn't competing on speed, which might have excluded languages like Python.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: