Snapshots are CSV files output by the trading bot listing every trade in a backtesting session. The snapshots parameter determines whether snapshots shall be produced, and how.
Snapshots - это файлы CSV, выводимые торговым ботом со списком каждой сделки в сеансе тестирования на истории. Параметр snapshots определяет, должны ли создаваться снимки и как.
Content
Learn more about snapshots and check the configuration file to control if and how snapshots are produced.
Узнайте больше о Snapshots и проверьте файл конфигурации, чтобы определить, они создаются или нет и как они создаются.
Configuring
Snapshots Configuration
Конфигурация Snapshots
Properties
Свойства
strategy determines whether to take a snapshot at the trigger on event or not; possible values are true or false.
стратегия определяет, делать снимок при срабатывании триггера по событию или нет; возможные значения - true (истина) или false (ложь).
position determines whether to take a snapshot at the take position event or not; possible values are true or false.
позиция определяет, делать ли снимок в событии взятия позиции или нет; возможные значения - true (истина) или false (ложь).
Initial Values
These are the Initial Values for Snapshots configuration:
{
"strategy": true,
"position": true
}
Examples
This is a list of properties featured by the Snapshots configuration. Expanding a property shows sample values for the property extracted from the current Workspace.
Snapshots Menu
The Snapshots node has the following Node Menu items:
The Configure menu item has the following properties:
action:Configure
label:Configure
iconPathOn: configuration
iconPathOff: configuration
actionFunction:uiObject.configEditor.activate
The Delete menu item has the following properties:
Tip: When a menu item is grayed out, it means that Snapshots already has the required child type that the menu item may add, and only that child is allowed for that case.
Snapshots Attaching Rules
The following are the Node Attaching Rules that govern the attachment of Snapshots with other nodes: