All Projects → joshuaulrich → Ttr

joshuaulrich / Ttr

Licence: gpl-2.0
Technical analysis and other functions to construct technical trading rules with R

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to Ttr

Sequence-to-Sequence-Learning-of-Financial-Time-Series-in-Algorithmic-Trading
My bachelor's thesis—analyzing the application of LSTM-based RNNs on financial markets. 🤓
Stars: ✭ 64 (-73.11%)
Mutual labels:  finance, technical-analysis, algorithmic-trading
py-investment
Extensible Algo-Trading Python Package.
Stars: ✭ 19 (-92.02%)
Mutual labels:  finance, technical-analysis, algorithmic-trading
Turingtrader
The Open-Source Backtesting Engine/ Market Simulator by Bertram Solutions.
Stars: ✭ 132 (-44.54%)
Mutual labels:  finance, algorithmic-trading, technical-analysis
AutoTrader
A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
Stars: ✭ 227 (-4.62%)
Mutual labels:  finance, technical-analysis, algorithmic-trading
Gobacktest
event-driven backtesting framework written in golang
Stars: ✭ 113 (-52.52%)
Mutual labels:  finance, algorithmic-trading
Zvt
modular quant framework.
Stars: ✭ 1,801 (+656.72%)
Mutual labels:  algorithmic-trading, technical-analysis
Trendyways
Simple javascript library containing methods for financial technical analysis
Stars: ✭ 121 (-49.16%)
Mutual labels:  finance, technical-analysis
Lstm Crypto Price Prediction
Predicting price trends in cryptomarkets using an lstm-RNN for the use of a trading bot
Stars: ✭ 136 (-42.86%)
Mutual labels:  algorithmic-trading, technical-analysis
Finance4py
股市技術分析小工具
Stars: ✭ 8 (-96.64%)
Mutual labels:  finance, technical-analysis
Indicators.jl
Financial market technical analysis & indicators in Julia
Stars: ✭ 130 (-45.38%)
Mutual labels:  finance, technical-analysis
Financial Machine Learning
A curated list of practical financial machine learning tools and applications.
Stars: ✭ 2,172 (+812.61%)
Mutual labels:  finance, algorithmic-trading
Algobot
A C++ stock market algorithmic trading bot
Stars: ✭ 78 (-67.23%)
Mutual labels:  finance, algorithmic-trading
Tradestation
EasyLanguage indicators and systems for TradeStation
Stars: ✭ 65 (-72.69%)
Mutual labels:  finance, technical-analysis
Reddit Hyped Stocks
A web application to explore currently hyped stocks on Reddit
Stars: ✭ 173 (-27.31%)
Mutual labels:  finance, algorithmic-trading
Pandas Ta
Technical Analysis Indicators - Pandas TA is an easy to use Python 3 Pandas Extension with 130+ Indicators
Stars: ✭ 962 (+304.2%)
Mutual labels:  finance, technical-analysis
Algorithmictrading
This repository contains three ways to obtain arbitrage which are Dual Listing, Options and Statistical Arbitrage. These are projects in collaboration with Optiver and have been peer-reviewed by staff members of Optiver.
Stars: ✭ 157 (-34.03%)
Mutual labels:  finance, algorithmic-trading
Pyportfolioopt
Financial portfolio optimisation in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity
Stars: ✭ 2,502 (+951.26%)
Mutual labels:  finance, algorithmic-trading
Stock.indicators
Stock indicator technical analysis library package for .NET. Send in historical price quotes and get back desired technical indicators. Nothing more. It can be used in any market analysis software using standard OHLCV price quotes for equities, commodities, forex, cryptocurrencies, and others. We had private trading algorithms, machine learning, and charting systems in mind when originally creating this community library. Current indicators include: Accumulation/Distribution Line (ADL), Aroon Oscillator, Arnaud Legoux Moving Average (ALMA), Average Directional Index (ADX), Average True Range (ATR), Awesome Oscillator (AO), Balance of Power (BOP), Beta Coefficient, Bollinger Bands®, Chaikin Money Flow (CMF), Chaikin Oscillator, Chandelier Exit, Choppiness Index (CHOP), Commodity Channel Index (CCI), ConnorsRSI, Correlation Coefficient, Donchian Channels, Double Exponential Moving Average (DEMA), Elder-ray Index, Exponential Moving Average (EMA), Force Index, Fractal Chaos Bands (FCB), Gator Oscillator, Heikin-Ashi, Hull Moving Average (HMA), Ichimoku Cloud, Kaufman's Adaptive Moving Average (KAMA), KDJ Index, Keltner Channels, Momentum Oscillator, Money Flow Index (MFI), MESA Adaptive Moving Averages (MAMA), Moving Average Convergence/Divergence (MACD), Moving Average Envelopes, On-balance Volume (OBV), Parabolic SAR (stop and reverse), Percentage Volume Oscillator (PVO), Pivot Points and Rolling Pivot Points, Price Channels, Price (Comparative) Relative Strength (PRS), Price Momentum Oscillator (PMO), Rate of Change (ROC), Relative Strength Index (RSI), R-Squared (Coefficient of Determination), Simple Moving Average (SMA), Slope and Linear Regression, Smoothed Moving Average (SMMA), Standard Deviation, Stoller Average Range Channel (STARC) Bands, Stochastic Oscillator, Stochastic RSI, SuperTrend, Tillson T3 Moving Average, Triple Exponential Moving Average (TEMA), Triple EMA Oscillator (TRIX), True Strength Index (TSI), Ulcer Index, Ultimate Oscillator, Volume Simple Moving Average, Volume Weighted Average Price (VWAP), Vortex Indicator (VI), Weighted Moving Average (WMA), Williams %R, Williams Alligator, Williams Fractal, and Zig Zag.
Stars: ✭ 157 (-34.03%)
Mutual labels:  algorithmic-trading, technical-analysis
Trading Server
A multi-asset, multi-strategy, event-driven trade execution and management platform for running many algorithms/bots at many venues simultaneously with unified risk management and reporting. Uses MongoDB for storage and Telegram for user notifications/trade consent.
Stars: ✭ 191 (-19.75%)
Mutual labels:  algorithmic-trading, technical-analysis
Awesome Quant
A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)
Stars: ✭ 8,205 (+3347.48%)
Mutual labels:  finance, technical-analysis

