diff --git a/main/general-usage/index.html b/main/general-usage/index.html index 05670284..64475cce 100644 --- a/main/general-usage/index.html +++ b/main/general-usage/index.html @@ -468,7 +468,7 @@

General Usage

After installation, technical can be imported and used in your code.

We recommend to import freqtrade.indicators as ftt to avoid conflicts with other libraries, and to help determining where indicator calculations came from.

-
import technical.indicators as ftt
+
import technical.indicators as ftt
 
 # The indicator calculations can now be used as follows:
 
@@ -483,13 +483,13 @@ 

Return typeResample to interval

The helper methods resample_to_interval and resampled_merge are used to resample a dataframe to a higher timeframe and merge the resampled dataframe back into the original dataframe. This is an alternative approach to using informative pairs and reduces the amount of data needed from the exchange (you don't need to download 4h candles in the below example).

-
from pandas import DataFrame
-from technical.util import resample_to_interval, resampled_merge
-import technical.indicators as ftt
+
from pandas import DataFrame
+from technical.util import resample_to_interval, resampled_merge
+import technical.indicators as ftt
 
 timeframe = '1h'
 
-def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
+def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
 
     # Resampling to 4h:
     dataframe_long = resample_to_interval(dataframe, 240)  # 240 = 4 * 60 = 4h
diff --git a/main/index.html b/main/index.html
index bccf96f8..d9823957 100644
--- a/main/index.html
+++ b/main/index.html
@@ -585,8 +585,8 @@ 

Usage&
pip install git+https://github.com/freqtrade/technical
 

and then import the required packages

-
from technical.indicators import accumulation_distribution, ...
-from technical.util import resample_to_interval, resampled_merge
+
from technical.indicators import accumulation_distribution, ...
+from technical.util import resample_to_interval, resampled_merge
 
 # Assuming 1h dataframe -resampling to 4h:
 dataframe_long = resample_to_interval(dataframe, 240)  # 240 = 4 * 60 = 4h
diff --git a/main/sitemap.xml b/main/sitemap.xml
index 349ad6a9..d64ced21 100644
--- a/main/sitemap.xml
+++ b/main/sitemap.xml
@@ -2,14 +2,14 @@
 
     
          https://technical.freqtrade.io/main/
-         2025-01-02
+         2025-01-06
     
     
          https://technical.freqtrade.io/main/developer/
-         2025-01-02
+         2025-01-06
     
     
          https://technical.freqtrade.io/main/general-usage/
-         2025-01-02
+         2025-01-06
     
 
\ No newline at end of file
diff --git a/main/sitemap.xml.gz b/main/sitemap.xml.gz
index 91d131d2..3411bfc8 100644
Binary files a/main/sitemap.xml.gz and b/main/sitemap.xml.gz differ