1
0

Compare commits

..

3 Commits

Author SHA1 Message Date
326702a680 🤖 Bumped version to 0.1.28
All checks were successful
Package Python / Package (push) Successful in 24s
Test Python / Test (push) Successful in 23s
This commit was automatically generated by a script: https://gitfub.space/Jmaa/python-omni
2024-07-19 01:04:25 +02:00
d7e564f3cc
Added USDT 2024-07-17 22:16:30 +02:00
a7c6f83955
Ruff 2024-07-17 21:59:20 +02:00
2 changed files with 5 additions and 4 deletions

View File

@ -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,6 +176,7 @@ 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'],
@ -203,7 +204,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'],
CryptoCurrency('USDT', 'tether'): ['Tether USDT'], USDT: ['Tether USDT'],
} }
WELL_KNOWN_SYMBOLS = ( WELL_KNOWN_SYMBOLS = (

View File

@ -1 +1 @@
__version__ = '0.1.27' __version__ = '0.1.28'