Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Eikon Data APIs /

For a deeper look into our Eikon Data API, look into:

Overview |  Quickstart |  Documentation |  Downloads |  Tutorials |  Articles

avatar image
Question by beatriz.assis · Dec 21, 2020 at 06:52 PM · eikoneikon-data-apiworkspacepythonworkspace-data-apirefinitiv-dataplatform-eikonr-studioorder-book

How can I get the data of Order Book using Eikon Data Api in R Studio?


  • I already installed library("eikonapir")
  • I already have the key (set_app_id)
  • I want the information contained in the image below:
screenshot-1.png (74.1 KiB)

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

4 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jonathan.legrand · Dec 22, 2020 at 07:26 PM

Hi @beatriz.assis, for windows operating system please use the following code, line by line, in your R interpreter. This will import the 1st row of data that you are looking for. Simply change the '1's with '2's or other such numbers if you would like more data (e.g.: changing 'B_NPLRS_1' to 'B_NPLRS_2'). If you are using the Mac OS Eikon Standalone proxy - use port 36036 (include the L suffix). Please do not hesitate to revert to this chain if you have any relevant questions or to let us know if this is the answer you were looking for.

If you would like more such data in your list, don't hesitate to use the Data Item Browser (that you can find typing 'DIB' in your Refinitiv Workspace Search Bar) to find more fields to use in the code below.


install.packages("devtools")
library(devtools)
install_github("ahmedmohamedali/eikonapir")
library(eikonapir)
eikonapir::set_proxy_port(9000L)
eikonapir::set_app_id('Your App Key Here')
df <- get_data(list("SHOW3.SAO"), list("B_NPLRS_1", "B_QTY_1", "B_PRICE_1", "A_PRICE_1", "A_QTY_1", "A_NPLRS_1"))
colnames(df) <- c('Instrument','Bid BrokerID',"Bid Size", "Bid Price", "Ask Price", "Ask Size", "Ask Broker ID")
print(df)
Comment
beatriz.assis

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by beatriz.assis · Jan 05, 2021 at 02:39 PM

Hii @jonathan.legrand! I tried to use teh code that you sent me, but it showed the error below. Can you help me? Error:

Error in curl::curl_fetch_memory(url, handle = handle) :

Failed to connect to localhost port 9000: Connection refused

Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Answer by jonathan.legrand · Jan 05, 2021 at 02:52 PM

Hi @beatriz.assis,

Your Eikon/Refinitiv Workspace needs to be running in the background. Please ensure that it is on when using the code above.

Comment
beatriz.assis

People who like this

1 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by beatriz.assis · Feb 12, 2021 at 03:27 PM

Hii,@jonathan.legrand!

Thank you for your support, I was abble to get the information.

I'd like to know if its possible to get the offer book for futures.

list('DIJK21') for example.

Sincerely,

Beatriz Assis

Comment

People who like this

0 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
REFINITIV
Alex Putkov.1 ♦♦ · Feb 12, 2021 at 04:02 PM 0
Share

You can view market by price using the RIC 'DIJK21m' and market by order using the RIC ''DIJK21d'. Display these RICs in a Quote app in Eikon application to get an understanding of the data structure within these real-time records.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
14 People are following this question.

Related Questions

How to get the annual turnover for Fiscal year?

How to get the values for Turnover for a specific FY and CY using Eikon API?

Eikon Python API - get live Blended Order Book Data

How to get all investors for a list of stocks, historically with the python API

Missing Environmental Data for Textile & Apparel group

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges