Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Millisecond Trading

So I've been trading for a good 5 years now and Im ready to start coding hedge funds. I Understand everything but 2 things.

  1. How do you tell the program to trade in milliseconds or many times a second.

  2. How do you tell the program to trade the stocks that have done the best over those days/weeks/years

Thanks for any help,

Zane Meeks

P.S. If anyone has worked at a hedge fund trader, what software do you use?

3 responses

I think this might not be the right forum for this discussion, but here are my thoughts:

  1. You can submit orders as fast as your application can run - to submit many times a second, you need to have super fast algos and a super fast connection. This can't be done here on Quantopian. (Actually maybe it can if you submit more than 60 orders per minute, but that would be nuts)

  2. This is the million dollar question.

Hi Zane,

As Mohammad mentioned, the highest frequency you can run with on Quantopian is minutely bars. Regarding your second question, you can take a stab at ranking stocks using the Pipeline API. Pipeline allows you to create custom factors such as recent returns or market cap for all 8000+ US equities each day, and then allows you to rank and filter them down to a subset!

Disclaimer

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by Quantopian. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. No information contained herein should be regarded as a suggestion to engage in or refrain from any investment-related course of action as none of Quantopian nor any of its affiliates is undertaking to provide investment advice, act as an adviser to any plan or entity subject to the Employee Retirement Income Security Act of 1974, as amended, individual retirement account or individual retirement annuity, or give advice in a fiduciary capacity with respect to the materials presented herein. If you are an individual retirement or other investor, contact your financial advisor or other fiduciary unrelated to Quantopian about whether any given investment idea, strategy, product or service described herein may be appropriate for your circumstances. All investments involve risk, including loss of principal. Quantopian makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances.

Hi Zane,

You should check out FPGA development. It seems there is a python module for everything these days including translating python to a hardware description language (see link below) . So theoretically...one could convert the logic of their Quantopian based algos down to hardware logic on an FPGA board. Add in monthly fees for co-location at an exchange data center and a market data stream that keeps up with the speed of your software, and it seems like this would be the best formula for a low overhead approach to competing with the big boys on a High Frequency level.

http://www.myhdl.org/