I would like to know how I could apply color definitions to my StreamingPrices function. for example if the field MKT_HIGH gets updated I want the update to display in green and if MKT_LOW gets updated I want the display to be shown in red. I have seen some information around ASPI color codes but I can't seem to get into the StreamingPrices far enough to adjust it myself.
streaming_prices = rdp.StreamingPrices(
universe = dowjones_constituents,
fields = ['MKT_HIGH','MKT_LOW'],
on_refresh = lambda streaming_price, instrument_name, fields:
display_refreshed_fields(streaming_price, instrument_name, fields),
on_update = lambda streaming_price, instrument_name, fields,:
display_updated_fields(streaming_price, instrument_name, fields),
on_status = lambda streaming_price, instrument_name, status :
display_status(streaming_price, instrument_name, status),
on_complete = lambda streaming_price :
display_complete_snapshot(streaming_price)
)