Marketcetera Community Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Running ruby strategies through command prompt  XML
Forum Index » Developer Help
Author Message
dhara.kamani


Joined: 10/06/2010 10:36:26
Messages: 10
Offline

Hi,

When I try to run any ruby strategy containing CEP_Query thru strategyagent, it gives a failed message.

For instance, i tried running ProcessData.txt ( containing ruby strategy), provided by marketcetera itself, through strategyagent. I get the following error message:

Copyright (c) 2006-2009 Marketcetera, Inc.
Strategy Agent version '1.5.0' (build '1505')
Running command 'createModule' with parameters 'metc:strategy:system;processData,ProcessData,RUBY,samples/scripts/process_data.rb,,false,metc:sink:system'...
Completed command 'createModule' with result 'metc:strategy:system:processData'.
Running command 'startModule' with parameters 'metc:mdata:marketcetera:single'...
Completed command 'startModule' with result 'true'.
Running command 'startModule' with parameters 'metc:strategy:system:processData'...
Completed command 'startModule' with result 'true'.
Data Flow ID '1' generated data 'of type org.marketcetera.event.LogEvent and' value 'Wed Aug 25 18:17:34 MMT 2010 WARN event The combined data request for market data "symbols=AMZN, IBM, MSFT:provider=bogus:content=LATEST_TICK" with complex event processing "[select t.symbolAsString as symbol, t.price, t.price * t.size as position from trade t]" from "esper:processData" failed. '

The same ruby strategy (Process_Data.rb) works fine with photon...but while running it through strategy agent, it gives above mentioned error.

Please help
colin


Joined: 23/03/2009 21:35:49
Messages: 406
Offline

Running command 'startModule' with parameters 'metc:mdata:marketcetera:single'...


symbols=AMZN, IBM, MSFT:provider=bogus


Looks like your command file started the Marketcetera market data adapter but the market data request specified the market data should come from the Bogus adapter. You need to either start the Bogus market data adapter or change the request to invoke the Marketcetrera provider.

This message was edited 1 time. Last update was at 25/08/2010 13:59:13

 
Forum Index » Developer Help
Go to:   
Powered by JForum 2.1.8 © JForum Team