Reply To: “GETDATA” with custom codes

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

#62373
DarrenDarren
  • Topics: 63
  • Replies: 557
  • Posts: 620

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

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close