Profile Picture

Exception - LiveOpenPositions file may be corrupted

Posted By alpha23 5 Years Ago
Message
Posted Friday November 02 2012
I receive the exception below when starting live with existing open positions after clicking 'ok' on the open positions dialog window.

Please advise.

Thanks, Duane

n exception of type System.NullReferenceException was thrown.
Object reference not set to an instance of an object.
at RightEdgeUI.GridFormatCell.SetValueCore(Object value)
at RightEdge.LiveSystemwindow.x5f9b399496adfbe8(PositionInformation x8d3f74e5f925679c)
at RightEdge.LiveSystemwindow.x8fc0d816911af80f(PositionInformation x8d3f74e5f925679c)
at RightEdge.LiveSystemwindow.x0fa035c1818e31d7(SharedSystemRunData xb4ef597285b40b20)
at RightEdge.LiveSystemwindow.StartLiveSystem(xfb471916970b0c9e liveDataWindow, SharedSystemRunData runData, RightEdgeCompiler compiler)
at RightEdge.xf266856f631ec016.x7315d87aa80c241d()
at RightEdge.xf266856f631ec016.xc44f2b7498b700f7(Object xe0292b9ed559da7d, EventArgs xfbf34718e704c6bc)
Posted Wednesday November 07 2012
I'm getting the exact same problem when I'm trying to test live, no matter which broker I use. Was there a solution for this? Backtests run fine with the current code, and I've tried other solution to the code as well.

The error message seems to come after 2 bars every time, and says:

An exception of type System.NullReferenceException was thrown.
Object reference not set to an instance of an object.
at RightEdgeUI.GridFormatCell.SetValueCore(Object value)
at RightEdgeUI.GridFormatCell..ctor(Object value, String formatString)
at RightEdge.LiveSystemwindow.x5f9b399496adfbe8(PositionInformation x8d3f74e5f925679c)
at RightEdge.LiveSystemwindow.x8fc0d816911af80f(PositionInformation x8d3f74e5f925679c)
at RightEdge.LiveSystemwindow.x516efd9a6cd87a3f()
at RightEdge.LiveSystemwindow.x8c3b46858f2d1101()

I'm happy to provide the strategy code if this will help as I'm just trying out different solutions to manage orders.


Similar Topics


Reading This Topic


2005-2017 © RightEdge Systems