Update freqai-spice-rack.md
Instructs newer users to place the code calling spice_rack in populate_indicators
This commit is contained in:
		| @@ -10,7 +10,7 @@ The `spice_rack` is aimed at users who do not wish to deal with setting up `Freq | |||||||
|     "freqai_identifier": "spicey-id", |     "freqai_identifier": "spicey-id", | ||||||
| ``` | ``` | ||||||
|  |  | ||||||
| Which tells `FreqAI` to set up a pre-set `FreqAI` instance automatically under the hood with preset parameters. Now the user can access a suite of custom `FreqAI` supercharged indicators inside their strategy: | Which tells `FreqAI` to set up a pre-set `FreqAI` instance automatically under the hood with preset parameters. Now the user can access a suite of custom `FreqAI` supercharged indicators inside their strategy by placing the following code into `populate_indicators`: | ||||||
|  |  | ||||||
| ```python | ```python | ||||||
|         dataframe['dissimilarity_index'] = self.freqai.spice_rack( |         dataframe['dissimilarity_index'] = self.freqai.spice_rack( | ||||||
| @@ -68,4 +68,4 @@ Users can then use these columns in concert with all their own additional indica | |||||||
| |  Parameter | Description | | |  Parameter | Description | | ||||||
| |------------|-------------| | |------------|-------------| | ||||||
| | `DI_values` | **Required.** <br> The dissimilarity index of the current candle to the recent candles. More information available [here](freqai-feature-engineering.md#identifying-outliers-with-the-dissimilarity-index-di) <br> **Datatype:** Floats. | | `DI_values` | **Required.** <br> The dissimilarity index of the current candle to the recent candles. More information available [here](freqai-feature-engineering.md#identifying-outliers-with-the-dissimilarity-index-di) <br> **Datatype:** Floats. | ||||||
| | `extrema` | **Required.** <br> A continuous prediction from FreqAI which aims to help predict if the current candle is a maxima or a minma. FreqAI aims for 1 to be a maxima and -1 to be a minima - but the values should typically hover between -0.2 and 0.2. <br> **Datatype:** Floats. | | `extrema` | **Required.** <br> A continuous prediction from FreqAI which aims to help predict if the current candle is a maxima or a minma. FreqAI aims for 1 to be a maxima and -1 to be a minima - but the values should typically hover between -0.2 and 0.2. <br> **Datatype:** Floats. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user