Skip to main content

AmiBroker

AmiBroker - Optimizer and Backtester losing trades

in:

[This post is for the files attachments to accompany the forum past at: ]

Anyone know how to get the Backtester and Optimizer to include all trades in their results? The code below (firstSystemPostCopy.afl) initiates trades that get captured by the logfile, but they don't show up or get accumulated in the Backtester or Optimizer. The results are from ~six months of 1-minute bars of FAS. The Backtester shows 16 trades with profit of $7,110.38. Per the logfile there were 24 trades with profit of $3,751.29.

Anyone know why the extra 8 trades weren't included in the Backtester?

Fully Automating the Interactive Brokers plugin of AmiBroker (TWS API)

in:

Summary
Using the Interactive Brokers (IB) plugin with AmiBroker requires a delicate touch. It's not that it doesn't work, it's that the current instructions are old and miss highly important points to achieve full automation of downloading multiple symbols.

Objective
This document will identify the method to automate AmiBroker 5.30 on Windows XP(*) to fill ~180+ days of historical 1-minute data for up to 100 symbols using the AmiBroker IB plugin to connect to the Interactive Brokers, Trader Workstation's API.

Syndicate content