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