Skip to content

v0.6.4 - Scanner Local Calculation

Choose a tag to compare

@saidsurucu saidsurucu released this 25 Jan 16:22
· 34 commits to master since this release

Scanner Local Calculation Support

Supertrend ve Tilson T3 göstergeleri artık scan() fonksiyonunda kullanılabilir. TradingView Scanner API'de bulunmadığı için lokal olarak hesaplanır.

Yeni Özellikler

Supertrend Tarama:

import borsapy as bp

# Yükseliş trendindeki hisseler
bp.scan("XU030", "supertrend_direction == 1")

# Düşüş trendindeki hisseler
bp.scan("XU030", "supertrend_direction == -1")

# Fiyat supertrend üstünde
bp.scan("XU030", "close > supertrend")

Tilson T3 Tarama:

# Fiyat T3 üstünde
bp.scan("XU030", "close > t3")

# Fiyat T3 altında
bp.scan("XU030", "close < t3")

Kombinasyon:

# RSI oversold + Supertrend bullish
bp.scan("XU030", "rsi < 30 and supertrend_direction == 1")

Desteklenen Lokal Alanlar

Alan Açıklama
supertrend Supertrend değeri
supertrend_direction 1 = yükseliş, -1 = düşüş
supertrend_upper Üst band
supertrend_lower Alt band
t3 / tilson_t3 Tilson T3 değeri

Kurulum

pip install --upgrade borsapy