Current section

Files

Jump to
futu lib futu protobuf Qot_UpdateBroker.pb.ex
Raw

lib/futu/protobuf/Qot_UpdateBroker.pb.ex

defmodule Qot_UpdateBroker.S2C do
@moduledoc false
use Protobuf, syntax: :proto2
@type t :: %__MODULE__{
security: Qot_Common.Security.t() | nil,
brokerAskList: [Qot_Common.Broker.t()],
brokerBidList: [Qot_Common.Broker.t()]
}
defstruct [:security, :brokerAskList, :brokerBidList]
field :security, 1, required: true, type: Qot_Common.Security
field :brokerAskList, 2, repeated: true, type: Qot_Common.Broker
field :brokerBidList, 3, repeated: true, type: Qot_Common.Broker
end
defmodule Qot_UpdateBroker.Response do
@moduledoc false
use Protobuf, syntax: :proto2
@type t :: %__MODULE__{
retType: integer,
retMsg: String.t(),
errCode: integer,
s2c: Qot_UpdateBroker.S2C.t() | nil
}
defstruct [:retType, :retMsg, :errCode, :s2c]
field :retType, 1, required: true, type: :int32, default: -400
field :retMsg, 2, optional: true, type: :string
field :errCode, 3, optional: true, type: :int32
field :s2c, 4, optional: true, type: Qot_UpdateBroker.S2C
end