Michael Handschuh
d709d1c4e0
Update Common to respect CA1304 and CA1305
...
Updates all occurrences of parsing/ToString-ing to go through the new
StringExtensions methods that use CultureInfo.InvariantCulture
See #3045
2019-09-12 14:13:24 -04:00
Martin Molinero
4382aa1886
Add algorithm thread
...
- Adding `WorkerThread` class, wrapper for a worker thread that will
execute given `Actions`.
- Algorithm related code (`Construction`, `Initialization`,
`Execution` will be executed by the same `WorkerThread` instance,
this is required for `Python` debugging.
2019-05-09 11:23:28 -03:00
Stefano Raggi
462ca4ecab
Add total application memory usage in Isolator logging
...
- Added logging of total memory usage, which includes both managed and unmanaged memory
- Fixed incorrect calculation of total physical memory for Windows
2019-01-10 15:33:10 +01:00
Martin Molinero
4d7dfe1c89
Initialize algorithm faster
...
- ISetupHandler implementations will now use 50ms as sleep interval
while initializing the algorithm
- If the sleep interval is >= to 1s (default value) it will divide the
sleep operations into 5
2018-10-31 18:05:12 -03:00
Martin Molinero
8ac4b37e5f
Load algorithm faster
...
- Make `Isolator.ExecuteWithTimeLimit()` sleep interval configurable.
- `Loader` will now use 50ms
2018-10-18 20:08:25 -03:00
Stefano Raggi
543f5aa6b4
Add IsWithinCustomLimits bool property to IsolatorLimitResult
2018-10-04 20:08:03 +02:00
Stefano Raggi
c077689e50
Add CurrentTimeStepElapsed to Isolator logging
2018-10-04 00:11:12 +02:00
Michael Handschuh
818591e101
Revert "Isolator will now take into account unmanaged memory usage"
...
This reverts commit 221a90c81a .
Causing algorithms to fail. This wasn't intended to be merged until
after the pythonnet memory leak fix has been merged/deployed.
2018-07-23 12:18:38 -04:00
Martin Molinero
221a90c81a
Isolator will now take into account unmanaged memory usage
2018-07-19 18:54:40 -03:00
jaredbroad
9ab54a19b5
Fixes and additional logging and debug information
2017-04-06 11:02:32 -04:00
jaredbroad
8896f925fb
Added spike limit allowance
2017-04-06 09:57:53 -04:00
jaredbroad
e35078d592
Made ram limit a 60s EMA to reduce spikes killing algorithms
2017-04-06 09:50:44 -04:00
jaredbroad
1cf4d7c00e
Removed default value for memory cap to force explictly setting
2017-02-16 18:16:48 -05:00
snugs
79bd97f994
Make Isolator immutable, use .NET naming conventions
2015-06-15 13:50:23 -04:00
QuantConnect
6b035d323c
Converted Isolator to be an instance based class
2015-06-14 12:31:26 -04:00
QuantConnect
fde0cbed3a
Strip out block quote section header comments
2015-06-13 16:04:27 -04:00
QuantConnect
a2f630e1eb
Made isolator cancellation tokens public to control lean from desktop UX
2015-06-06 15:08:29 -04:00
snugs
89b6e98af8
Fixes warnings mostly relating to xml comments
...
Also cleans up some block comments
Via PR#72 - thanks @ammachado!
2015-05-13 10:56:47 -04:00
snugs
790ce35c55
Adds 10 minute default time limit to each algo mgr loop
...
Overrideable with 'algorithm-manager-time-loop-maximum' configuration value in minutes
2015-05-12 18:16:23 -04:00
snugs
216724b9fc
Use Log.Trace in Isolator
2015-03-31 16:31:24 -04:00
snugs
f616e16b71
Removed usages of Console.* from core Lean
2015-03-31 16:29:34 -04:00
QuantConnect
fd218fd77d
More aggressive GC, regular logging memory usage to diagnose memory leaks
2015-02-25 15:37:29 -03:00
Jared Broad
b3de520915
Initial commit
2015-01-12 12:03:33 -03:00