MarketMakerInfo

Python pydantic class corresponding to json type `market.maker.info`.

class gwmm.types.MarketMakerInfo(*, GNodeAlias, MarketTypeList, SampleMarketName, SampleMarketSlotName, TypeName='market.maker.info', Version='000')
Parameters:
  • GNodeAlias (str) –

  • MarketTypeList (List[MarketTypeGt]) –

  • SampleMarketName (str) –

  • SampleMarketSlotName (str) –

  • TypeName (Literal['market.maker.info']) –

  • Version (str) –

GNodeAlias:
  • Description:

  • Format: LeftRightDot

MarketTypeList:
  • Description:

SampleMarketName:
  • Description:

SampleMarketSlotName:
  • Description:

  • Format: MarketSlotNameLrdFormat

class gwmm.types.MarketMakerInfo_Maker(g_node_alias, market_type_list, sample_market_name, sample_market_slot_name)
Parameters:
  • g_node_alias (str) –

  • market_type_list (List[MarketTypeGt]) –

  • sample_market_name (str) –

  • sample_market_slot_name (str) –

classmethod tuple_to_type(tuple)

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

Parameters:

tuple (MarketMakerInfo) –

Return type:

str

classmethod type_to_tuple(t)

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

Parameters:

t (str) –

Return type:

MarketMakerInfo