question

Upvotes
Accepted
4 2 5 7

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 512.0 KiB each and 1.0 MiB total.

1 Answer

· Write an Answer
Upvotes
Accepted
78.8k 250 52 74

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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