MatriksAlgo - Sinyal ve Tetikleme 5
WorkWithPermanentSignal(bool permenantSignal)
Algoritmanın kalıcı veya geçici sinyal ile çalışıp çalışmayacağını belirleyen fonksiyondur.
| Parametre | Tip | Açıklama |
|---|---|---|
| permenantSignal | bool | Kalıcı sinyal durumu |
GetWorkWithPermanentSignal()
Algonun kalıcı sinyal durumunu döner.
SendOrderSequential(bool isSequential, bool ignoreSide)
Emir sıralama (bir al bir sat).
| Parametre | Tip | Açıklama |
|---|---|---|
| isSequential | bool | Sıralı emir aktif mi |
| ignoreSide | bool | Yön yoksay |
SendOrderSequential(bool isSequential, char side)
Emir sıralama (yön belirterek).
| Parametre | Tip | Açıklama |
|---|---|---|
| isSequential | bool | Sıralı emir aktif mi |
| side | char | Emir yönü |
SendOrderSequentialForShort(bool isSequential, char side)
Açığa satış emir sıralama.
| Parametre | Tip | Açıklama |
|---|---|---|
| isSequential | bool | Sıralı emir aktif mi |
| side | char | Emir yönü |
MatriksAlgo - Piyasa Verisi 5
GetMarketDepth(string symbol)
Derinlik verisine erişim.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
GetMarketData(string symbol, SymbolUpdateField)
Yüzeysel veriye erişim (decimal).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| field | SymbolUpdateField | Veri alanı |
GetMarketDataAsString(string symbol, SymbolUpdateField)
Yüzeysel veriye erişim (string).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| field | SymbolUpdateField | Veri alanı |
GetSelectedValueFromBarData(ISymbolBarData, OHLCType)
Son barın OHLC değerini döner.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | ISymbolBarData | Bar verisi |
| ohlcType | OHLCType | OHLC tipi (Open, High, Low, Close) |
GetSelectedValueFromBarData(ISymbolBarData, OHLCType, int previousBar)
N bar önceki OHLC değerini döner.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | ISymbolBarData | Bar verisi |
| ohlcType | OHLCType | OHLC tipi |
| previousBar | int | Kaç bar öncesi |
MatriksAlgo - Bar Data 8
GetBarData(string symbol, IPeriodInfo)
Sembol ve periyot ile bardata erişimi.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| periodInfo | IPeriodInfo | Periyot bilgisi |
GetBarData(SymbolDef)
SymbolDef ile bardata erişimi.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolDef | SymbolDef | Sembol tanımı |
GetBarData()
Default sembol için bardata.
GetBarData(string symbol, SymbolPeriod)
Sembol ve SymbolPeriod ile bardata.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| period | SymbolPeriod | Sembol periyodu |
GetBarDataForBacktest(string symbol, IPeriodInfo)
Backtest için bardata.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| periodInfo | IPeriodInfo | Periyot bilgisi |
GetBarDataDictionary()
Tüm bardata sözlüğü.
SetBarDataCache(int symbolId, IPeriodInfo, IList<BarData>, SymbolBuilderModel)
Canli strateji veri besleme.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolId | int | Sembol ID |
| periodInfo | IPeriodInfo | Periyot bilgisi |
| barDataList | IList<BarData> | Bar veri listesi |
| builderModel | SymbolBuilderModel | Builder modeli |
SetBarDataCacheMultiForLiveStrategy(int symbolId, IList<IPeriodInfo>, IList<BarData>, SymbolBuilderModel)
Çoklu bardata cache.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolId | int | Sembol ID |
| periodInfos | IList<IPeriodInfo> | Periyot bilgi listesi |
| barDataList | IList<BarData> | Bar veri listesi |
| builderModel | SymbolBuilderModel | Builder modeli |
MatriksAlgo - Sembol Yönetimi 8
AddSymbol(string symbolName, IPeriodInfo)
Grafik datasına kayıt.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolName | string | Sembol adı |
| periodInfo | IPeriodInfo | Periyot bilgisi |
AddSymbol(string symbolName, IPeriodInfo, bool isHeikinAshi)
Heikin Ashi ile kayıt.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolName | string | Sembol adı |
| periodInfo | IPeriodInfo | Periyot bilgisi |
| isHeikinAshi | bool | Heikin Ashi aktif mi |
AddSymbolMarketData(string symbol)
Yüzeysel dataya kayıt.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
AddSymbolMarketDepth(string symbol)
Derinlik dataya kayıt.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
AddSymbolTickData(string symbol)
Tick datasina abone.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
AddMemberTickData(int memberId)
Kurum tick datasina abone.
| Parametre | Tip | Açıklama |
|---|---|---|
| memberId | int | Kurum ID |
GetSymbolName(int symbolId)
Sembol id'den isme erişim.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolId | int | Sembol ID |
GetSymbolDef(string, IPeriodInfo)
SymbolDef getir.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| periodInfo | IPeriodInfo | Periyot bilgisi |
MatriksAlgo - Haber ve Detektör 5
AddNewsSymbol(string symbol)
Haber filtresi için sembol.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
AddNewsKeyword(string keyword, bool onlyInHeaders, bool isExactMatch)
Haber anahtar kelime.
| Parametre | Tip | Açıklama |
|---|---|---|
| keyword | string | Anahtar kelime |
| onlyInHeaders | bool | Sadece başlıkta ara |
| isExactMatch | bool | Tam eşleşme |
AddNewsSymbolKeyword(string symbol, List<string> keywords, bool, bool)
Sembol + anahtar kelime grubu.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| keywords | List<string> | Anahtar kelime listesi |
| onlyInHeaders | bool | Sadece başlıkta ara |
| isExactMatch | bool | Tam eşleşme |
AddNewsSymbolKeyword(List<string> keywords, bool isExactMatch)
Anahtar kelime grubu.
| Parametre | Tip | Açıklama |
|---|---|---|
| keywords | List<string> | Anahtar kelime listesi |
| isExactMatch | bool | Tam eşleşme |
AddDetectorMember(int memberId)
Aracı kurum detektör mesajları.
| Parametre | Tip | Açıklama |
|---|---|---|
| memberId | int | Kurum ID |
MatriksAlgo - Emir Gönderme (BIST/VIOP) 2
SendViopStopPLMOrder(...)
Viop PLM stop emri (şartlı).
SendViopStopLimitOrder(...)
Viop limit stop emri (şartlı).
MatriksAlgo - Açığa Satış Emirleri 8
SendMarketCloseShortOrder(string, decimal, ChartIcon, ...)
Açığa satış kapatma market emri.
SendPLMCloseShortOrder(string, decimal, ChartIcon, ...)
Açığa satış kapatma PLM emri.
SendLimitCloseShortOrder(string, decimal, decimal, ChartIcon, ...)
Açığa satış kapatma limit emir.
SendLimitShortSellOrder(string, decimal, decimal, ChartIcon, ...)
Gün içi açığa satış limit.
SendMarketShortSellOrder(string, decimal, ChartIcon, ...)
Gün içi açığa satış piyasa.
SendShortSaleMarketOrder(string, decimal, ...)
Açığa satış piyasa emri.
SendShortSalePLMOrder(string, decimal, ...)
Açığa satış PLM emri.
SendShortSaleLimitOrder(string, decimal, decimal, ...)
Açığa satış limit emri.
MatriksAlgo - Binance Emirleri 11
SendBinanceStopLimitOrder(...)
Binance stop loss limit.
SendBinanceTakeProfitLimitOrder(...)
Binance take profit limit.
SendBinanceStopMarketOrder(...)
Binance stop market.
SendBinanceTakeProfitMarketOrder(...)
Binance take profit market.
SendBinanceTpSlLimitOrder(...)
Binance TP/SL limit.
SendBinanceTpSlMarketOrder(...)
Binance TP/SL market.
SendBinancePostOnlyOrder(...)
Binance Post Only.
SendBinanceOcoOrder(...)
Binance OCO.
SendBinanceTrailingStopOrder(...)
Binance Trailing Stop.
SetLeverage(string, decimal)
Kaldıraç ayarlama.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| leverage | decimal | Kaldıraç değeri |
SetLeverageType(string, bool isIsolated)
Kaldıraç tipi.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| isIsolated | bool | İzole mod aktif mi |
MatriksAlgo - Sentetik Emirler 4
TakeProfit(string, SyntheticOrderPriceType, decimal, bool, ...)
Kar al emri.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| priceType | SyntheticOrderPriceType | Fiyat tipi |
| price | decimal | Fiyat |
| isActive | bool | Aktif mi |
StopLoss(string, SyntheticOrderPriceType, decimal, bool, ...)
Zarar durdur emri.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| priceType | SyntheticOrderPriceType | Fiyat tipi |
| price | decimal | Fiyat |
| isActive | bool | Aktif mi |
TrailingStopLoss(string, SyntheticOrderPriceType, decimal, bool, ...)
Hareketli zarar durdur.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| priceType | SyntheticOrderPriceType | Fiyat tipi |
| price | decimal | Fiyat |
| isActive | bool | Aktif mi |
SetAlgoPosition(string, decimal, decimal)
Manuel pozisyon acma.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| quantity | decimal | Miktar |
| price | decimal | Fiyat |
MatriksAlgo - Portföy ve Pozisyon 16
GetPortfolio()
Algo portföyü.
GetRealPositions()
Kurum hesabı portföyü.
GetOverall()
Overall bilgisi.
GetTotalCommission()
Toplam komisyon.
GetProfitLoss()
Kar/Zarar.
GetProfitLossOfTransaction()
İşlem kar/zarar.
GetAvgCostOfOrders(string)
Ortalama maliyet.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
SetInitialOverall(decimal)
Başlangıç overall.
| Parametre | Tip | Açıklama |
|---|---|---|
| value | decimal | Başlangıç değeri |
BistOverall Property
BIST Portföy Overall.
BistBalance Property
BIST Portföy Bakiye.
BistProfitLoss Property
BIST Kar/Zarar.
BistAvailableMargin Property
BIST Kullanılabilir Teminat.
ViopOverall Property
VIOP Overall.
ViopBalance Property
VIOP Bakiye.
ViopProfitLoss Property
VIOP Kar/Zarar.
ViopAvailableMargin Property
VIOP Kullanılabilir Teminat.
MatriksAlgo - CrossAbove / CrossBelow 18
CrossAbove(IIndicator, IIndicator, int, int)
Ind vs Ind yukarı kırılım.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator1 | IIndicator | Birinci indikatör |
| indicator2 | IIndicator | İkinci indikatör |
| lineIndex1 | int | Birinci çizgi indeksi |
| lineIndex2 | int | İkinci çizgi indeksi |
CrossBelow(IIndicator, IIndicator, int, int)
Ind vs Ind aşağı kırılım.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator1 | IIndicator | Birinci indikatör |
| indicator2 | IIndicator | İkinci indikatör |
| lineIndex1 | int | Birinci çizgi indeksi |
| lineIndex2 | int | İkinci çizgi indeksi |
CrossAbove(IIndicator, ISymbolBarData, OHLCType, int)
Ind vs BarData yukarı.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| barData | ISymbolBarData | Bar verisi |
| ohlcType | OHLCType | OHLC tipi |
| lineIndex | int | Çizgi indeksi |
CrossBelow(IIndicator, ISymbolBarData, OHLCType, int)
Ind vs BarData aşağı.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| barData | ISymbolBarData | Bar verisi |
| ohlcType | OHLCType | OHLC tipi |
| lineIndex | int | Çizgi indeksi |
CrossAbove(ISymbolBarData, IIndicator, OHLCType, int)
BarData vs Ind yukarı.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | ISymbolBarData | Bar verisi |
| indicator | IIndicator | İndikatör |
| ohlcType | OHLCType | OHLC tipi |
| lineIndex | int | Çizgi indeksi |
CrossBelow(ISymbolBarData, IIndicator, OHLCType, int)
BarData vs Ind aşağı.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | ISymbolBarData | Bar verisi |
| indicator | IIndicator | İndikatör |
| ohlcType | OHLCType | OHLC tipi |
| lineIndex | int | Çizgi indeksi |
CrossAbove(IIndicator, decimal, int)
Ind vs sayı yukarı.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| value | decimal | Karşılaştırma değeri |
| lineIndex | int | Çizgi indeksi |
CrossBelow(IIndicator, decimal, int)
Ind vs sayı aşağı.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| value | decimal | Karşılaştırma değeri |
| lineIndex | int | Çizgi indeksi |
CrossAbove(IIndicator, int, int)
Ind vs int yukarı.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| value | int | Karşılaştırma değeri |
| lineIndex | int | Çizgi indeksi |
CrossBelow(IIndicator, int, int)
Ind vs int aşağı.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| value | int | Karşılaştırma değeri |
| lineIndex | int | Çizgi indeksi |
CrossAbove(decimal, IIndicator, int)
Sayı vs Ind yukarı.
| Parametre | Tip | Açıklama |
|---|---|---|
| value | decimal | Karşılaştırma değeri |
| indicator | IIndicator | İndikatör |
| lineIndex | int | Çizgi indeksi |
CrossBelow(decimal, IIndicator, int)
Sayı vs Ind aşağı.
| Parametre | Tip | Açıklama |
|---|---|---|
| value | decimal | Karşılaştırma değeri |
| indicator | IIndicator | İndikatör |
| lineIndex | int | Çizgi indeksi |
CrossAbove(int, IIndicator, int)
Int vs Ind yukarı.
| Parametre | Tip | Açıklama |
|---|---|---|
| value | int | Karşılaştırma değeri |
| indicator | IIndicator | İndikatör |
| lineIndex | int | Çizgi indeksi |
CrossBelow(int, IIndicator, int)
Int vs Ind aşağı.
| Parametre | Tip | Açıklama |
|---|---|---|
| value | int | Karşılaştırma değeri |
| indicator | IIndicator | İndikatör |
| lineIndex | int | Çizgi indeksi |
CrossAbove(IIndicator, ITrend, int)
Ind vs Trend yukarı.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| trend | ITrend | Trend nesnesi |
| lineIndex | int | Çizgi indeksi |
CrossBelow(IIndicator, ITrend, int)
Ind vs Trend aşağı.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| trend | ITrend | Trend nesnesi |
| lineIndex | int | Çizgi indeksi |
CrossAbove(ISymbolBarData, OHLCType, ITrend)
BarData vs Trend yukarı.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | ISymbolBarData | Bar verisi |
| ohlcType | OHLCType | OHLC tipi |
| trend | ITrend | Trend nesnesi |
CrossBelow(ISymbolBarData, OHLCType, ITrend)
BarData vs Trend aşağı.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | ISymbolBarData | Bar verisi |
| ohlcType | OHLCType | OHLC tipi |
| trend | ITrend | Trend nesnesi |
MatriksAlgo - Matematik Fonksiyonlar 6
Absolute(decimal/double/float/int)
Mutlak değer.
| Parametre | Tip | Açıklama |
|---|---|---|
| value | decimal/double/float/int | Girdi değeri |
Maximum(decimal/double/float/int, decimal/double/float/int)
En büyük.
| Parametre | Tip | Açıklama |
|---|---|---|
| value1 | decimal/double/float/int | Birinci değer |
| value2 | decimal/double/float/int | İkinci değer |
Minimum(decimal/double/float/int, decimal/double/float/int)
En küçük.
| Parametre | Tip | Açıklama |
|---|---|---|
| value1 | decimal/double/float/int | Birinci değer |
| value2 | decimal/double/float/int | İkinci değer |
Power(decimal/double/float/int, double)
Üs alma.
| Parametre | Tip | Açıklama |
|---|---|---|
| baseValue | decimal/double/float/int | Taban değeri |
| exponent | double | Üs değeri |
HighestHigh(IIndicator, int period, int lineIndex)
HHV - En yüksek değer.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| period | int | Periyot |
| lineIndex | int | Çizgi indeksi |
LowestLow(IIndicator, int period, int lineIndex)
LLV - En düşük değer.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| period | int | Periyot |
| lineIndex | int | Çizgi indeksi |
MatriksAlgo - Veri Analizi 13
Ref(ISymbolBarData, OHLCType, int period)
Geçmiş bar değeri.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | ISymbolBarData | Bar verisi |
| ohlcType | OHLCType | OHLC tipi |
| period | int | Kaç bar öncesi |
Ref(IIndicator, int period, int lineIndex)
Geçmiş indikatör değeri.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| period | int | Kaç bar öncesi |
| lineIndex | int | Çizgi indeksi |
Cumulate(ISymbolBarData, OHLCType)
Bar toplamı.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | ISymbolBarData | Bar verisi |
| ohlcType | OHLCType | OHLC tipi |
Cumulate(ISymbolBarData, int)
Sayısal cumulate.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | ISymbolBarData | Bar verisi |
| period | int | Periyot |
Cumulate(IIndicator)
İndikatör toplamı.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
Cumulate(IIndicator, int)
İndikatör sayısal cumulate.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| period | int | Periyot |
Increasing(SymbolDef, int, OHLCType, bool)
Yükselen kontrol (sembol).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolDef | SymbolDef | Sembol tanımı |
| period | int | Periyot |
| ohlcType | OHLCType | OHLC tipi |
| strict | bool | Kesin yükselen |
Increasing(IIndicator, int, int, bool)
Yükselen kontrol (indikator).
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| period | int | Periyot |
| lineIndex | int | Çizgi indeksi |
| strict | bool | Kesin yükselen |
Increasing(int, OHLCType, bool)
Yükselen kontrol (ana sembol).
| Parametre | Tip | Açıklama |
|---|---|---|
| period | int | Periyot |
| ohlcType | OHLCType | OHLC tipi |
| strict | bool | Kesin yükselen |
Decreasing(SymbolDef, int, OHLCType, bool)
Düşen kontrol (sembol).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolDef | SymbolDef | Sembol tanımı |
| period | int | Periyot |
| ohlcType | OHLCType | OHLC tipi |
| strict | bool | Kesin düşen |
Decreasing(IIndicator, int, int, bool)
Düşen kontrol (indikatör).
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| period | int | Periyot |
| lineIndex | int | Çizgi indeksi |
| strict | bool | Kesin düşen |
Decreasing(int, OHLCType, bool)
Düşen kontrol (ana sembol).
| Parametre | Tip | Açıklama |
|---|---|---|
| period | int | Periyot |
| ohlcType | OHLCType | OHLC tipi |
| strict | bool | Kesin düşen |
BarSince(Expression<Func<bool>>)
Koşuldan bu yana kaç bar.
| Parametre | Tip | Açıklama |
|---|---|---|
| expression | Expression<Func<bool>> | Koşul ifadesi |
MatriksAlgo - Zaman Fonksiyonları 6
Year(BarData)
Barın yılı.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | BarData | Bar verisi |
Month(BarData)
Barın ayı.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | BarData | Bar verisi |
Hour(BarData)
Barın saati.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | BarData | Bar verisi |
Minute(BarData)
Barın dakikası.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | BarData | Bar verisi |
SetTimerInterval(int second)
Timer saniye.
| Parametre | Tip | Açıklama |
|---|---|---|
| second | int | Saniye cinsinden aralık |
SetTimerIntervalMS(int millisecond)
Timer milisaniye.
| Parametre | Tip | Açıklama |
|---|---|---|
| millisecond | int | Milisaniye cinsinden aralık |
MatriksAlgo - Trend 12
MyTrend(int barCount, int refIndex, TrendType, bool isAutoTrend)
Ana sembol trend (bar bazli).
| Parametre | Tip | Açıklama |
|---|---|---|
| barCount | int | Bar sayısı |
| refIndex | int | Referans indeksi |
| trendType | TrendType | Trend tipi |
| isAutoTrend | bool | Otomatik trend |
MyTrend(string, SymbolPeriod, int, int, TrendType, bool)
Sembol trend (bar bazli).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| period | SymbolPeriod | Periyot |
| barCount | int | Bar sayısı |
| refIndex | int | Referans indeksi |
| trendType | TrendType | Trend tipi |
| isAutoTrend | bool | Otomatik trend |
MyTrend(DateTime startTime, DateTime endTime, TrendType)
Ana sembol trend (zaman bazli).
| Parametre | Tip | Açıklama |
|---|---|---|
| startTime | DateTime | Başlangıç zamanı |
| endTime | DateTime | Bitiş zamanı |
| trendType | TrendType | Trend tipi |
MyTrend(string, SymbolPeriod, DateTime, DateTime, TrendType)
Sembol trend (zaman bazli).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| period | SymbolPeriod | Periyot |
| startTime | DateTime | Başlangıç zamanı |
| endTime | DateTime | Bitiş zamanı |
| trendType | TrendType | Trend tipi |
MyTrend(int, int, decimal startValue, decimal endValue)
Ana sembol trend (değer bazli).
| Parametre | Tip | Açıklama |
|---|---|---|
| startIndex | int | Başlangıç indeksi |
| endIndex | int | Bitiş indeksi |
| startValue | decimal | Başlangıç değeri |
| endValue | decimal | Bitiş değeri |
MyTrend(string, SymbolPeriod, int, int, decimal, decimal)
Sembol trend (değer bazli).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| period | SymbolPeriod | Periyot |
| startIndex | int | Başlangıç indeksi |
| endIndex | int | Bitiş indeksi |
| startValue | decimal | Başlangıç değeri |
| endValue | decimal | Bitiş değeri |
MyTrend(DateTime, decimal, DateTime, decimal)
Ana sembol trend (zaman+değer).
| Parametre | Tip | Açıklama |
|---|---|---|
| startTime | DateTime | Başlangıç zamanı |
| startValue | decimal | Başlangıç değeri |
| endTime | DateTime | Bitiş zamanı |
| endValue | decimal | Bitiş değeri |
MyTrend(IIndicator, int, int, TrendType, int lineIndex, bool)
İndikatör trend.
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| barCount | int | Bar sayısı |
| refIndex | int | Referans indeksi |
| trendType | TrendType | Trend tipi |
| lineIndex | int | Çizgi indeksi |
| isAutoTrend | bool | Otomatik trend |
MyTrend(IIndicator, DateTime, DateTime, TrendType, int)
İndikatör trend (zaman).
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| startTime | DateTime | Başlangıç zamanı |
| endTime | DateTime | Bitiş zamanı |
| trendType | TrendType | Trend tipi |
| lineIndex | int | Çizgi indeksi |
MyTrend(IIndicator, int, int, decimal, decimal)
İndikatör trend (değer).
| Parametre | Tip | Açıklama |
|---|---|---|
| indicator | IIndicator | İndikatör |
| startIndex | int | Başlangıç indeksi |
| endIndex | int | Bitiş indeksi |
| startValue | decimal | Başlangıç değeri |
| endValue | decimal | Bitiş değeri |
DrawTrend(ITrend)
Trend çiz.
| Parametre | Tip | Açıklama |
|---|---|---|
| trend | ITrend | Trend nesnesi |
DrawTrend(ITrend, Color)
Renkli trend çiz.
| Parametre | Tip | Açıklama |
|---|---|---|
| trend | ITrend | Trend nesnesi |
| color | Color | Çizgi rengi |
MatriksAlgo - Grafik 4
AddChart(string chartName)
Grafik ekle.
| Parametre | Tip | Açıklama |
|---|---|---|
| chartName | string | Grafik adı |
AddChart(string chartName, int chartCount)
Grafik ekle (count).
| Parametre | Tip | Açıklama |
|---|---|---|
| chartName | string | Grafik adı |
| chartCount | int | Grafik sayısı |
Plot(string chartName, decimal value)
Grafige data ekle.
| Parametre | Tip | Açıklama |
|---|---|---|
| chartName | string | Grafik adı |
| value | decimal | Değer |
Plot(string chartName, int index, decimal value)
Grafige data ekle (index).
| Parametre | Tip | Açıklama |
|---|---|---|
| chartName | string | Grafik adı |
| index | int | İndeks |
| value | decimal | Değer |
MatriksAlgo - Bildirim ve İletişim 7
PushMobile(string groupName, string title, string message, MobileNotificationActionType, string actionSymbol)
Mobil bildirim.
| Parametre | Tip | Açıklama |
|---|---|---|
| groupName | string | Grup adı |
| title | string | Başlık |
| message | string | Mesaj içeriği |
| actionType | MobileNotificationActionType | Aksiyon tipi |
| actionSymbol | string | Aksiyon sembolü |
SendTelegramBot(string message)
Telegram mesaji.
| Parametre | Tip | Açıklama |
|---|---|---|
| message | string | Mesaj içeriği |
SendMail(string, string message)
Mail gönder.
| Parametre | Tip | Açıklama |
|---|---|---|
| to | string | Alıcı adresi |
| message | string | Mesaj içeriği |
Alert(string data)
Masaüstü alarm.
| Parametre | Tip | Açıklama |
|---|---|---|
| data | string | Alarm mesajı |
Debug(string data)
Debug log (string).
| Parametre | Tip | Açıklama |
|---|---|---|
| data | string | Log verisi |
Debug(object data)
Debug log (object).
| Parametre | Tip | Açıklama |
|---|---|---|
| data | object | Log nesnesi |
WriteCustomLog(string data, string customLogFileName)
Özel log dosyası.
| Parametre | Tip | Açıklama |
|---|---|---|
| data | string | Log verisi |
| customLogFileName | string | Dosya adı |
MatriksAlgo - Diğer 12
Init(bool, DateTime, DateTime)
Başlatma.
| Parametre | Tip | Açıklama |
|---|---|---|
| isBacktest | bool | Backtest modu |
| startDate | DateTime | Başlangıç tarihi |
| endDate | DateTime | Bitiş tarihi |
GetCurrentMatriksIqVersion()
IQ versiyon bilgisi.
RestartStrategy(bool startAtBackground)
Strateji yeniden başlat.
| Parametre | Tip | Açıklama |
|---|---|---|
| startAtBackground | bool | Arka planda başlat |
GetPriceStepForBistViop(int symbolId, decimal price)
Fiyat adımı.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolId | int | Sembol ID |
| price | decimal | Fiyat |
GetPriceStepForBistViop(string symbol, decimal price)
Fiyat adımı (string).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| price | decimal | Fiyat |
RoundPriceStepBistViop(int symbolId, decimal price)
Fiyat yuvarlama.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolId | int | Sembol ID |
| price | decimal | Fiyat |
RoundPriceStepBistViop(string symbol, decimal price)
Fiyat yuvarlama (string).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| price | decimal | Fiyat |
GetAutoCodeWithName(string name)
AutoCode getir.
| Parametre | Tip | Açıklama |
|---|---|---|
| name | string | AutoCode adı |
TakasIndicator(...)
Takas indikatörü.
TakasOraniIndicator(...)
Takas oranı indikatörü.
OnTickDataReceived(AlgoTickData)
Tick data olayı.
| Parametre | Tip | Açıklama |
|---|---|---|
| tickData | AlgoTickData | Tick verisi |
Dispose()
Kaynak serbest bırakma.
MatriksAlgo - Kurum Analizi 3
GetBrokerageAgencyTransactionsForSymbol(int, string, TransactionSide, TransactionDataField, MoneyIncomePeriod, bool)
Kurum islemleri.
| Parametre | Tip | Açıklama |
|---|---|---|
| memberId | int | Kurum ID |
| symbol | string | Sembol adı |
| side | TransactionSide | İşlem yonu |
| dataField | TransactionDataField | Veri alanı |
| period | MoneyIncomePeriod | Dönem |
| isNet | bool | Net değer mi |
GetBestInstitution(string, TransactionDataField, TransactionSide, BestBuyerSellerOrder, MoneyIncomePeriod, int, bool)
En iyi kurum.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| dataField | TransactionDataField | Veri alanı |
| side | TransactionSide | İşlem yonu |
| order | BestBuyerSellerOrder | Siralama |
| period | MoneyIncomePeriod | Dönem |
| rank | int | Sira numarasi |
| isNet | bool | Net değer mi |
GetBestInstitutionsSum(string, TransactionDataField, TransactionSide, BestBuyerSellerOrder, MoneyIncomePeriod, int, bool)
Kurum toplam.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| dataField | TransactionDataField | Veri alanı |
| side | TransactionSide | İşlem yonu |
| order | BestBuyerSellerOrder | Siralama |
| period | MoneyIncomePeriod | Dönem |
| count | int | Kurum sayisi |
| isNet | bool | Net değer mi |
BasicAlgo - Yaşam Döngüsü 5
OnInit()
Ilk calistirma. Algoritma baslatildiginda cagrilan ilk fonksiyondur.
OnTimer()
Timer tetikleme. SetTimerInterval ile belirlenen araliklarla cagrilir.
OnNewsReceived(int newsId, List<string> relatedSymbols)
Haber olayi. Yeni haber geldiginde tetiklenir.
| Parametre | Tip | Açıklama |
|---|---|---|
| newsId | int | Haber ID |
| relatedSymbols | List<string> | Ilgili semboller |
OnDataUpdate(BarDataEventArgs barData)
Veri güncelleme. Yeni bar verisi geldiginde tetiklenir.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | BarDataEventArgs | Bar veri argumanlari |
OnOrderUpdate(IOrder barData)
Emir güncelleme. Emir durumu degistiginde tetiklenir.
| Parametre | Tip | Açıklama |
|---|---|---|
| barData | IOrder | Emir bilgisi |
MatriksIndicator 8
OnDataUpdate(int currentBar, decimal inputValue, DateTime barDateTime)
Veri güncelleme.
| Parametre | Tip | Açıklama |
|---|---|---|
| currentBar | int | Mevcut bar indeksi |
| inputValue | decimal | Girdi değeri |
| barDateTime | DateTime | Bar zamani |
GetCurrentValue(string symbol, IPeriodInfo, OHLCType)
Guncel değer.
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| periodInfo | IPeriodInfo | Periyot bilgisi |
| ohlcType | OHLCType | OHLC tipi |
GetCurrentValue(SymbolDef, OHLCType)
Guncel değer (SymbolDef).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbolDef | SymbolDef | Sembol tanımı |
| ohlcType | OHLCType | OHLC tipi |
GetCurrentValue(OHLCType)
Guncel değer (default).
| Parametre | Tip | Açıklama |
|---|---|---|
| ohlcType | OHLCType | OHLC tipi |
GetCurrentValue(string, SymbolPeriod, OHLCType)
Guncel değer (SymbolPeriod).
| Parametre | Tip | Açıklama |
|---|---|---|
| symbol | string | Sembol adı |
| period | SymbolPeriod | Periyot |
| ohlcType | OHLCType | OHLC tipi |
DrawHorizantal(decimal level, int stroke, Color, StrokeDashArrayEnum, string name)
Yatay çizgi.
| Parametre | Tip | Açıklama |
|---|---|---|
| level | decimal | Seviye değeri |
| stroke | int | Çizgi kalinligi |
| color | Color | Renk |
| dashArray | StrokeDashArrayEnum | Kesik çizgi tipi |
| name | string | Çizgi adi |
DrawHorizantal(decimal, int, Color, StrokeDashArrayEnum, decimal x1, decimal x2, string)
Yatay çizgi segment.
| Parametre | Tip | Açıklama |
|---|---|---|
| level | decimal | Seviye değeri |
| stroke | int | Çizgi kalinligi |
| color | Color | Renk |
| dashArray | StrokeDashArrayEnum | Kesik çizgi tipi |
| x1 | decimal | Başlangıç X |
| x2 | decimal | Bitis X |
| name | string | Çizgi adi |
UpdateHorizantal(decimal, int, Color, StrokeDashArrayEnum, string name)
Yatay çizgi güncelle.
| Parametre | Tip | Açıklama |
|---|---|---|
| level | decimal | Seviye değeri |
| stroke | int | Çizgi kalinligi |
| color | Color | Renk |
| dashArray | StrokeDashArrayEnum | Kesik çizgi tipi |
| name | string | Çizgi adi |
Model Sınıfları 7
ITrend
Trend arayuzu. CurrentValue, CurrentIndex (Properties), ValueAt(int/DateTime), ValueAtRef(int), ValueAfter(int) metodlarini icerir.
AiDataSet
AI veri seti sinifi. Constructor ve IgnoreLastBar(bool) metodunu icerir.
AlgoAiPredictionModel
AI tahmin modeli. GetPrediction(int), GetLabel(int), GetLabelForward(int), GetLookAheadBarDateTime(int), IsPredictionCorrect(int), GetPredictionAccuracy() metodlarini icerir.
BarDataCurrentValues
Bar veri guncel değerleri. LastUpdate (Property), BarDataValues (Property) icerir.
BarDataValue
Bar veri değeri. SymbolName, SymbolPeriod, PeriodInfo, SymbolDefinition, BarDataIndex, LastTickTime, IsNewBar, IsLastDataUpdate (Properties) ve DTime (Field) icerir.
SymbolPeriod
Sembol periyot enum. Min1, Min5, Min10, Min15, Min30, Min60, Min120, Min240, Daily, Weekly, Month değerlerini icerir.
PeriodFunctions
Periyot yardimci fonksiyonlari. ToPeriodInfo(SymbolPeriod) metodu ile SymbolPeriod'dan IPeriodInfo'ya dönüşüm yapar. RequiresMinMatriksIqVersionAttribute ve RestoreLastValueOnResumeAttribute attribute siniflari da bu grupta yer alir.
Built-in Stratejiler 66
ACCBandsIndicator
ACC Bands indikatörü stratejisi. Standart yasam döngüsu metodlari (OnInit, OnDataUpdate, OnTimer, OnOrderUpdate) icerir.
AI_BISTBanka_60dk
AI BIST Banka 60 dakikalik strateji.
AI_EndeksVadeli_5dk
AI Endeks Vadeli 5 dakikalik strateji.
AI_PayVadeli_5dk
AI Pay Vadeli 5 dakikalik strateji.
AlgoDetector
Algoritma detektor stratejisi.
AlgoFormation
Formasyon tabanli strateji.
ATRPrevTrail
ATR bazli trailing stop stratejisi.
BolRsiStrategy
Bollinger + RSI stratejisi.
BrokerageFirmTracking
Araci kurum takip stratejisi.
ClearedLevelsDepthTemplate
Temizlenmis seviye derinlik sablonu.
CrossMov
Hareketli ortalama kesişim stratejisi.
CustomChart
Ozel grafik stratejisi.
DailyWeightedAverage
Gunluk agirlikli ortalama stratejisi.
Depth3
3 seviye derinlik stratejisi.
DIStrategy
Directional Index stratejisi.
DWA2Instruments
DWA iki enstruman stratejisi.
EMAStrategy
Exponential Moving Average stratejisi.
EnvelopeStrategy
Envelope stratejisi.
FAMOVStrategy
FAMOV stratejisi.
FTStrategy
Fisher Transform stratejisi.
HeikenAshi_Futures
Heiken Ashi vadeli işlem stratejisi.
HullMAStrategy
Hull Moving Average stratejisi.
KAMAStrategy
Kaufman Adaptive Moving Average stratejisi.
LogisticReg
Logistic Regression stratejisi.
LRLStrategy
Linear Regression Line stratejisi.
LRSStrategy
Linear Regression Slope stratejisi.
MarketDepth3Timer
Market Depth 3 timer stratejisi.
Most3
MOST 3 stratejisi.
MostDICross
MOST + DI Cross stratejisi.
MostStrategy
MOST stratejisi.
MostStrategy_Future
MOST vadeli işlem stratejisi.
MultiLevelLimitOrders
Cok seviyeli limit emir stratejisi.
NewsStrategy
Haber tabanli strateji.
OHLCT_Buffer
OHLC tamponlu strateji.
OHLCT_OnTimer
OHLC timer bazli strateji.
ParabolicSAR_Future
Parabolic SAR vadeli işlem stratejisi.
ParabolicSAR_Strategy
Parabolic SAR stratejisi.
PermanentTemporarySignal
Kalici/gecici sinyal stratejisi.
PMAX_Strategy
PMAX stratejisi.
PmR3_Strategy
PmR3 stratejisi.
PriceAbove7Day
7 gunluk fiyat ustu stratejisi.
SerialUp
Seri yukselis stratejisi.
SevenDaysWeightedAverage
7 gunluk agirlikli ortalama stratejisi.
SimpleRSI_SMA
Basit RSI + SMA stratejisi.
SimpleTMAHullMA
TMA + Hull MA stratejisi.
SMAStrategy
Simple Moving Average stratejisi.
SMA_Futures_TPSL
SMA vadeli TP/SL stratejisi.
SteppedStrategy
Adimli strateji.
StochasticFastStrategy
Stochastic Fast stratejisi.
StochasticSlow_ADX
Stochastic Slow + ADX stratejisi.
StochSMA_Strategy
Stochastic + SMA stratejisi.
SVMPriceRSI
SVM Price + RSI stratejisi.
TillsonNoCrossViop
Tillson No Cross VIOP stratejisi.
TillsonStrategy
Tillson stratejisi.
TimedStrategy
Zamanli strateji.
TMAStrategy
Triangular Moving Average stratejisi.
TomDeMarkStandard
Tom DeMark Standard stratejisi.
TomDemarkStrategy
Tom DeMark stratejisi.
TOTTStrategy
TOTT stratejisi.
TrendStrategy
Trend stratejisi.
TSFStrategy
Time Series Forecast stratejisi.
VMAStrategy
Variable Moving Average stratejisi.
WildersStrategy
Wilders stratejisi.
WMAStrategy
Weighted Moving Average stratejisi.
Yesilyol
Yesilyol stratejisi.
ZeroLagStrategy
Zero Lag stratejisi.
Aramanizla eslesen fonksiyon bulunamadi.