Thursday, June 22, 2006

v0.7.1 - Auto-Trading

Automated trading is surprisingly complicated. Well, I guess it's aptly complicated.

Basically you want the computer to place orders and manage trades.

To place the order, we need an entry price, a stop loss price, and maybe a take profit.

To calculate those prices, we need trading rules.

The rules work off indicators. So we need to calculate those indicator values.

To calculate the indicator values we need interval price data, at least the close price.

So we need to download the price data. And for Gain Capital which offers only tick price data, we need to download the ticks, and calculate the interval price data from the ticks.

And which currencies do we download? Need to get that from the user. Which intervals to download/create? Again from the user.

The order is placed. The next bar comes around...

The second time through we now have the added complexity of reconciling what we have now with what we think we should have. There's a lot to it, and I realised it's not very interesting when I started to try and type it all out. So I won't.

The point is that it's all done! Both for Gain Capital and Oanda. Please read through the known bugs though.

Also in this release:

Finally fixed the layout errors.

Finally got the charts to work.

Fixed the Trades window, Orders window, Transactions window, Copy Trading Systems window.

Changed the loading from text files so it finishes in minutes instead of hours. (Had help with this one). If you were to load 1 month's worth of text files for all 15 currencies offered by Gain Capital, it should now take about 20 minutes. Before it was taking up to 12 hours. I guess that means it would take 20 minutes to load 15 months of data for 1 currency.

Yada yada yada. See the full list of changes in the Change Log.

What you want to do now is go and download it. And then you want to go and purchase.

Let me say again about the Oanda API: There's no getting around the US$600 that you have to pay to them in order to use it.

1 Comments:

Terry said...

Once again, I say thank you for all of this.

Mon Jul 10, 08:38:05 AM EST  

Post a Comment

<< Home