Marketcetera Community Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
CSV Market Data Adapter in Photon  XML
Forum Index » Marketcetera Open Labs and Contributions
Author Message
serrpa


Joined: 19/05/2009 13:58:16
Messages: 1
Offline

Hi,

I've copied mdata-csv-1.0-SNAPSHOT.jar file into the Photon/plugins directory and restarted all components but still can't see the feed under Preferences -> Market Data. Any ideas on what more I need to do?

Thanks

jbrukh@gmail.com


Joined: 19/03/2009 16:16:22
Messages: 21
Offline

Try going to photon/features/ and playing around with one of the feature.xml files. This is where the photon plugins are specified.

Edit: Also make sure the feed is compiled as an Eclipse plugin.

This message was edited 1 time. Last update was at 08/02/2010 16:52:58

colin


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

There are a few magic incantations that are necessary. Let me know if you're still having trouble.
m1super90


Joined: 09/11/2009 02:59:58
Messages: 14
Offline

Ref: http://www.marketcetera.org/confluence/display/MOL/CSV+Market+Data+Adapter

With reference to the "Easy Way" set of instructions found under "Documentation", the initial instruction is:
"Place the attached mdata-csv-1.0-SNAPSHOT.jar file in the strategyagent/modules/jar directory."

From the attached screenshot you can see there is no "modules" or "jar" folder under the "strategyagent" folder, as downloaded from source control. Are these to be added manually?

The subsequent instruction is:
"Unzip the attached sample-strategyagent-csv-files.zip file under your <metc>/strategyagent directory to get the configuration and sample scripts to run a strategy with a CSV market data adapter."

However, "strategyagent" is not a subfolder of the project root <metc>. Is the correct path "<metc>/source/strategyagent"?
Also, the zip contains a "modules" subfolder (see second screenshot), which will cause one to be created under "<metc>/source/strategyagent". If this is the intent, the "jar" folder (cited above) will still not be created.

Finally, the instruction:
"Run the following Strategy Agent command to start (you may need to have the ORS running, depending on your SA setup):"
"windows:> bin\strategyagent.bat samples\commands/MarketData-csv.txt"

There appears to be no "strategyagent.bat" in the entire project folder structure, as downloaded from source control.
[Thumb - Missing_folder.PNG]
 Filename Missing_folder.PNG [Disk] Download
 Description
 Filesize 89 Kbytes
 Downloaded:  26 time(s)

[Thumb - zipfile.PNG]
 Filename zipfile.PNG [Disk] Download
 Description
 Filesize 57 Kbytes
 Downloaded:  28 time(s)

This message was edited 7 times. Last update was at 30/05/2010 00:42:47

colin


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

The instructions are for the installed version of Marketcetera where all these are true. It's rather more complicated to run from source. Use source/strategyagent/src/test/cmd_exec for the root (find modules/jars, etc under that). To execute, from the strategyagent directory say "mvn -Pexecute exec:java".
 
Forum Index » Marketcetera Open Labs and Contributions
Go to:   
Powered by JForum 2.1.8 © JForum Team