simple program

Quote from trademeisters:

in tradelink it would be something like :

Code:
public class MyStrategy
{

public void GotTick(Tick k)
{
     if (k.isTrade && k.hasAsk && (k.trade==100)
        sendorder(new BuyLimit(k.symbol,k.ask,k.AskSize));
}
}

leaving almost everything out, it looks simple. :D

here for IB all you need to do is implement the tickPrice() method and your done
 
I have built an open source API to TWS. You can create your own strategies. I have simple methods calls to create/update/cancel orders. When a strategy runs it kicks of the mkt data & 5sec update apis. The strategy is triggered every 5secs or when the mkt price falls outside the current bars range (bars are 30sec thru 60min your choice)

Also there is a nice UI with charts to run the strategies. You just feed it the stocks you want to trade and assign them the strategies (1 or many) and let it run. Back testing is also available.

Find all you need here

http://code.google.com/p/trade-manager/

see the vids to get an idea of how it works fairly simple.

There are a few examples of strategies but if yours is simple I can code it for you just email me the spec and I'll let you know if this app can handle it.
 
Back
Top