SKU
QuantConnect.Api.SKU
SKU(cores: int, memory: int, target: NodeType)
Bases: Object
Class for generating a SKU for a node with a given configuration Every SKU is made up of 3 variables: - Target environment (L for live, B for Backtest, R for Research) - CPU core count - Dedicated RAM (GB)
Constructs a SKU object out of the provided node configuration
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cores
|
int
|
Number of cores |
required |
memory
|
int
|
Size of RAM in GBs |
required |
target
|
NodeType
|
Target Environment Live/Backtest/Research |
required |
cores
cores: int
The number of CPU cores in the node
memory
memory: int
Size of RAM in GB of the Node
to_string
to_string() -> str
Generates the SKU string for API calls based on the specifications of the node
Returns:
| Type | Description |
|---|---|
str
|
String representation of the SKU. |