types#
tradingstrategy.types module.
Module description#
Generic units used in data models used in Capitalgram.
Types aliases are used to give human-readable meaning for various arguments and return values. These are also used to hint Pyarrow schemas to make Parquet files more compact.
TODO: Clean up after Explicit Type Aliases have been merged and is widely supported https://www.python.org/dev/peps/pep-0613/
Classes#
Multiplier as 1/10000 or 0.01% |
|
EVM block number from 1 to infinity |
|
Ethereum address that does not use EIP-55 checksumming. |
|
64-bit integer based primary key. |
|
Market class for our internal type definitions. |
|
Seconds since 1.1.1970 as UTC time as integer. |
|
Express USD monetary amount. |