Functionsยง
- bar_
spec_ as_ coinbase_ channel - Converts a
BarSpecificationinto the corresponding Coinbase WebSocket channel. - coinbase_
channel_ as_ bar_ spec - Converts a Coinbase WebSocket channel into the corresponding
BarSpecification. - deserialize_
optional_ string_ to_ u64 - Custom deserializer for strings to u64.
- get_
currency - Returns the currency either from the internal currency map or creates a default crypto. Returns the currency either from the internal currency map or creates a default crypto.
- parse_
aggressor_ side - parse_
execution_ type - parse_
instrument_ id - Parses a Nautilus instrument ID from the given Coinbase
symbolvalue. - parse_
millisecond_ timestamp - Parses a timestamp in milliseconds since epoch into
UnixNanos. - parse_
notional - Parses a notional string into
Money, returningNoneif the value is zero. - parse_
position_ side - parse_
price - Parses a string into a
Price. - parse_
quantity - Parses a string into a
Quantitywith the given precision. - parse_
rfc3339_ timestamp - Parses an RFC3339 timestamp string into
UnixNanos.