Profile Picture

Could not convert from JPY to USD for date 1/1/2013 11:08:00 PM.

Posted By ywlee 2 Years Ago

Could not convert from JPY to USD for date 1/1/2013 11:08:00 PM.

Message
Posted Monday May 11 2015
Hi

Am getting this error in Build 53.  Didn't have it prevously. Not sure what is the issue.  Tried with both IB and IQFeed data and had the same issues.

Bardata cleanup had no issues.
Posted Monday May 11 2015
Just an update, 30 min bar frequencies are fine...anything less (eg 15 mins, 5 mins, 1 min) runs into the error.

The trading system provides for Bars>0.
Posted Monday May 11 2015
I was wrong.....30 mins bars works selectively depending on the currency pair....
Posted Monday May 11 2015
Here is the error message:

at RightEdge.Common.ReturnCode.ThrowFailure()
 at RightEdge.Common.ReturnValue`1.get_Value()
 at RightEdge.Common.BaseSystemHistory.SimNewBar(NewBarEventArgs newBars)
 at RightEdge.Common.Internal.SystemRunner.UpdateObjects(FrequencyNewBarEventArgs args)
 at RightEdge.Common.Internal.SystemRunner.ProcessBarEvents(IEnumerable`1 eventList)
 at RightEdge.Common.FrequencyManager.SendPendingBars()
 at RightEdge.Common.FrequencyManager.UpdateTime(DateTime dateTime)
 at RightEdge.Common.Internal.SystemRunner._tickGenerator_NewBar(Object sender, NewBarEventArgs e)
 at RightEdge.Common.TickGenerator.ProcessBar(NewBarEventArgs args)
 at RightEdge.Common.Internal.SystemRunner.ProcessBar(NewBarEventArgs newBars)
 at RightEdge.Shared.SystemWrapper.RunSystem(SystemData systemData, SharedSystemRunData runData, ServiceFactory brokerFactory)
 at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginSettings dataStoreSettings)
 at RightEdge.Shared.SystemWrapper.RunSystem(String filename, ServiceFactory brokerFactory, PluginSettings dataStoreSettings)
 at RightEdge.Shared.TradingModuleWrapper.Run(String filename)
 at RightEdge.Shared.TradingModuleWrapper.RunSystem(SharedSystemRunData systemRunData)
 at RightEdge.SystemProgress.InitAndRunSystem()
Posted Thursday May 14 2015
You need data for USD/JPY prior to the date in the message so that RightEdge knows the exchange rate to use to convert profit.  Try adding a bar for USD/JPY prior to the start date of your system.

Thanks,
Daniel
Posted Friday May 15 2015
Hi Daniel

Managed to sort this out by clicking on the USD/JPY in the watch list.

Have used the OtherSymbol property to filter out USD/JPY in the actual trading.

Thanks!


Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems