pytafast.aio module

Async wrappers for all pytafast functions via asyncio.to_thread.

Usage:

import pytafast result = await pytafast.aio.SMA(close, timeperiod=20)

async pytafast.aio.ACOS(inReal)

Vector ACOS.

async pytafast.aio.AD(inHigh, inLow, inClose, inVolume)

Chaikin A/D Line.

async pytafast.aio.ADD(inReal0, inReal1)

ADD indicator.

async pytafast.aio.ADOSC(inHigh, inLow, inClose, inVolume, fastperiod=3, slowperiod=10)

Chaikin A/D Oscillator.

async pytafast.aio.ADX(inHigh, inLow, inClose, timeperiod=14)

ADX indicator.

async pytafast.aio.ADXR(inHigh, inLow, inClose, timeperiod=14)

ADXR indicator.

async pytafast.aio.ALMA(inReal, timeperiod=9, offset=0.85, sigma=6.0)

Arnaud Legoux Moving Average.

async pytafast.aio.APO(inReal, fastperiod=12, slowperiod=26, matype=0)

Absolute Price Oscillator.

async pytafast.aio.AROON(inHigh, inLow, timeperiod=14)

Aroon. Returns: (aroondown, aroonup)

async pytafast.aio.AROONOSC(inHigh, inLow, timeperiod=14)

AROONOSC indicator.

async pytafast.aio.ASIN(inReal)

Vector ASIN.

async pytafast.aio.ATAN(inReal)

Vector ATAN.

async pytafast.aio.ATR(inHigh, inLow, inClose, timeperiod=14)

ATR indicator.

async pytafast.aio.AVGDEV(inReal, timeperiod=14)

AVGDEV indicator.

async pytafast.aio.AVGPRICE(inOpen, inHigh, inLow, inClose)

Average Price.

async pytafast.aio.BBANDS(inReal, timeperiod=5, nbdevup=2.0, nbdevdn=2.0, matype=MAType.SMA)

Bollinger Bands. Returns: (upperband, middleband, lowerband)

async pytafast.aio.BETA(inReal0, inReal1, timeperiod=5)

BETA indicator.

async pytafast.aio.BOP(inOpen, inHigh, inLow, inClose)

Balance Of Power.

async pytafast.aio.CCI(inHigh, inLow, inClose, timeperiod=14)

CCI indicator.

