Marketcetera Community Forums
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Using the Ruby Date class in Photon  XML
Forum Index » Developer Help
Author Message
ramon.lozano


Joined: 26/07/2010 08:11:19
Messages: 6
Offline

Is it possible to use the Ruby Date class in the Photon strategy studio?
normally one would just write

require 'date'

when using Ruby but it does not seem to work in Photon

thanks
colin


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

You should be able to use Ruby dates to your heart's content. However, for artifacts that need to be sent from your strategy (like orders, e.g.) or on artifacts that are sent to your strategy (like market data), the object type has to be a Java Date.
 
Forum Index » Developer Help
Go to:   
Powered by JForum 2.1.8 © JForum Team