Add a Decimal
-backed Price
Quantity
-like class
#850
Labels
part:core
Affects the SDK core components (data structures, etc.)
priority:low
This should be addressed only if there is nothing else on the table
type:enhancement
New feature or enhancement visitble to users
Milestone
What's needed?
The electricity trading API needs to deal with prices that are represented by a
Decimal
.Proposed solution
Add a
Price
class to the quantities module, butQuantity
is backed by afloat
.Ideally we should have
Price
inherit fromQuantity
, and if that's not possible to at least have the same/similar interface.Use cases
Electricity trading client
Alternatives and workarounds
Add this class to the electricity trading API client.
Additional context
No response
The text was updated successfully, but these errors were encountered: