Reply To: “GETDATA” with custom codes

Optuma Forums Optuma Scripting “GETDATA” with custom codes Reply To: “GETDATA” with custom codes

#62373
Darren
  • Topics: 70
  • Replies: 829
  • Posts: 899

Because the GETDATA() function uses a colon to determine which exchange to use you cannot create a custom symbol containing one. For example, XLK:SPX is telling GETDATA to look for XLK in the SPX exchange, which doesn’t exist so therefore won’t return any values.

We’ll look into a possible fix for this, but in the meantime you would need to change your custom code symbols to eg XLK/SPX if you wish to reference it in a GETDATA() function.

1 user thanked author for this post.

Pin It on Pinterest