async pytafast.aio.CDL2CROWS(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDL2CROWS

async pytafast.aio.CDL3BLACKCROWS(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDL3BLACKCROWS

async pytafast.aio.CDL3INSIDE(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDL3INSIDE

async pytafast.aio.CDL3LINESTRIKE(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDL3LINESTRIKE

async pytafast.aio.CDL3OUTSIDE(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDL3OUTSIDE

async pytafast.aio.CDL3STARSINSOUTH(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDL3STARSINSOUTH

async pytafast.aio.CDL3WHITESOLDIERS(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDL3WHITESOLDIERS

async pytafast.aio.CDLABANDONEDBABY(inOpen, inHigh, inLow, inClose, penetration=0.3)

Candlestick Pattern: CDLABANDONEDBABY

async pytafast.aio.CDLADVANCEBLOCK(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLADVANCEBLOCK

async pytafast.aio.CDLBELTHOLD(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLBELTHOLD

async pytafast.aio.CDLBREAKAWAY(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLBREAKAWAY

async pytafast.aio.CDLCLOSINGMARUBOZU(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLCLOSINGMARUBOZU

async pytafast.aio.CDLCONCEALBABYSWALL(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLCONCEALBABYSWALL

async pytafast.aio.CDLCOUNTERATTACK(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLCOUNTERATTACK

async pytafast.aio.CDLDARKCLOUDCOVER(inOpen, inHigh, inLow, inClose, penetration=0.5)

Candlestick Pattern: CDLDARKCLOUDCOVER

async pytafast.aio.CDLDOJI(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLDOJI

async pytafast.aio.CDLDOJISTAR(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLDOJISTAR

async pytafast.aio.CDLDRAGONFLYDOJI(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLDRAGONFLYDOJI

async pytafast.aio.CDLENGULFING(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLENGULFING

async pytafast.aio.CDLEVENINGDOJISTAR(inOpen, inHigh, inLow, inClose, penetration=0.3)

Candlestick Pattern: CDLEVENINGDOJISTAR

async pytafast.aio.CDLEVENINGSTAR(inOpen, inHigh, inLow, inClose, penetration=0.3)

Candlestick Pattern: CDLEVENINGSTAR

async pytafast.aio.CDLGAPSIDESIDEWHITE(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLGAPSIDESIDEWHITE

async pytafast.aio.CDLGRAVESTONEDOJI(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLGRAVESTONEDOJI

async pytafast.aio.CDLHAMMER(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLHAMMER

async pytafast.aio.CDLHANGINGMAN(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLHANGINGMAN

async pytafast.aio.CDLHARAMI(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLHARAMI

async pytafast.aio.CDLHARAMICROSS(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLHARAMICROSS

async pytafast.aio.CDLHIGHWAVE(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLHIGHWAVE

async pytafast.aio.CDLHIKKAKE(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLHIKKAKE

async pytafast.aio.CDLHIKKAKEMOD(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLHIKKAKEMOD

async pytafast.aio.CDLHOMINGPIGEON(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLHOMINGPIGEON

async pytafast.aio.CDLIDENTICAL3CROWS(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLIDENTICAL3CROWS

async pytafast.aio.CDLINNECK(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLINNECK

async pytafast.aio.CDLINVERTEDHAMMER(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLINVERTEDHAMMER

async pytafast.aio.CDLKICKING(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLKICKING

async pytafast.aio.CDLKICKINGBYLENGTH(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLKICKINGBYLENGTH

async pytafast.aio.CDLLADDERBOTTOM(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLLADDERBOTTOM

async pytafast.aio.CDLLONGLEGGEDDOJI(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLLONGLEGGEDDOJI

async pytafast.aio.CDLLONGLINE(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLLONGLINE

async pytafast.aio.CDLMARUBOZU(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLMARUBOZU

async pytafast.aio.CDLMATCHINGLOW(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLMATCHINGLOW

async pytafast.aio.CDLMATHOLD(inOpen, inHigh, inLow, inClose, penetration=0.5)

Candlestick Pattern: CDLMATHOLD

async pytafast.aio.CDLMORNINGDOJISTAR(inOpen, inHigh, inLow, inClose, penetration=0.3)

Candlestick Pattern: CDLMORNINGDOJISTAR

async pytafast.aio.CDLMORNINGSTAR(inOpen, inHigh, inLow, inClose, penetration=0.3)

Candlestick Pattern: CDLMORNINGSTAR

async pytafast.aio.CDLONNECK(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLONNECK

async pytafast.aio.CDLPIERCING(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLPIERCING

async pytafast.aio.CDLRICKSHAWMAN(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLRICKSHAWMAN

async pytafast.aio.CDLRISEFALL3METHODS(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLRISEFALL3METHODS

async pytafast.aio.CDLSEPARATINGLINES(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLSEPARATINGLINES

async pytafast.aio.CDLSHOOTINGSTAR(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLSHOOTINGSTAR

async pytafast.aio.CDLSHORTLINE(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLSHORTLINE

async pytafast.aio.CDLSPINNINGTOP(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLSPINNINGTOP

async pytafast.aio.CDLSTALLEDPATTERN(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLSTALLEDPATTERN

async pytafast.aio.CDLSTICKSANDWICH(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLSTICKSANDWICH

async pytafast.aio.CDLTAKURI(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLTAKURI

async pytafast.aio.CDLTASUKIGAP(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLTASUKIGAP

async pytafast.aio.CDLTHRUSTING(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLTHRUSTING

async pytafast.aio.CDLTRISTAR(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLTRISTAR

async pytafast.aio.CDLUNIQUE3RIVER(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLUNIQUE3RIVER

async pytafast.aio.CDLUPSIDEGAP2CROWS(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLUPSIDEGAP2CROWS

async pytafast.aio.CDLXSIDEGAP3METHODS(inOpen, inHigh, inLow, inClose)

Candlestick Pattern: CDLXSIDEGAP3METHODS

async pytafast.aio.CEIL(inReal)

Vector CEIL.

async pytafast.aio.CMF(inHigh, inLow, inClose, inVolume, timeperiod=20)

Chaikin Money Flow.

async pytafast.aio.CMO(inReal, timeperiod=14)

CMO indicator.

async pytafast.aio.CORREL(inReal0, inReal1, timeperiod=30)

CORREL indicator.

async pytafast.aio.COS(inReal)

Vector COS.

async pytafast.aio.COSH(inReal)

Vector COSH.

async pytafast.aio.DEMA(inReal, timeperiod=30)

DEMA indicator.

async pytafast.aio.DIV(inReal0, inReal1)

DIV indicator.

async pytafast.aio.DPO(inReal, timeperiod=10)

Detrended Price Oscillator.

async pytafast.aio.DX(inHigh, inLow, inClose, timeperiod=14)

DX indicator.

async pytafast.aio.DonchianChannel(inHigh, inLow, timeperiod=10)

Donchian Channel. Returns: (upper, middle, lower)

async pytafast.aio.EMA(inReal, timeperiod=30)

EMA indicator.

async pytafast.aio.EMV(inHigh, inLow, inVolume, timeperiod=9, vol_divisor=10000.0)

Arms’ Ease of Movement Value. Returns: (emv, smoothed_emv)

async pytafast.aio.EVWMA(inReal, inVolume, timeperiod=30)

Elastic Volume Weighted Moving Average.

async pytafast.aio.EXP(inReal)

Vector EXP.

async pytafast.aio.FLOOR(inReal)

Vector FLOOR.

async pytafast.aio.GMMA(inReal)

Guppy Multiple Moving Average. Returns a tuple of 12 EMA series.

async pytafast.aio.HMA(inReal, timeperiod=20)

Hull Moving Average.

async pytafast.aio.HT_DCPERIOD(inReal)

HT_DCPERIOD indicator.

async pytafast.aio.HT_DCPHASE(inReal)

HT_DCPHASE indicator.

async pytafast.aio.HT_PHASOR(inReal)

Hilbert Transform - Phasor Components.

async pytafast.aio.HT_SINE(inReal)

Hilbert Transform - SineWave.

async pytafast.aio.HT_TRENDLINE(inReal)

HT_TRENDLINE indicator.

async pytafast.aio.HT_TRENDMODE(inReal)

HT_TRENDMODE indicator.

async pytafast.aio.KAMA(inReal, timeperiod=30)

KAMA indicator.

async pytafast.aio.KST(inReal, nROC1=10, nROC2=15, nROC3=20, nROC4=30, nAvg1=10, nAvg2=10, nAvg3=10, nAvg4=15, nSig=9)

Know Sure Thing (KST). Returns: (kst, signal)

async pytafast.aio.LINEARREG(inReal, timeperiod=14)

LINEARREG indicator.

async pytafast.aio.LINEARREG_ANGLE(inReal, timeperiod=14)

LINEARREG_ANGLE indicator.

async pytafast.aio.LINEARREG_INTERCEPT(inReal, timeperiod=14)

LINEARREG_INTERCEPT indicator.

async pytafast.aio.LINEARREG_SLOPE(inReal, timeperiod=14)

LINEARREG_SLOPE indicator.

async pytafast.aio.LN(inReal)

Vector LN.

async pytafast.aio.LOG10(inReal)

Vector LOG10.

async pytafast.aio.MA(inReal, timeperiod=30, matype=0)

Moving Average (generic).

async pytafast.aio.MACD(inReal, fastperiod=12, slowperiod=26, signalperiod=9)

Moving Average Convergence/Divergence. Returns: (macd, signal, hist)

async pytafast.aio.MACDEXT(inReal, fastperiod=12, fastmatype=0, slowperiod=26, slowmatype=0, signalperiod=9, signalmatype=0)

MACD with controllable MA type.

async pytafast.aio.MACDFIX(inReal, signalperiod=9)

MACD Fix 12/26.

async pytafast.aio.MAMA(inReal, fastlimit=0.5, slowlimit=0.05)

MESA Adaptive Moving Average. Returns: (mama, fama)

async pytafast.aio.MAX(inReal, timeperiod=30)

MAX indicator.

async pytafast.aio.MEDPRICE(inReal0, inReal1)

MEDPRICE indicator.

async pytafast.aio.MFI(inHigh, inLow, inClose, inVolume, timeperiod=14)

Money Flow Index.

async pytafast.aio.MIDPOINT(inReal, timeperiod=14)

MIDPOINT indicator.

async pytafast.aio.MIDPRICE(inHigh, inLow, timeperiod=14)

MIDPRICE indicator.

async pytafast.aio.MIN(inReal, timeperiod=30)

MIN indicator.

async pytafast.aio.MINMAX(inReal, timeperiod=30)

Lowest and highest values over a specified period.

async pytafast.aio.MINMAXINDEX(inReal, timeperiod=30)

Indexes of lowest and highest values over a specified period.

async pytafast.aio.MINUS_DI(inHigh, inLow, inClose, timeperiod=14)

MINUS_DI indicator.

async pytafast.aio.MINUS_DM(inHigh, inLow, timeperiod=14)

MINUS_DM indicator.

async pytafast.aio.MOM(inReal, timeperiod=10)

MOM indicator.

async pytafast.aio.MULT(inReal0, inReal1)

MULT indicator.

async pytafast.aio.NATR(inHigh, inLow, inClose, timeperiod=14)

NATR indicator.

async pytafast.aio.OBV(inReal0, inReal1)

OBV indicator.

async pytafast.aio.PLUS_DI(inHigh, inLow, inClose, timeperiod=14)

PLUS_DI indicator.

async pytafast.aio.PLUS_DM(inHigh, inLow, timeperiod=14)

PLUS_DM indicator.

async pytafast.aio.PPO(inReal, fastperiod=12, slowperiod=26, matype=0)

Percentage Price Oscillator.

async pytafast.aio.ROC(inReal, timeperiod=10)

ROC indicator.

async pytafast.aio.ROCP(inReal, timeperiod=10)

ROCP indicator.

async pytafast.aio.ROCR(inReal, timeperiod=10)

ROCR indicator.

async pytafast.aio.ROCR100(inReal, timeperiod=10)

ROCR100 indicator.

async pytafast.aio.RSI(inReal, timeperiod=14)

RSI indicator.

async pytafast.aio.SAR(inHigh, inLow, acceleration=0.02, maximum=0.2)

Parabolic SAR.

async pytafast.aio.SIN(inReal)

Vector SIN.

async pytafast.aio.SINH(inReal)

Vector SINH.

async pytafast.aio.SMA(inReal, timeperiod=30)

SMA indicator.

async pytafast.aio.SMI(inHigh, inLow, inClose, n=13, nFast=2, nSlow=25, nSig=9)

Stochastic Momentum Index. Returns: (smi, signal)

async pytafast.aio.SNR(inHigh, inLow, inClose, timeperiod=14)

Signal to Noise Ratio.

async pytafast.aio.SQRT(inReal)

Vector SQRT.

async pytafast.aio.STDDEV(inReal, timeperiod=5, nbdev=1.0)

Standard Deviation.

async pytafast.aio.STOCH(inHigh, inLow, inClose, fastk_period=5, slowk_period=3, slowk_matype=MAType.SMA, slowd_period=3, slowd_matype=MAType.SMA)

Stochastic. Returns: (slowk, slowd)

async pytafast.aio.STOCHF(inHigh, inLow, inClose, fastk_period=5, fastd_period=3, fastd_matype=0)

Stochastic Fast.

async pytafast.aio.STOCHRSI(inReal, timeperiod=14, fastk_period=5, fastd_period=3, fastd_matype=0)

Stochastic RSI.

async pytafast.aio.SUB(inReal0, inReal1)

SUB indicator.

async pytafast.aio.SUM(inReal, timeperiod=30)

SUM indicator.

async pytafast.aio.T3(inReal, timeperiod=5, vfactor=0.7)

Triple Exponential Moving Average (T3).

async pytafast.aio.TAN(inReal)

Vector TAN.

async pytafast.aio.TANH(inReal)

Vector TANH.

async pytafast.aio.TEMA(inReal, timeperiod=30)

TEMA indicator.

async pytafast.aio.TRANGE(inHigh, inLow, inClose)

True Range.

async pytafast.aio.TRIMA(inReal, timeperiod=30)

TRIMA indicator.

async pytafast.aio.TRIX(inReal, timeperiod=30)

TRIX indicator.

async pytafast.aio.TSF(inReal, timeperiod=14)

TSF indicator.

async pytafast.aio.TYPPRICE(inHigh, inLow, inClose)

Typical Price.

async pytafast.aio.ULTOSC(inHigh, inLow, inClose, timeperiod1=7, timeperiod2=14, timeperiod3=28)

Ultimate Oscillator.

async pytafast.aio.VAR(inReal, timeperiod=5, nbdev=1.0)

Variance.

async pytafast.aio.VHF(inReal, timeperiod=28)

Vertical Horizontal Filter.

async pytafast.aio.WCLPRICE(inHigh, inLow, inClose)

Weighted Close Price.

async pytafast.aio.WILLR(inHigh, inLow, inClose, timeperiod=14)

WILLR indicator.

async pytafast.aio.WMA(inReal, timeperiod=30)

WMA indicator.

async pytafast.aio.ZIGZAG(inHigh, inLow, change=10.0, percent=True)

ZigZag indicator.

async pytafast.aio.ZLEMA(inReal, timeperiod=30)

Zero Lag Exponential Moving Average.

async pytafast.aio.keltnerChannels(inHigh, inLow, inClose, timeperiod=20, atr_mult=2.0)

Keltner Channels. Returns: (upper, middle, lower)