Module pytrading212.instrument
Expand source code
class Company:
"""Company Wrapper"""
def __init__(self, instrument_code: str, isin: str):
self.instrument_code = instrument_code
self.isin = isin
class CFDInstrument:
def __init__(self, name: str, ticker: str, sell_price: float, buy_price: float):
self.name = name
self.ticker = ticker
self.sell_price = sell_price
self.buy_price = buy_price
Classes
class CFDInstrument (name: str, ticker: str, sell_price: float, buy_price: float)
-
Expand source code
class CFDInstrument: def __init__(self, name: str, ticker: str, sell_price: float, buy_price: float): self.name = name self.ticker = ticker self.sell_price = sell_price self.buy_price = buy_price
class Company (instrument_code: str, isin: str)
-
Company Wrapper
Expand source code
class Company: """Company Wrapper""" def __init__(self, instrument_code: str, isin: str): self.instrument_code = instrument_code self.isin = isin