I want to be able to simulate a pattern in real time and the simulator seems like it should be able to provide that functionality.
I fixed this setting in mdata_marketcetera.properties:
.URL=FIX.4.4://exchange.marketcetera.com:7003 (from 7004)
And, pointed to mdata:marketcetera in the VWAPStrategy.txt:
startModule;metc:mdata:marketcetera:single
I made sure I had some pending orders in the simulator for the ticker, JAVA.
Then, I applied these settings within VWAPStrategy.java:
public static final String[] SYMBOLS = {"JAVA"}; // Depends on MD - can be other symbols
public static final String MARKET_DATA_PROVIDER = "marketcetera"; // Can be activ, bogus, marketcetera
When I fire up Strategy Agent, the sink output is:
109 Mon Nov 02 23:44:28 EST 2009 WARN event didnt' find anything for JAVA and checked value was null within {}
I would have thought that at least when an order is filled, a quote would come back. Can I not get this kind of price and spread control in some test environment out of the box?
Thanks.
- sf
This message was edited 2 times. Last update was at 03/11/2009 04:56:36
|