SingleThreadEvents
property
Returns true when events should be called in the main processing thread, otherwise returns false (default). Directly event processing is faster, but may affect application performance, use it on your own risk Always returns true in backtesting.
Syntax
public bool SingleThreadEvents { get; set; }
Discussion
Join PTMC community to post your comments
No comments yet. Be the first.
NETStrategy methods
- Alert (object[] args)
- Comment (object[] args)
- Complete ()
- ConvertUTCTimeToSelectedTimeZone (DateTime timeUTC)
- CreateTimer (TimerCallback callback)
- CreateTimer (TimerCallback callback, object state, int dueTime, int period)
- CreateTimer (TimerCallback callback, object state, long dueTime, long period)
- CreateTimer (TimerCallback callback, object state, TimeSpan dueTime, TimeSpan period)
- CreateTimer (TimerCallback callback, object state, uint dueTime, uint period)
- GetHistoricalData (HistoricalDataRequest request)
- GetLastError ()
- GetLastErrorDescription ()
- Init ()
- IsTesting ()
- NextBar ()
- OnPaintChart (object sender, PaintChartEventArgs args)
- OnQuote ()
- PlaySound (string fileName)
- Print (object[] args)
- QueueUserWorkItem (WaitCallback callBack)
- QueueUserWorkItem (WaitCallback callBack, object state)
- QueueUserWorkItem (WaitCallback callBack, object state, ApartmentState apartmentState)
- SendEmail (string address, string subject, string body, string filename)
- SendEmail (string address, string subject, string body)
- SendEmail (string subject, string body)
NETStrategy properties
NETStrategy fields