MarketPrice

Python pydantic class corresponding to json type `market.price`.

class gwmm.types.MarketPrice(*, ValueTimes1000, Unit, TypeName='market.price', Version='000')
Parameters:
  • ValueTimes1000 (int) –

  • Unit (MarketPriceUnit) –

  • TypeName (Literal['market.price']) –

  • Version (str) –

ValueTimes1000:
  • Description:

Unit:
  • Description:

class gwmm.types.MarketPrice_Maker(value_times1000, unit)
Parameters:
classmethod tuple_to_type(tuple)

Given a Python class object, returns the serialized JSON type object

Parameters:

tuple (MarketPrice) –

Return type:

str

classmethod type_to_tuple(t)

Given a serialized JSON type object, returns the Python class object

Parameters:

t (str) –

Return type:

MarketPrice