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 qidifei · Jun 06, 2018 at 04:20 AM · python fund

How to get USA Fund NetValue data using PYTHON interface

I want to get USA Fund NetValue using python, can anybody tell me how to do this? Thank you

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 Zhenya Kovalyov · Jun 06, 2018 at 04:32 AM

I suggest you speak to your local Thomson Reuters Support Desk and build out an excel model with their help first - this will get you familiarised with the data model. Alternatively, you can pick a sample instrument and open it in the Data Item Browser app (DIB) on Eikon to find the proper field.

Here is a quick sample for an US ETF:

  df, e = tr.get_data(['QQQ.OQ'], ['TR.FundNAV'])


screen-shot-2018-06-06-at-093151.png (19.7 KiB)
Comment

People who like this

0 Show 7 · 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
qidifei · Jun 06, 2018 at 04:36 AM 0
Share

Many thanks. I used PyCharm to develop my python programme. Which library should I include first? For example, when we use pandas ,we often used like the following:

# -*- coding: utf-8 -*-from datetime import *
from pandas import DataFrame,Series
import pandas as pd
import os
import logging
import math
avatar image
REFINITIV
Zhenya Kovalyov ♦♦ qidifei · Jun 06, 2018 at 06:27 AM 0
Share

You should install the eikon package with pip and import it. Have a look at this tutorial to set up the dev environment.

avatar image
qidifei Zhenya Kovalyov ♦♦ · Jun 06, 2018 at 10:35 PM 0
Share

Thank you for your help. I have installed eEikon using PIP ^_^

avatar image
qidifei · Jun 06, 2018 at 04:37 AM 0
Share

Also another question, I see your code,I should input the Fund Code to get its netvalue. then,how can I get the full fundcode of USA fund market?

avatar image
REFINITIV
Alex Putkov. ♦♦ qidifei · Jun 06, 2018 at 08:23 AM 1
Share

@qidifei
I suggest you also see the following tutorial, which talks at length about metadata discovery (how you can find symbols, fields and parameters to use in your data requests) and about modeling data retrieval in Excel and translating it into Python code.
https://developers.thomsonreuters.com/eikon-apis/eikon-data-apis/learning?content=14707&type=learning_material_item

avatar image
qidifei Alex Putkov. ♦♦ · Jun 06, 2018 at 10:36 PM 0
Share

Many thanks! Your share is very useful

avatar image
REFINITIV
Zhenya Kovalyov ♦♦ qidifei · Jun 06, 2018 at 06:28 AM 0
Share

As I proposed originally, I suggest you discuss this with your local support desk and build out your workflow with excel.

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

Related Questions

Fund Distribution Retrieve Dividends via Python API

Can I get decent hedge fund data via Eikon?

  • 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