v0.6.3 - Supertrend & Tilson T3 Indicators
New Features
Supertrend Indicator
ATR-based trend following indicator with bullish/bearish direction signals.
import borsapy as bp
stock = bp.Ticker("THYAO")
st = stock.supertrend()
print(st['value']) # 282.21
print(st['direction']) # 1 (bullish) or -1 (bearish)Tilson T3 Indicator
Triple-smoothed EMA with low lag and configurable smoothing factor.
t3 = stock.tilson_t3() # 296.24
t3 = stock.tilson_t3(t3_period=8, vfactor=0.7)Technical Changes
calculate_supertrend()andcalculate_tilson_t3()pure functionsTechnicalMixin.supertrend()and.tilson_t3()methods for all assetsTechnicalAnalyzersupport for both indicators- Added to
add_indicators()function - WebSocket URL fix with
?type=chartparameter - Study format updated to
{name}@tv-basicstudies-241