Profile Picture

Show chart from "Trade List"

Posted By bobferg 2 Years Ago
Posted Monday February 15 2016
I'm probably missing something basic, but I cant find a solution to this exception when dbl-clicking a security  in the "Trade List" tab after running a simulation:
No bars to display for symbol MMM
 at RightEdge.x94b0ec7c115d5a7b.ShowChart(Symbol symbol, DateTime dateTime)
 at RightEdge.Common.FinalSystemResults.ShowChart(Symbol symbol, DateTime dateTime)
 at RightEdge.SystemResults.SystemTradeList.ChartSymbol()
 at RightEdge.SystemResults.SystemTradeList.sandGridTradeList_MouseDoubleClick(Object sender, MouseEventArgs e)
 at System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
 at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
 at System.Windows.Forms.Control.WndProc(Message& m)
 at Divelements.SandGrid.SandGridBase.WndProc(Message& m)
 at System.Windows.Forms.Nativewindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Posted Tuesday February 16 2016
The problem was caused by a bug in my implementtion of the IDataAccessor.Load(DateTime start, DateTime end, long maxItems, bool loadFromEnd) method where the maxitems arg was equal to -1.
So no problem now :-)

Edited: Tuesday February 16 2016 by bobferg

Similar Topics

Reading This Topic

2005-2018 © RightEdge Systems