We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2d304b commit 0d9a397Copy full SHA for 0d9a397
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "polars_talib"
3
-version = "0.1.1"
+version = "0.1.2"
4
edition = "2021"
5
6
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
python/polars_talib/__init__.py
@@ -190,6 +190,27 @@ def get_function_groups():
190
return __function_groups__.copy()
191
192
193
+def get_functions_output_struct():
194
+ """
195
+ Returns a dict with keys of function names and keys of the output struct
196
197
+ return {
198
+ "ht_phasor": ["inphase", "quadrature"],
199
+ "ht_sine": ["sine", "leadsine"],
200
+ "minmax": ["min", "max"],
201
+ "minmaxindex": ["minidx", "maxidx"],
202
+ "aroon": ["aroondown", "aroonup"],
203
+ "macd": ["macd", "macdsignal", "macdhist"],
204
+ "macdext": ["macd", "macdsignal", "macdhist"],
205
+ "macdfix": ["macd", "macdsignal", "macdhist"],
206
+ "stoch": ["slowk", "slowd"],
207
+ "stochf": ["fastk", "fastd"],
208
+ "stochrsi": ["fastk", "fastd"],
209
+ "bbands": ["upperband", "middleband", "lowerband"],
210
+ "mama": ["mama", "fama"],
211
+ }
212
+
213
214
@pl.api.register_expr_namespace("ta")
215
class TAExpr:
216
def __init__(self, expr: pl.Expr):
0 commit comments