Greetings,
In the General Configuration there is a setting Price Display in ticks. How can I get this setting in a plugin? It seems not to be in the InstrumentInfo.
Many thanks in advance
Price Display setting in plugins
-
- Site Admin
- Posts: 278
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: Price Display setting in plugins
It's purely a visual setting affecting how frequent the prices will be on the price scale. It can be changed at any point and does not affect the instrument, thus it's not exposed through API.
Could you provide a use case where you need it?
Could you provide a use case where you need it?
Re: Price Display setting in plugins
Hi Svyatoslav,
For my P&L plugin a client has asked if I could aggregate price levels as it is configured in the Bookmap configuration. I was not sure if it was available for the plugins, apparently it is not.
Many thanks for the information!
For my P&L plugin a client has asked if I could aggregate price levels as it is configured in the Bookmap configuration. I was not sure if it was available for the plugins, apparently it is not.
Many thanks for the information!
-
- Site Admin
- Posts: 278
- Joined: Mon Jun 11, 2018 11:44 am
- Has thanked: 2 times
- Been thanked: 31 times
Re: Price Display setting in plugins
Ah, got you... Unfortunately this information is not currently available. It's not something we can put into InstrumentInfo since it changes on the fly, so to expose it we'd need some separate interface. Not sure how important having this in API is...