I want to use Hangseng index as my benchmark instead of the default SP500 index.
I add the following line in my program:
environment = TradingEnvironment(load=None,bm_symbol='^HSI')
I run my backtest but get error:
[2014-02-03 12:41] WARNING: Loader: No benchmark data found for date range.
start_date=2014-01-31 00:00:00+00:00, end_date=2014-02-03 12:41:49.851766, url=http://ichart.finance.yahoo.com/table.csv?s=%5EHSI&a=0&b=31&c=2014&d=1&e=3&f=2014&g=d
Anybody knows how to correctly customize the benchmark? or my TradingEnvironment?