Technical Indicators as TensorFlow Graph Functions
Project description
tf-technical-indicators
Technical Indicators as TF Graph Functions!
- Compatible with the rest of the tensorflow ecosystem
- Super fast as tensorflow graph code
Usage
import tensorflow_technical_indicators as tfti
# assuming your tensors have dimensions: (time step, features[ohlcv])
# where candles[:, 0] is open, candles[:, 1] high, etc..
candles = [...]
# you can get
c = tfti.features.close(candles)
rsi = tfti.rsi(candles=c, window_size=7, method='ema')
# you can also pass multidimensional tensors with (time step, features)
# where features = open, close
# to calculate some indicator for both open and close
result = tfti.indicator(candles, ..params..)
# in general
# tfti.<indicator>(parameters)
# check the list below to find indicator names
List of Indicators
from tensorflow_technical_indicators import <indicator>
Indicator | Implementation |
---|---|
SMA | simple_moving_average |
EMA | exponential_moving_average |
RSI | rsi |
MACD | macd |
Stochastic Oscillator | |
Bolliger Bands | |
Fibonacci Retractment | |
Ichimoku Cloud | |
Standard Deviation | |
Average Directional Index | |
More | To Come |
Need more indicators? Open up a pull request or open an issue :).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for tensorflow-technical-indicators-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cce12f650d1543f345f5e1945a4ed5777b20f53f270937a5898871530f670d6c |
|
MD5 | 3373c3118063798e57f7528a7a669f54 |
|
BLAKE2b-256 | e804873db3a9667d2788c14516a15e8a47ba710e5ce6189bdc1af07eba0d5818 |
Close
Hashes for tensorflow_technical_indicators-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d711d982d39baf85e6ec37390035ba2ab7a9acffab026646a5ef62e03618dd24 |
|
MD5 | bb078532ba243622d603b06c2800cc8d |
|
BLAKE2b-256 | 89694551165241c60aaf19b49cd5964edb1b61b20bf6541859395907bafca83d |