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 nicola.pestalozzi · Mar 26, 2018 at 06:04 AM · eikoneikon-data-apipythonworkspaceworkspace-data-apirefinitiv-dataplatform-eikoneikon-com-apivba

Working of AVAIL() function

Hello,

is there any reference on how the function AVAIL exactly works and how many parameters it accepts?

Does the function behave the same way when the returned value is NULL, "NaN" or "Unable to collect data" ?

In the specific, I'm trying to recover information which is stored in different fields according to the asset class. For example, TR.PriceClose for ordinary shares but TR.FundNAV for funds.

Is there a IF/CASE function like this?

IF(Assetclass = Fund; TR.FundNAV; TR.PriceClose)

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.1 · Mar 26, 2018 at 05:38 PM

@nicola.pestalozzi
If you follow Formula Builder wizard in Eikon Excel, at the bottom of Parameters & Quick Functions tab you can find the link to the Expression Editor (see the screenshot).

By following this link and expanding More Options you can find the descriptions of the functions you can use in an expression. The description of Available function reads "Available is used to find the first data item in your request that is a valid value. The system will run the first data item and if its null it will move on to the next data item until a value is returned or it reaches the last item and a null or value is returned. This is done per data point if running a time series request".
Based on this description you can indeed use Available function for the purpose you described, e.g.
=TR("LP60003513;TRI.N","AVAIL(TR.PriceClose,TR.FundNAV)","CH=Fd RH:In")


expressioneditorlink.png (79.8 KiB)
Comment
jess.xu
zoya faberov
nicola.pestalozzi
zakirov.azat0

People who like this

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

Related Questions

Quarterly cash flow - need non-cumulative data

VBA - RHistory events cancelled by MsgBox

Exchange Specific RIC

Difference between TRDPRC_1.close and .close

How do I get data for holidays and weekends in Excel VBA via RHistoryAPI

  • 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
  • FX Venues
    • FX Trading – RFQ Maker
  • 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
  • Yield Book Analytics
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges