Functions§
- bar_
spec_ to_ tardis_ trade_ bar_ string - Converts a Posei
BarSpecification
to the Tardis trade bar string convention. - deserialize_
trade_ id - Deserialize a trade ID or generate a new UUID if empty.
- deserialize_
uppercase - Deserialize a string and convert to uppercase
Ustr
. - normalize_
amount - Normalizes the given amount by truncating it to the specified decimal precision.
- normalize_
instrument_ id - Parses a Posei instrument ID with a normalized symbol from the given Tardis
exchange
andsymbol
values. - normalize_
symbol_ str - parse_
aggressor_ side - Parses a Posei aggressor side from the given Tardis string
value
. - parse_
bar_ spec - Parses a Posei bar specification from the given Tardis string
value
. - parse_
book_ action - Parses a Posei book action inferred from the given Tardis values.
- parse_
instrument_ id - Parses a Posei instrument ID from the given Tardis
exchange
andsymbol
values. - parse_
option_ kind - Parses a Posei option kind from the given Tardis enum
value
. - parse_
order_ side - Parses a Posei order side from the given Tardis string
value
. - parse_
price - Parses a Posei price from the given
value
. - parse_
timestamp - Parses a UNIX nanoseconds timestamp from the given Tardis microseconds
value_us
.