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 /
avatar image
Question by KidDynamite · Sep 14, 2017 at 10:21 PM · pythonlibrarypackages

How do I use the Adfin Library in Python

Is there a Adfin package for Python?

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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by Alex Putkov. · Sep 15, 2017 at 10:18 AM

sampleadcalibrateeikondesktopdataapipy.zipI presume you're asking about Adfin Analytics calculation library, right? There's no native Adfin Analytics package for Python, however you can use Adfin Analytics COM library in Python through win32com Python extension.
1. Install win32com Python extension, which you can download from https://sourceforge.net/projects/pywin32/files/pywin32/

2. Generate py files for each COM library you need to use by executing the following commands in Windows Command Prompt:

  • cd C:\Python33\Lib\site-packages\win32com\client
  • py makepy.py "C:\Program Files (x86)\Thomson Reuters\Eikon\EikonDesktopDataAPI.dll"
  • py makepy.py "C:\Program Files (x86)\Thomson Reuters\Eikon\X\Bin\adxfo.dll"

3. Use attached sample script, which demonstrates a basic example of calling AdCalibrate method implemented in Adfin Analytics Functions COM library.

Note that all Eikon COM APIs are 32-bit, hence you can only use them in 32-bit Python.


sampleadcalibrateeikondesktopdataapipy.zip (1.5 KiB)
Comment
alex.yermolayev

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.

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 >
9 People are following this question.

Related Questions

From full bond description to a bond ISIN with Python

Missing information on insider transactions

How to retrieve the RICs of Index Constituents for NASDAQ and NYSE using the Eikon Python API?

Getting CA.C fields via Eikon Data API

ENERGY > GAS > LNG > FLOWS data to Python

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges