1
0

support nordnet id
All checks were successful
Test Python / Test (push) Successful in 23s

This commit is contained in:
Jon Michael Aanes 2024-07-29 16:32:56 +02:00
parent 20448f2db2
commit 47260a7ba3
Signed by: Jmaa
SSH Key Fingerprint: SHA256:Ab0GfHGCblESJx7JRE4fj4bFy/KRpeLhi41y4pF3sNA

View File

@ -115,6 +115,7 @@ class CryptoCurrency(Currency):
class Stock(Asset): class Stock(Asset):
ticker: str ticker: str
exchange: StockExchange exchange: StockExchange
nordnet_id: int | None = None
def __post_init__(self): def __post_init__(self):
if not re.match(RE_TICKER_FORMAT_FLEXIBLE, self.ticker): if not re.match(RE_TICKER_FORMAT_FLEXIBLE, self.ticker):