Hi,
I'm trying to write a strategy for the VXX. I'm trying to use the VXX TBG one minute data. In the documentation it mentions the following for a TBGMarketDataFeed with no other documentation.
private final TBGMarketDataFeed marketDataFeed = new TBGMarketDataFeed();
{
marketDataFeed.setMarketDataFeedId(112);
marketDataFeed.setTbgMode(TBGMarketDataFeed.TBG_MODE_ONLINE);
marketDataFeed.setTBGParameters("3", "8", "2011", "17", "9", "2012");
// set the MarketDataEvent type, trades or candles ?
//marketDataFeed.setMarketDataEvent(MarketDataEventType.TRADE_EVENT);
marketDataFeed.setMarketDataEvent(MarketDataEventType.CANDLE_EVENT);
}
What is the setMarketDataFeedId(112) ? How would I select VXX data? Also if I set it to mode OFFLINE, how do I point my strategy to the CSV file I downloaded off the TBG website?
Finally, does this data behave similar to the Yahoo historical data where you can zip through large timespans of data in minutes for back testing?
Thanks for your help.