Bond pricing in 1/8 of 1/32 (1/256) for the ZT contract

The 2-year bond futures contract "ZT" is priced in 1/8 of 1/32s (1/256 or 0.00390625), unlike other bonds which are priced in 1/4 of 1/32s (1/128 or 0.0078125). The ZT contract specs are here.

However, AmiBroker's chart parameters does not allow for 1/256:
image

Additionally, IB Controller 1.3.8 can't handle 1/256, causing errors from TWS that the price increment doesn't meet the contract specifications.

Here are my questions:

  1. Is there a workaround, other than using 1/128s?
  2. Is it possible to change the chart axis price format conditionally using AFL? The reason I ask is that I need to use a fractional price format for bonds, but use decimals for everything else. I don't see an option in SetChartOptions() to do this.
  3. Can future versions of AB and IBC be modified to handle 1/256s?
1 Like
  1. A similar option (wrt SetChartOptions) in Plot() and PlotForeign() to automatically select the right vertical axis format according to TickSize.

Thanks.

This topic was automatically closed 100 days after the last reply. New replies are no longer allowed.