About

TTR is an R package that provides the most popular technical analysis functions for financial market data. Many of these functions are used as components of systematic trading strategies and financial charts.

TTR for enterprise

Available as part of the Tidelift Subscription.

The maintainers of TTR and thousands of other packages are working with Tidelift to deliver commercial support and maintenance for the open source dependencies you use to build your applications. Save time, reduce risk, and improve code health, while paying the maintainers of the exact dependencies you use. Learn more.

Supporting TTR development

If you are interested in supporting the ongoing development and maintenance of TTR, please consider becoming a sponsor.

Installation

The current release is available on CRAN, which you can install via:

install.packages("TTR")

To install the development version, you need to clone the repository and build from source, or run one of:

# lightweight
remotes::install_github("joshuaulrich/TTR")
# or
devtools::install_github("joshuaulrich/TTR")

You will need tools to compile C, C++, and Fortran code. See the relevant appendix in the R Installation and Administration manual for your operating system:

Getting Started

Here are a few examples of some of the more well-known indicators:

# "TTR Composite" (simulated data)
data(ttrc)

# Bollinger Bands
bbands <- BBands( ttrc[,c("High","Low","Close")] )

# Directional Movement Index
adx <- ADX(ttrc[,c("High","Low","Close")])

# Moving Averages
ema <- EMA(ttrc[,"Close"], n=20)
sma <- SMA(ttrc[,"Close"], n=20)

# MACD
macd <- MACD( ttrc[,"Close"] )

# RSI
rsi <- RSI(ttrc[,"Close"])

# Stochastics
stochOsc <- stoch(ttrc[,c("High","Low","Close")])

TTR works with the chartSeries() function in quantmod. Here's an example that uses chartSeries() and adds TTR-calculated indicators and overlays to the chart.

# "TTR Composite" (simulated data)
data(ttrc)

# Use quantmod's OHLCV extractor function to help create an xts object
xttrc <- xts(OHLCV(ttrc), ttrc[["Date"]])

chartSeries(xttrc, subset = "2006-09/", theme = "white")
addBBands()
addRSI()

Have a question?

Ask your question on Stack Overflow or the R-SIG-Finance mailing list (you must subscribe to post).

Contributing

Please see the contributing guide.

See Also

  • quantmod: quantitative financial modeling framework
  • xts: eXtensible Time Series based on zoo

Author

Joshua Ulrich

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].