calcRt basics
#https://snippets.cacher.io/snippet/9e03ce188cfd7e374557
import crsrvpx
client = crsrvpx.client('crsrvpx', uuid)
def show_eps(securities, uuid):
client = crsrvpx.client('crsrvpx', uuid)
# IS061 is Basic Earnings per Share (IS_EPS) field
# DS005 is the State code field
response = client.ykRequest(securities, ['IS061','DS005'])
for row in response:
security = row.security()
print('Security: {}'.format(security.name()))
for column in row:
print('{}: {}'.format(column.field().name(),\
column.stringValue()))