Login Page - Create Account

Support Board


Date/Time: Mon, 23 Dec 2024 01:16:52 +0000



Post From: ACSIL - Price display format for Bonds

[2015-08-29 00:24:09]
ejtrader - Posts: 688
SC Team - Would like to display price value on chart using s_UseTool.

in case of general instrument - we can use sc.BaseGraphValueFormat format.

Basic issue - this doesn't seem to work well for Bonds - This is returning 132 for number of decimals for Bonds. Is this by design?

Ended up making own function to return the correct number of decimals when sc.TickSize is passed.

On a side note - What is the equivalent for Bonds - for example - ZF - 119 31.75/32 or 119'31.75

Thanks
Date Time Of Last Edit: 2015-08-29 04:58:41