MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / set_fields

Method set_fields

projects/Python/proto/protoex.py:828–836  ·  view source on GitHub ↗
(self, fbe_value)

Source from the content-addressed store, hash-verified

826
827 # Set the struct fields values
828 def set_fields(self, fbe_value):
829 self.id.set(fbe_value.id)
830 self.symbol.set(fbe_value.symbol)
831 self.side.set(fbe_value.side)
832 self.type.set(fbe_value.type)
833 self.price.set(fbe_value.price)
834 self.volume.set(fbe_value.volume)
835 self.tp.set(fbe_value.tp)
836 self.sl.set(fbe_value.sl)
837
838
839# Fast Binary Encoding Order model

Callers 3

setMethod · 0.95
set_fieldsMethod · 0.45
set_fieldsMethod · 0.45

Calls 1

setMethod · 0.45

Tested by

no test coverage detected