pikers/piker

`deribit`: L1 labels for options have too little precision, y-range oddness..

goodboy opened this issue · 2 comments

Was trying to do some more thorough testing as part of #471 and discovered that,

  • the precision for opts l1 queue sizes is off (seems to be rounded to zero decimals?):
    screenshot-2023-03-03_18-05-45

  • also, there's a strange auto-y-ranging bug where resetting the chart with .default_view() won't size nicely around the last price line (particularly when there has been no recent 1s OHLC history) and it seems to mostly trigger on panning after fixing the issue manually by zooming on the y-axis?

deribit_opts_yrange_borked_flat_line_on_1s_2023-03-03.18-09.mp4

Likely going to relate to mega-work in #489.

The move to our more simplified MktPair should help alleviate this.

@guilledk just a ping for you to realize that when/if this backend gets rebased we'll likely need to work through these issues in detail.

FYI this may have been fixed by #518 but i can't verify since need:

  • deribit api keys for a live feed
  • that backend to be updated to new FeedInit style, see #517