Norgate Data: how to use GICS
Author: Sammy_G
Creation Date: 8/13/2020 2:42 PM
profile picture

ruediger78

#1
Could you please provide a code example how to acess the Metadata Information, especially the value for GICS and Industry.

Just putting the line "var slqd = MetaData.SecondLastQuotedDate(Bars.Symbol);" in the Execute() method doesnt work.
profile picture

Eugene

#2
What exactly doesn't work?

Any error message?
profile picture

ruediger78

#3
It says : "error CS0103: The name 'MetaData' does not exist in the current context"

Do I need any extra using statements? Couldnt find anything in the norgate documentation.

Here is my code:
CODE:
Please log in to see this code.
profile picture

Eugene

#4
I believe you should add a reference to NorgateData.Integration.WealthLab.dll which contains the MetaData class.
profile picture

ruediger78

#5
Unfortunately this didnt solve the problem
profile picture

Eugene

#6
Your code is missing a using statement.
profile picture

Cone

#7
QUOTE:
I believe you should add a reference to NorgateData.Integration.WealthLab.dll which contains the MetaData class.
Shouldn't be necessary.

QUOTE:
Your code is missing a using statement.
Specifically:
CODE:
Please log in to see this code.
profile picture

ruediger78

#8
Thanks guys! It works now. Great support. Even on Sundays you are there for us. Appreciate it very much.
profile picture

Sammy_G

#9
HI,
Using WLD 6.9 64-bit (migrated from WLPro) and Windows 10 64-bit
Using Norgate Data as data provider as Fidelity no longer an option.

Norgate apparently includes a security's Classification system in the metadata (https://norgatedata.com/data-content-tables.php#textual-information-fields). I couldn't find any example on their website on how to access the GICS info; there were some other examples and using them as a base put together the following code to see if it gets anything, but it doesn't work:
CODE:
Please log in to see this code.


Note that the Norgate DLL has been added to the References.

Any suggestion on how to fix the code to get the GICS info?
profile picture

Eugene

#10
I think that contacting Norgate Data for support on their data is the safe bet.
profile picture

RoDenSwain

#11
This will give you the GICS code, industry gics, sector, industry group, industry and sub-industry




CODE:
Please log in to see this code.
profile picture

Sammy_G

#12
Awesome, RoDen!!!

One more Q: Is SP1500 the largest 'basket' of stocks that one can reference for GICS info or is there an even larger one? And if so, what might its reference string be?
profile picture

Cone

#13
Start here:
https://norgatedata.com/wealth-lab-overview.php

Drill down to here:
https://norgatedata.com/wealth-lab-usage.php

There I found: Referencing Security Information. See the Notes in that section, where it says:
CODE:
Please log in to see this code.
profile picture

Sammy_G

#14
Thanks, Cone.

I'd looked at all WLab-related pages on their website but in the rush of migrating from WLPro -> WLDev probably didn't scroll down to bottom of the Usage page where all this info is located.
profile picture

Musashi1970

#15
Hi,

when I add

CODE:
Please log in to see this code.


it says namespace 'NorgateData' could not be found...

(I have added NorgateData.Integration.WealthLab.dll to 'Other Assembiles to Reference')

Please advice

Thx
profile picture

Eugene

#16
profile picture

Musashi1970

#17
Hi Eugene,

It works now (I also had to use the FundamentalItem type - which I wanted to test - correctly. But due to the red squiggles, I was falsely focused on some library integration problem... )

Thx for the quick support even on Xmas ;-)

profile picture

Eugene

#18
Patrick, at your service.
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).