Is there any way to publish a fraction to an ads via websocket

martin.gregory
martin.gregory Newcomer
edited May 15 in WebSocket API

Hi in RSSL / RWF we can use RSSL_RH_FRACTION_256. Is there an equivalent message structure in JSON websocket to allow us to send and get a fraction displayed to a value FID (eg BID of 99 27/32)

Thanks

Martin

Answers

  • Jirapongse
    Jirapongse ✭✭✭✭✭

    @martin.gregory

    Thank you for reaching out to us.

    I checked and found the Websocket sends a real value as numeric.

        "Fields": {
    "PROD_PERM": 6897,
    "RDNDISPLAY": 152,
    "DSPLY_NAME": "UST 2 1/4 8/46",
    "RDN_EXCHID": "RCT",
    "NETCHNG_1": -0.02734375,
    "HIGH_1": 63.3359375,
    "LOW_1": 63.16796875,
    "CURRENCY": "USD",
    "OPEN_PRC": 63.18359375,
    "HST_CLOSE": 63.32421875,
    "BID": 63.296875,
    "BID_1": 63.27734375,
    "BID_2": 63.29296875,
    "ASK": 63.38671875,
    "ASK_1": 63.36328125,
    "ASK_2": 63.37890625,
    image.png

    Real is specific to RSSL/RWF.