FİNANSTA MAKİNELERİN YÜKSELİŞİ: KOŞUL BAZLI ALGORİTMA İLE TCMB FAİZ KARARINA BAĞLI FOREX PİYASALARINDA OTOMATİK İŞLEM AÇMA

Çalışma, finansal piyasa haberlerinin fiyat oluşumunu etkilediği durumlarda manuel olarak emir açmanın gecikmeye sebep olması ve fiyata yetişilememesinden yola çıkılarak oluşturulmuştur. TCMB tarafından XML ve JSON formatlarında yayımlanan web servis üzerinden TCMB Faiz Kararının anlık olarak takip edilmiştir. .Net, DLL ve MQL4 yazılım dilleri aracılığı oluşturulan algoritma çıktısı ile MetaTrader 4 platformuna entegre olunmuştur. Eş zamanlı olarak uzman danışman aracılığıyla platformda seçilen USDTRY paritesinde otomatik alım satım emri oluşturulmuştur. Tüm parametreler kullanıcı tarafından belirlenecek şekilde yapılandırılmıştır. Çalışma için TCMB’nin 17 Haziran 2021 tarihli Para Politikası Kurulu kararı ve açıklama metni referans alınmıştır. Çalışma 5 aşama olarak oluşturulmuştur. Birinci aşama; TCMB faiz kararının açıklanmasıyla web servisine erişimin sağlanmıştır. İkinci aşama; .Net ile algoritmik ara yüz oluşturulmuştur ve TCMB web servis erişimi sağlanmıştır. Üçüncü aşama; DLL ile .Net algoritması- MetaTrader platformu iletişimi kurulmuştur. Dördüncü aşama; MetaTrader uzman danışman üzerinden DLL ile gelen veri analiz edilerek, algoritma tetiklenmiştir. Beşinci aşama; Uzman danışmanın gerekli parametre koşullarını bağlı USDTRY paritesinde işlem açılmıştır. Koşul bazlı algoritma, TCMB faiz kararına bağlı başarılı sonuç vermiştir.

The Rise of the Machines in Finance; Automated Trading in Forex Markets Based on CBRT Interest Rate Decision with Event-Based Algorithm

The study, was created based on the fact that manually execute an order causes latency and the price cannot be reached in cases where financial markets news affects price formation. The CBRT Interest Rate Decision was followed instantly via the web service published by the CBRT in XML and JSON formats. It has been integrated into the MetaTrader 4 platform with the output of the algorithm created through .Net, DLL and MQL4 software languages. Simultaneously, automated trading order was created in the USDTRY parity selected on the platform through the expert advisor. All parameters are configured to be determined by the user. For the study, the CBRT's Monetary Policy Committee decision dated as 17 June 2021 and the press release on interest rate were taken as reference. The study was created in 5 stages. First stage; with the announcement of the CBRT's interest rate decision, access to the web service was provided. Second stage; an algorithmic interface was created with .Net and CBRT web service access was provided. Third stage; DLL and .Net algorithm – MetaTrader platform communication has been established. Fourth stage; the algorithm was triggered by analyzing the data coming from the DLL via the MetaTrader expert advisor. Fifth stage; an order has been opened in USDTRY parity, depending on the necessary parameter conditions of the expert advisor. The event-based algorithm yielded successful results depending on the CBRT's interest rate decision.

___