Click or drag to resize

IStrategyServiceGetApproximateAmount Method

To get an approximate of money to spend for the specified backtesting configuration.

Namespace:  StockSharp.Community
Assembly:  StockSharp.Community (in StockSharp.Community.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
decimal GetApproximateAmount(
	Guid sessionId,
	StrategyBacktest backtest
)

Parameters

sessionId
Type: SystemGuid
Session ID.
backtest
Type: StockSharp.CommunityStrategyBacktest
Backtesting session.

Return Value

Type: Decimal
An approximate of money.
See Also