4 ms·
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 every
by stcredzero 14y ago
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.
- HockeyPlayer 14y agoSure, his program could easily have been done in almost any language. He wasn't competing on speed, which might have excluded languages like Python.
- owyn 14y agoNope, 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 http://www.rapidquant.com/features A C++ library with python bindings: http://quantlib.org/index.shtml http://quantlib.org/index.shtml And a low level library for data analysis: http://pandas.pydata.org http://pandas.pydata.org
- grumps 14y agoIf you use their library/SDK/Framework.... how do you actually trade, do you still need a brokerage? Sorry a bit new to this field.
- owyn 14y agoYep, 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 http://www.quantopian.com
- fawce 14y agoI 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 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 https://app.quantopian.com/posts/hello-from-pydata