Help a newbie with automated trading API programming

Discussion in 'Automated Trading' started by ezbentley, Mar 17, 2009.

  1. snakeDog

    snakeDog

    OK so here is the joke...

    I'm relatively new to programming and new to trading. I work for a company that won't let me trade at work and am hoping to eventually develop an ATS that will run intraday strategies for me while I'm at work.

    I figure that I can pop my development cherry over the next year or two developing the basic components that I will need (database and various pieces of software for pricing securities and options and manage risk).

    Just curious if anyone had any recommendations on:
    * open source database
    * best language(s) to implement.
    * Like the idea of Java doing memory management but not sure of pros/cons.

    I run a linux box at home and am fairly confident I can get the "basics" of a system up in about a year or 2 and continue to tweak it as time goes on. I would like to develop a skillset where I could partner up with someone who is a better trader than I and work with him/her to automate strategies.
     
    #21     Mar 24, 2009
  2. I have several profitable strategies that use options, stocks, currencies and index futures. 70% intraday trading and 30% short term daily.

    I've looked at ET threads on automated programming and it seems many prefer C or C#. I settled for Excel with VBA because my strategies are robust enough to handle some latency and looks easier to learn than C or C#.


    Amibroker for rapid prototyping/testing strategies and trade signal generation.

    Excel with VBA for money management and order placement via IB TWS for each system.

    third party data provider such as DTN.IQ for historical tick data for the Amibroker testing and realtime data feed.

    There is enough material online to set up a self paced learning program. The key part is sourcing the correct material to learn efficiently. PM me if you're interested to collab in putting together a self paced learning and implementation program.
     
    #22     Mar 26, 2009
  3. promagma

    promagma

    The Laser .NET api is pretty easy and comes with sample code
     
    #23     Mar 26, 2009

  4. Don't re-invent the wheel. Just go to tradestation if you're positive you want to continue in C++. Whatever you can possibly think of is in TS, but also in wealth-lab, only in perl.
     
    #24     Mar 26, 2009
  5. you email the brokerage firms and ask them for an API example. That simple
     
    #25     Mar 26, 2009
  6. Thanks for everyone's help.

    The reason I don't use TS is because its functionality is quite limited. Also you are stuck with their brokerage.

    Some brokers do provide good examples and documentation for their API, but some don't.

    I think I might have found the API example in Laser, but they hide it in one of the folders and didn't make it clear that it's an example.
     
    #26     Mar 27, 2009
  7. If I was going to build an ATS, I think I would use Open Quant as a testing environment.

    Once I had a strategy, I would build a dedicated trading app in C++ or C# to process trade data and deliver trade signals to my broker api as quickly as possible.

    I would have this app set up to write the trades back to the charting app, so I could watch them in real time. Neoticker allows for third party app integration, so that may be an option also for this purpose. I'm a visual person so I like to watch trades evolve as part of the refinement process. This may not be important to some people but it is important to me.

    If I'm doing futures, my API or choice would be the X trader platform. I don't do shares so I can't recommend an option in this area.

    Runningbear.
     
    #27     Mar 27, 2009
  8. why would you use 3rd party software... they aren't going to have all the feature that the raw API is going to have.


    Just use the damn brokers API, C++
     
    #28     Mar 27, 2009