From 1a8d74acb9a6c24810b9dfea20f7b756ebeff242 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 6 Jan 2025 13:05:19 +0000 Subject: [PATCH] Deployed 6287e68 to main with MkDocs 1.6.1 and mike 2.1.3 --- main/general-usage/index.html | 10 +++++----- main/index.html | 4 ++-- main/sitemap.xml | 6 +++--- main/sitemap.xml.gz | Bin 218 -> 218 bytes 4 files changed, 10 insertions(+), 10 deletions(-) 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 91d131d2a14798079492d1be272171260930cf87..3411bfc85d089f4df0de63748dd8d8fc1895be70 100644
GIT binary patch
literal 218
zcmV<0044t)iwFn+9eZa2|8r?{Wo=<_E_iKh0L4*34uUWcy!#5$JKbWUQ3K`X3-kd^
zS)oa3v0KFFTa*~jT%619PG)B|*|L82HhW+o<6XrHE?9<6`^LDoV%N(#Kd@SE$}w2N
zm?g2Jighs#CxB_1IGKpO8i@PQ0_iRd1Pcj*ADP@_3A4ecd!w{o%h`pJO+?)}qm|{i
zfcF?wgWP!Nm2ptQto&V66no#ut=R5zQRHHuBn$URf^XE?&;}o9{ea;=@hv(G%H|`f
U7T2HfF6n9V1)F0TeB=QD00p>c@Bjb+

literal 218
zcmV<0044t)iwFn+*L7zC|8r?{Wo=<_E_iKh0L4*34uUWcyz>guJKaKJq6W&%7w7|;
zvO<&6Vz-FTx2Q3mxj2{Ioy^W`vUU3yZGOi<#=C}N!}#
zm?yELh7B=JM}TEnIGKo}nuz<*1L+|R1RoLvKQNi)39G@od!e>o%hiRFO+-C7qm|{?
zfVUV_hunA=m2ptRs{CD46i465N>sZ-l!d60