Reply To: Custom Codes with Datafields

Optuma Forums Optuma Scripting Custom Codes with Datafields Reply To: Custom Codes with Datafields

#53077
Darren
  • Topics: 67
  • Replies: 697
  • Posts: 764

Hi Duke,

Sure can! Once the Trail_12M_EPS field has been added as an External Datafield you can use the following as a custom code by nesting the GetData variable in the Datafield function:

Note that the EPS data seems to move the most at the end of the month, hence the shape of the ratio chart, but with RLV TTM currently at 59.65 and RLG at 50.6 the current ratio of 1.18 is correct:

Capture

Pin It on Pinterest