Package: cryptota
CryptoTATechnical Analysis on Cryptocurrencyinstallpip install cryptotaexample usageimportcryptotaimportvectorbtasvbtbinance_data=vbt.BinanceData.download("BTCUSDT",start='1 day ago UTC',end='now UTC',interval='1m')binance_data=binance_data.update()price=binance_data.get()ta=cryptota.TA_Features()ta.get_all_indicators(price)last 10 result:openhighlowclosevolumeclose timequote volumenumber of tradestaker base volumetaker quote volumeaccbl_20accbm_20accbu_20amate_lr_8_21_2amate_sr_8_21_2obvobv_min_2obv_max_2obve_4obve_12aobv_lr_2aobv_sr_2cg_10copc_11_14_10dec_1dcl_20_20dcm_20_20dcu_20_20efi_13eom_14_100000000fwma_10isa_9isb_26its_9iks_26ics_26inc_1kcle_20_2kcbe_20_2kcue_20_2kst_10_15_20_30_10_10_10_15ksts_9kurt_30ldecay_5logret_1mad_30median_30midpoint_2midprice_2pctret_1pvolpvtpwma_10qtl_30_0.5rma_10rvi_14sinwma_14skew_30slope_1swma_10t3_10_0.7tsi_13_25_13tsis_13_25_13uo_7_14_28var_30vtxp_14vtxm_14low_closemean_closehigh_closepos_volumeneg_volumetotal_volumevwap_dzs_30adadoscadxadxraoapoaroon_downaroon_uparoonoscatravgpricebbands_lowerbbands_middlebbands_upperbopccicmocvidemadi_plusdi_minusdm_plusdm_minusdpodxemaemvfisher_linefisher_signalfoschmakamakvolinreglinreginterceptlinregslopemacd_linemacd_signalmacd_histogrammarketfimassmdmfimommsw_sinemsw_leadnatrnviobv_2ppopsarpviqstickrocrocrrsismastderrstoch_linestoch_matematrtrimatrixtsftyppriceultoscvhfvidyavoscvwmawadwcpricewilderswillrwmazlema2022-03-02 06:57:00+00:0043922.643955.343880.643940.555.85262022-03-02 06:57:59.999000+00:002.45229e+06144126.65341.17015e+0643921.244040.944157.801654.032598.179654.032647.434659.63701-5.50214-0.342771043880.643991.444102.3-412.507-2.55079e+0943964nannan43977.343991.4nan143930.544031.444132.2-198.256-183.2292.2801843940.50.00040631431.268944058.743931.543926.10.0004063972.45419e+06257.65644039.544058.744028.939.908144035.1-1.2716317.8544025.744027.7-25.7024-19.849747.78712082.080.772091.21082nannannannannannan44230.5-2.46775-694.918.240745.637538.2942-72.372-13.92641000-10048.300443924.843948.744040.944133.10.238726-232.24-36.460529.462344012.88.2107242.427555.5213286.89747.105467.571144148.4-245721-1.22179-0.74804-0.096464744071.444034.5-102.79243978.444062.8-5.18697-34.7959-26.1356-8.660391.3379925.664938.064618.8715-77.1-0.894256-0.3158640.109922978.806621.355-0.083283344046.91031.54-2.1725-0.001751570.99824832.133244266.511.755219.387430.422344089.974.7344187.2-0.008808443948.943925.547.78710.37306444004.49.9805344146.5-462.1443929.244147.6-72.022344063.144112.42022-03-02 06:58:00+00:0043940.54396443940.443950.323.55562022-03-02 06:58:59.999000+00:001.03537e+068457.7309733978743919.744036.744151.101677.588654.032677.588659.496662.39810-5.50269-0.386562043880.643991.444102.3-320.532-2.30011e+0943958.6nannan43977.343991.4nan143927.944023.644119.4-202.693-182.8181.239743950.30.00022345934.698244057.143945.443922.30.0002234841.03528e+06258.18344022.644057.14402152.794644025.9-1.09469.8244013.244017-26.6921-20.827249.42872381.490.8387361.18733nannannannannannan44230-2.01187-698.7758.8351746.887939.6449-87.6127-14.610992.857114.2857-78.571446.530343948.843936.444036.7441370.417092-146.022-30.724519.817144005.19.2390540.895660.1855266.404123.6863.143144144.5341832-1.36075-1.22179-0.02169884406744029.8-62.374143975.544069.4-4.98999-36.6471-28.2379-8.409240.99848725.639543.394123.7767-73.76-0.83589-0.2029350.10587979.025644.91-0.087692144030.31031.54-2.00495-0.001675450.99832534.287944264.511.205323.745823.232944084.123.5244184.6-0.009588024392643951.649.42870.3571274399312.185944142.9-452.3143951.244143.6-67.43184405744107.12022-03-02 06:59:00+00:0043950.343950.343926.243927.319.46082022-03-02 06:59:59.999000+00:008551385658.1269335710843917.744028.444140.501658.127658.127677.588658.948661.74110-5.50324-0.436811143880.643991.444102.3-338.712-1.91856e+0943946.4nannan43977.343991.4nan043923.344014.544105.7-217.516-184.6060.69643543950.1-0.00052368337.764644055.543938.843945.1-0.000523546854858257.16443996.344055.544011.641.990844015.2-1.09861-23.0143995.844005-28.3483-21.901746.10622666.450.873621.22762nannannannannannan44229.6-2.22225-716.4612.6478848.167440.8704-103.3-15.568285.71437.14286-78.571444.929643938.54392144028.444135.8-0.954395-141.982-48.1493-2.6165643996.28.8847741.597755.8865261.655175.73564.800544140.2-173271-1.47763-1.36075-0.03355444062.344020.8-52.334143970.544073-4.88678-39.4161-30.4735-8.942561.2394225.55748.328424.2785-128.3-0.760177-0.07810730.102282978.512625.449-0.094322344015.31031.54-2.5215-0.002912230.99708831.744644261.910.912627.452623.528644077.724.1244181.9-0.010429643900.143934.646.10620.31460443979.59.1766244139.9-475.3343932.744139.3-78.188144050.344101.42022-03-02 07:00:00+00:0043927.343965.743912.443955.224.46722022-03-02 07:00:59.999000+00:001.07526e+0698213.545159525143906.844021.744137.101682.594658.127682.594668.406664.94910-5.5029-0.45395043880.643991.444102.3-192.841-2.39934e+0943949.5nannan43970.943991.4nan143916.244008.844101.5-232.917-188.7550.12434143955.20.00063471239.158744054.543941.2439390.0006349131.07546e+06258.71743969.144054.54400652.81244004.6-1.124927.8943977.543992.9-27.7522-22.737548.62912624.580.7512931.19838nannannannannannan44229.1-1.58174-701.6494.5890948.771941.8146-107.24-15.670178.57140-78.571445.525343940.143913.544021.7441300.523559-107.98-34.6667.5104843989.910.555338.120967.2746242.966148.07756.630644136.517526.5-1.56272-1.477630.065324144057.444014.6-22.825643966.744054.6-4.7993-39.058-32.1904-6.867572.177225.566748.790626.5933-98.53-0.6573270.06807880.103572978.512649.917-0.093387844001.91032.2-2.18045-0.002236590.99776337.769844259.710.7130.569827.256144072.353.2744179.1-0.01109643900.243944.448.62910.28305143974.817.097944136.6-432.5743947.144135.6-62.67094404544096.52022-03-02 07:01:00+00:0043955.243961.843946.843948.89.453342022-03-02 07:01:59.999000+00:004155345604.3636419180943903.944015.144128.201673.141673.141682.594670.3666.20910-5.50241-0.478801143880.643991.444102.3-173.908-2.13829e+0943948.9nannan43970.943991.4nan043916.444003.144089.8-247.574-195.689-0.3888843955-0.00014515841.8082440534395243939-0.000145148415463258.5843950.44405344000.343.67743994.3-0.9882-6.3843963.143981.6-27.5289-23.421948.57682729.450.8222571.18353nannannannannannan44228.9-1.57779-708.5832.7597249.333242.9861-98.9418-15.779971.42860-71.428643.345743953.14390644015.144124.1-0.425716-84.6171-33.78495.8120643983.610.294237.17862.4693225.611103.65456.630644132.8242139-1.47718-1.562720.060155244052.544008.1-2.0228743961.444032.5-4.79371-38.8155-33.5154-5.300091.587825.437148.065729.4644-91.4-0.5624950.1868930.0986277978.37640.463-0.0927543989.71032.2-2.5594-0.002075380.99792536.965944257.210.698331.466129.829544066.815.0144176.2-0.011624243903.943952.448.57680.2842654397015.189244135-445.5843951.544131.9-64.742744039.744091.22022-03-02 07:02:00+00:0043948.843948.843844.643848.363.59242022-03-02 07:02:59.999000+00:002.79014e+06133713.742260294943884.84400444129.801609.548609.548673.141645.999657.49201-5.50289-0.5595143844.643973.544102.3-1061.98-1.89415e+0943910nannan43951.643973.5nan043890.143988.444086.6-279.549-208.4230.78192343948.6-0.0022891448.935344048.243898.543903.2-0.002286532.78842e+06244.03943942.644048.243985.135.066343982.3-1.21212-100.4943949.943968.9-30.9967-24.50442.40633747.960.7527771.1705nannannannannannan44227.4-2.86294-767.706-17.051550.710544.7394-97.2557-17.887410021.4286-78.571447.689643897.643876.14400444131.8-0.964766-152.487-43.054822.0116439708.6882246.677858.0072311.64669.389268.615344127.2-943039-1.67408-1.47718-0.15991144047.143981.9-98.72343947.744024.7-5.0799-45.725-35.9573-9.767631.6379325.573154.872226.2593-210.26-0.547350.2047450.10876978.37576.871-0.10942643978.81029.84-3.0886-0.004772290.99522827.160444254.111.42124.727528.921144058.4104.1644173.2-0.012549843870.943880.642.40630.3356543946.121.816544123.8-546.0843872.544126.2-98.40444030.744084.22022-03-02 07:03:00+00:0043848.343911.643844.84389050.87872022-03-02 07:03:59.999000+00:002.23206e+06126613.269558220143874.743995.444120.701660.427609.548660.427651.77657.94401-5.50227-0.58892043844.643969.644094.5-607.321-1.88425e+0943901.9nannan43940.143973.5nan143877.34397944080.6-300.631-224.7960.0891079438900.00095009953.952444042.143869.143896.70.000950552.23307e+06248.87643940.344042.143975.647.546443969.1-1.0345541.6843938.143955.6-30.9027-25.418145.99524269.030.822941.16598nannannannannannan44226.2-1.95534-749.716-17.881851.989445.5136-105.237-18.644692.857114.2857-78.571449.054643873.643861.343995.444129.60.623802-129.782-31.299220.456443960.57.8431342.137553.8638289.38640.455968.615344122.5-243548-1.99755-1.674080.019214144041.543971-60.67234393943992.9-5.17445-47.5171-38.2693-9.247821.3129325.705655.502740.9281-145.53-0.4626580.2997270.111767979.3627.75-0.11369143962.71029.84-2.66405-0.003304830.99669534.876544251.411.638718.874625.022744051.566.844170.1-0.013435643872.243882.145.99520.328056439356.2288844117.8-500.8743884.144121.5-80.229444023.544078.32022-03-02 07:04:00+00:0043890439054385243890.625.61852022-03-02 07:04:59.999000+00:001.12432e+0697713.53359392043863.643987.344112.501686.045660.427686.045665.48662.26710-5.50155-0.62855043844.643969.644094.5-518.255-2.41156e+0943897.1nannan43908.143973.5nan143868.543970.644072.6-316.148-241.919-0.45101643890.61.4354e-0559.203144042.143890.343878.21.43541e-051.12441e+06248.91243936.144042.143967.156.889543955.4-0.875220.6343928.643942.3-30.7942-26.186143.97134791.760.7686421.24083nannannannannannan44225.6-1.76688-738.001-12.868353.17746.2287-109.75-19.134185.71437.14286-78.571449.338543884.443848.543987.344126.20.0116915-114.483-41.507115.009743951.67.2409938.902550.0164268.71569.533968.615344117.96520.47-2.36691-1.997550.062213944035.743962.8-20.875943929.843961.2-5.31925-48.3444-40.2843-8.060072.0699925.733251.353839.5191-77.01-0.4217920.3428760.112413979.314653.368-0.11562643948.81029.84-2.7077-0.001751520.99824834.988644248.711.929813.80419.135444044.753.0344167-0.014217343878.843882.543.97130.33829343926.64.5762144114.2-462.2343884.544116.9-79.954744016.744072.52022-03-02 07:05:00+00:0043890.643918.443867.243918.429.792022-03-02 07:05:59.999000+00:001.30763e+0686120.748891073543860.343979.144100.401715.835686.045715.835685.622670.50810-5.50106-0.624497043844.643969.644094.5-326.08-2.39413e+0943905nannan43905.143973.5nan143863.543965.644067.7-321.667-257.439-0.82344143918.40.00063228262.432944037.843904.543885.20.0006324821.30833e+06250.7974392544037.843962.263.746543943-0.70971427.7643921.543930.2-29.043-26.594350.09065048.310.7493811.2139nannannannannannan44224.9-1.27171-708.222-0.17256953.758846.7838-112.37-18.821678.57140-78.571449.468743898.643844.543979.144113.70.542807-85.5094-31.96822.113743945.48.6380636.028859.8238249.52139.577961.322344113.9245839-2.25915-2.366910.14382544029.843961.626.543143924.443944.6-5.31064-46.3689-41.5012-4.86771.7173525.822644.287840.9183-4.25-0.3425730.4220850.112638979.314683.158-0.11078843936.31030.49-2.38715-9.67611e-050.99990339.89844246.311.912924.622819.100544038.951.1644163.8-0.014710343888.143901.350.09060.33735543925.26.0330444110.7-411.0843905.644112.9-65.947744011.144067.92022-03-02 07:06:00+00:0043918.443932.743873.14387918.37772022-03-02 07:06:59.999000+00:008068098736.4139428156643846.443969.344096.201697.458697.458715.835690.356674.65410-5.50143-0.617154143844.643962.544080.3-382.728-1.86442e+0943895nannan43905.143973.5nan043853.743957.444061-327.124-271.758-1.0960343918.2-0.00089569966.282844035.343898.743899.9-0.000895298806397249.15143909.244035.343953.954.327443931.7-0.571795-39.3243912.543919-28.9674-26.933347.20315504.310.795211.16616nannannannannannan44224.5-1.66708-722.9560.34884353.753346.973-118.047-19.259371.42867.14286-64.285750.185943900.843835.443969.344103.3-0.660897-84.7912-35.877529.350943936.79.9388632.977169.8307231.69867.833153.682344109.3327216-1.89784-2.259150.04308544023.843959.626.533143916.643949.1-5.36798-47.2431-42.6496-4.593493.2381625.914441.442940.4695-61.42-0.287130.47430.114373978.437664.78-0.11287543844.61030.49-2.47375-0.00139780.99860235.776844243.812.040723.3320.585644032.159.5144160.5-0.01516834387343894.947.20310.325346439188.8971144107.8-464.694389144108.2-84.107744004.244063.5Supported DataSourceBinanceimportcryptotaimportvectorbtasvbtbinance_data=vbt.BinanceData.download("BTCUSDT",start='1 day ago UTC',end='now UTC',interval='1m')binance_data=binance_data.update()price=binance_data.get()Alpacaimportcryptotaimportvectorbtasvbtalpaca_data=vbt.AlpacaData.download("AAPL",start='2 hours ago UTC',end='15 minutes ago UTC',interval='1m',)alpaca_data=alpaca_data.update()price=alpaca_data.get()alpaca_data.get()CCXTccxt_data=vbt.CCXTData.download("BTC/USDT",start='2 hours ago UTC',end='now UTC',timeframe='1m')ccxt_data=ccxt_data.update()price=ccxt_data.get()Yfinanceyf_data = vbt.YFData.download(
    "TSLA",
    start='2022-02-25 09:30:00 -0400',
    end='2022-03-01 09:35:00 -0400',
    interval='1m'
)
price = yf_data.get()Supported MetricMomentumAwesome Oscillator:aoAbsolute Price Oscillator:apoBalance of Power:bopCommodity Channel Index:cciChande Momentum Oscillator:cmoA wrapper forta.linreg(series, r=True)Momentum:momPercentage Price Oscillator:ppoRate of Change:rocRelative Strength Index:rsiDefault is John Carter's. Enable Lazybear's withlazybear=TrueExcluded fromdf.ta.strategy().Trix:trixWilliams %R:willrOverlapDouble Exponential Moving Average:demaExponential Moving Average:emaCommonly known as 'Typical Price' in Technical Analysis literatureHull Exponential Moving Average:hmaUse: help(ta.ichimoku). Returns two DataFrames.Drop the Chikou Span Column, the final column of the first resultant DataFrame, remove potential data leak.Kaufman's Adaptive Moving Average:kamaLinear Regression:linregSimple Moving Average:smaTriple Exponential Moving Average:temaTriangular Moving Average:trimaVariable Index Dynamic Average:vidyaVolume Weighted Moving Average:vwmaWeighted Moving Average:wmaTrendAverage Directional Movement Index:adxDetrended Price Oscillator:dpoSetcentered=Falseto remove potential data leak.Parabolic Stop and Reverse:psarQ Stick:qstickVertical Horizontal Filter:vhfVolatilityAverage True Range:atrNormalized Average True Range:natrVolumeAccumulation/Distribution Index:adAccumulation/Distribution Oscillator:adoscKlinger Volume Oscillator:kvoMoney Flow Index:mfiNegative Volume Index:nviOn-Balance Volume:obvPositive Volume Index:pviPrice-Volume:pvolPrice Volume Trend:pvtIndicatorAverage Directional Movement Rating:adxrAroon:aroonChaikins Volatility:cviDirectional Movement Index:dxEase of Movement:emvForecast Oscillator:foscLinear Regression Intercept:linreginterceptLinear Regression Slope:linregslopeMarket Facilitation Index:marketfiMass Index:massRate of Change Ratio:rocrTrue Range:trUltimate Oscillator:ultoscVolume Oscillator:voscWilliams Accumulation/Distribution:wadOverlayAverage Price:avgpriceBollinger Bands:bbandsTime Series Forecast:tsfTypical Price:typpriceWeighted Close Price:wcpriceWilders Smoothing:wildersZero-Lag Exponential Moving Average:zlemaMathMean Deviation Over Period:mdStandard Error Over Period:stderrRef:https://tulipindicators.org/listRef:https://github.com/twopirllc/pandas-ta~~