decimal_prices_thru_ems: yeah, just suck it up and do Order.price: Decimal for now.. #44
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "decimal_prices_thru_ems"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Until we find a (better) fixed point numeric type that’s
msgspeccompat I’m just flipping todecimal.Decimale2e for the.clearingsubsys.For now this resolves a variety of of order-mode-(chart)-UI to backend-exposed-market-precision issues which can edge-case occur when using plain ol’
floats..Meat of patch is in,
cf976ff1implementing the actualDecimalpassthru in the clearing engine.838ddd6ensures re-float-ifying at the UI side.84ad34f51, lingering `float` casts..84ad34f51, one more `float` cast for paperboi..Not sure whether this should get cherried onto `stop_is_eoc` or `brokers_refinery` (need to a diff between the two first) but seems like this might be the final resiliency update? 🙏94caa248e7tob61145ec5ab61145ec5ato871bb2620e871bb2620eto838ddd6e79decimal_prices_thru_ems: yeah, just suck it up and do `Order.price: Decimal` for now..to decimal_prices_thru_ems: yeah, just suck it up and do `Order.price: Decimal` for now..decimal_prices_thru_ems: yeah, just suck it up and do `Order.price: Decimal` for now..to decimal_prices_thru_ems: yeah, just suck it up and do `Order.price: Decimal` for now..