LevelOneUpdate

Update the value of a level one field.

Metadata

  • Message Type: TransactionMessage
  • Message Number: 1009

Inherited fields

NameTypeSize (bytes)Description
MessageTypeInteger (unsigned)2The unique identifier of this message.
ClientIdInteger (unsigned)4The unique identifier of a session with the server, returned in a successful LoginReply message.
RequestIdInteger (unsigned)4Within each session each message must be uniquely identified by this field. It must be monotonically increasing for the duration of the session.

Fields

NameTypeSize (bytes)Description
InstrumentMarketForeign key to InstrumentMarket8
FieldOne of LevelOneType1
ValueInteger (signed)8The new value of the field. If the field has implied decimals, then the value should be supplied in the full integer precision.
LastBCSequenceInteger (unsigned)8

Permissions


LevelOneUpdate for Index Price

{
	instrumentmarket: "test-im2",
	field: LevelOneType.IndexPrice,
	value: 1000000,
}

Permission Checks

PermissionActionTableScopeIndex
AmendInstrumentMarketInstance1
ViewMarketInstance0

Test file: LevelOneUpdate