Layer 1 onBbo has no alias parameter

Market data, Trading, Technical support, Features requests, etc
zcsoka
Posts: 292
Joined: Thu Dec 19, 2019 7:50 pm
Has thanked: 2 times
Been thanked: 28 times

Layer 1 onBbo has no alias parameter

Post by zcsoka » Fri Sep 01, 2023 8:48 am

Greetings,

I used to us onBbo before on simple plugins, but now I am trying to use it on Layer1. I have realised, there is no corresponding Layer1Bbo listener. Is there a way to get the best bid and offer on Layer1?

Many thanks in advance,

Kind Regards,

Zoltan 

Svyatoslav
Site Admin
Posts: 278
Joined: Mon Jun 11, 2018 11:44 am
Has thanked: 2 times
Been thanked: 31 times

Re: Layer 1 onBbo has no alias parameter

Post by Svyatoslav » Fri Sep 01, 2023 8:51 am

Hi. BBO is derived from the depth data and does not carry any additional information, this is why only the simplified wrapper has it. You can use OrderBook utility class to compute it.

Post Reply