- ago
Norgate provides the following syntax:

CODE:
var a = Metadata.GetFundamentalItem(Bars.Count-1, Bars.Symbol, "<fundamental field>");


However, Metadata does not appear to have a GetFundamentalItem method.

The syntax above appears to be for WL6, but I cannot find WL8 equivalent.

At the top, I put:

CODE:
using NorgateData.Integration.WealthLab;


Is there something else I have missed?
0
620
Solved
6 Replies

Reply

Bookmark

Sort
- ago
#2
It appears that Norgate's documentation is a bit outdated in this field if you're looking at this: https://norgatedata.com/wealth-lab-usage.php
0
- ago
#4
Hi Curtis,

This functionality is exposed via WealthLab's EventProvider interface - apologies for this confusion - we'll revise our documentation.

I'll let you know when this is done.
0
- ago
#5
GetFundamentalItem is working in Build 8 of the Norgate Data extension, as described here:
https://norgatedata.com/wealth-lab-usage.php
0
Best Answer
- ago
#6
Thank you. As you noted, I had to update the extension from build 7 to 8 before it worked. In the meantime, I had been able to get to the data another way:
CODE:
List<EventDataPoint> fiList = equity.GetEventDataPoints("mktcap"); double fiValue = fiList[fiList.Count - 1].Value;

However, your documented solution seems clearer:
CODE:
var fiValue = Metadata.GetFundamentalItem(equity.Symbol, "mktcap");

Thanks again.
1

Reply

Bookmark

Sort