Compare commits
3 Commits
30df480c9d
...
326702a680
Author | SHA1 | Date | |
---|---|---|---|
326702a680 | |||
d7e564f3cc | |||
a7c6f83955 |
|
@ -3,15 +3,15 @@
|
|||
Python library defining base types for financial processing.
|
||||
"""
|
||||
|
||||
import abc
|
||||
import dataclasses
|
||||
import datetime
|
||||
import re
|
||||
from collections.abc import Iterator
|
||||
from decimal import Decimal
|
||||
|
||||
import enforce_typing
|
||||
|
||||
from ._version import __version__ # noqa: F401
|
||||
|
||||
## Ids
|
||||
|
||||
RE_TICKER_FORMAT = r'^[A-Z0-9_]+$'
|
||||
|
@ -176,6 +176,7 @@ BTC = CryptoCurrency('BTC', coingecko_id='bitcoin')
|
|||
MPC = CryptoCurrency('MPC', coingecko_id='partisia-blockchain')
|
||||
SPX = Index('SPX')
|
||||
NDX = Index('NDX')
|
||||
USDT = CryptoCurrency('USDT', 'tether')
|
||||
|
||||
COMMON_NAMES: dict[Asset, list[str]] = {
|
||||
FiatCurrency('USD'): ['U.S. Dollar'],
|
||||
|
@ -203,7 +204,7 @@ COMMON_NAMES: dict[Asset, list[str]] = {
|
|||
# Stable-coins
|
||||
CryptoCurrency('DAI', 'dai'): ['DAI'],
|
||||
CryptoCurrency('USDC', 'usdc'): ['USD Coin'],
|
||||
CryptoCurrency('USDT', 'tether'): ['Tether USDT'],
|
||||
USDT: ['Tether USDT'],
|
||||
}
|
||||
|
||||
WELL_KNOWN_SYMBOLS = (
|
||||
|
|
|
@ -1 +1 @@
|
|||
__version__ = '0.1.27'
|
||||
__version__ = '0.1.28'
|
||||
|
|
Loading…
Reference in New Issue
Block a user