question

Upvotes
Accepted
4 0 0 1

Retrieving vintage matrix works for certain mnemonics but not others?

Hi,

I'm currently having a problem retrieving a vintage matrix for certain mnemonic codes. I am able to use the get_epit_vintage_matrix() function given below for the mnemonics "USGDP...D" and "USM2....B" but not for "USIPTOT.G" or "USCNFCONQ". There seems to be a "KeyError" but I'm not sure why. I have attached screenshots below of the function and of the error message received. Can somebody please assist me with this issue? Thanks!

datastream-apidsws-api
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

1 Answer

Upvotes
Accepted
38.1k 69 35 53

I can run it properly.

You may need to add the code to check for the key before accessing it.



1586837329224.png (73.5 KiB)
1586838086169.png (33.4 KiB)
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea