What is the fastest API for retrieving data and performing trade operations based on it ?
Hello,
Just curious: if I understand correctly, the .NET API wasn't initially designed for use through the console but rather through winform right? However, I notice that all the available downloads in the TR dev community go through the console and I'm having troubles with winform.
What would be the most tailored API to use for FAST data retrieval (the most important aspect in my case) together with the possibility to perform mathematical operations on that retrieved data ?
Would you advise Elektron for retail traders ??
Thanks for your time,
Best Answer
-
Pretty much all production applications consuming real-time data subscribe to more than one RIC. It's perfectly normal to have multiple real-time data subscriptions in any kind of application. I don't see any risks with using Eikon .NET API to subscribe to multiple RICs, whether the application is a console, a Winforms or a WPF. Just make sure all the data retrieval is done on a single thread.
I don't have a Winforms example handy, but attached is a simple and crude WPF example. I hope you'll find it useful. Restore the NuGet packages before compiling the example.
ricviewer.zip1
Answers
-
Eikon .NET API was designed for use in any Windows application. It has a dependency on COM libraries installed with Eikon, which is not by design but by historical necessity. Because of this dependency it requires that Windows message pump is running on the thread that creates the API assemblies. This is also the reason why we don't recommend using these assemblies across multiple threads. In a Winforms or a WPF application Windows message pump is automatically started on the GUI thread. The reason why all the examples here on the Developer portal are console applications is to demonstrate that the API can be used in a console and to show the techniques that can be used to start the Windows message pump.
The alternative to Eikon is Elektron APIs, which are not going to be noticeably faster for the purpose of retrieving market data. The speed of data retrieval is mainly determined by the comms and middleware infrastructure, not by the client API. In your case the main thing Elektron APIs would buy you is the flexibility in terms of data retrieval across multiple threads, the variety of supported development environments (e.g. Java) and in terms of data usage rights. I cannot be sure, but from past exchanges I don't feel like any of these things are important for you. And if I'm correct on this, then I think Eikon is the best product for you because it's the most economical and provides all you need.1 -
Great thanks for this great answer, it's clearer now!
1. In .NET Realtime data API, if using multiple subscriptions while implementing code in console, what are the risks ?
2. Would it be possible to have access to a data retrieval example using multiple subscriptions in winforms ?
Thanks a lot,
0
Categories
- All Categories
- 6 AHS
- 39 Alpha
- 161 App Studio
- 4 Block Chain
- 4 Bot Platform
- 16 Connected Risk APIs
- 47 Data Fusion
- 30 Data Model Discovery
- 608 Datastream
- 1.3K DSS
- 577 Eikon COM
- 4.9K Eikon Data APIs
- 7 Electronic Trading
- Generic FIX
- 7 Local Bank Node API
- Trading API
- 2.7K Elektron
- 1.3K EMA
- 236 ETA
- 519 WebSocket API
- 33 FX Venues
- 10 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 20 Messenger Bot
- 2 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 59 Open Calais
- 264 Open PermID
- 39 Entity Search
- 2 Org ID
- PAM
- PAM - Logging
- 8.4K Private Comments
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 20 RDMS
- 1.4K Refinitiv Data Platform
- 367 Refinitiv Data Platform Libraries
- 3 Refinitiv Due Diligence
- LSEG Due Diligence Portal API
- 3 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.1K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 10 World-Check Customer Risk Screener
- 990 World-Check One
- 44 World-Check One Zero Footprint
- 45 Side by Side Integration API
- Test Space
- 3 Thomson One Smart
- 1.2K TR Internal
- Global Hackathon 2015
- 2 Specialists Who Code
- 10 TR Knowledge Graph
- 150 Transactions
- 142 REDI API
- 1.7K TREP APIs
- 4 CAT
- 21 DACS Station
- 117 Open DACS
- 1.1K RFA
- 103 UPA
- 172 TREP Infrastructure
- 224 TRKD
- 886 TRTH
- 5 Velocity Analytics
- 5 Wealth Management Web Services
- 60 Workspace SDK
- 9 Element Framework
- 5 Grid
- 13 World-Check Data File
- Yield Book Analytics
- 46 中文论坛