Portfolio. CreateSimulator method added.

This commit is contained in:
StockSharp Dev1 committed 2019-07-23 00:58:48 +03:00
1 parent 1d9e2f33f1
commit fc6fda63a3
7 files changed
+25 -30

No files matched your search

@@ -107,11 +107,7 @@ namespace SampleHistoryTestingParallel
.TryAdd(Level1Fields.MarginSell, 10000m);
// test portfolio
var portfolio = new Portfolio
{
Name = "test account",
BeginValue = 1000000,
};
var portfolio = Portfolio.CreateSimulator();
// create backtesting connector
var batchEmulation = new BatchEmulation(new[] { security }, new[] { portfolio }, storageRegistry)