KISStockPosition#
- class pyqqq.brokerage.kis.simple.KISStockPosition(asset_code: str, asset_name: str, quantity: int, sell_possible_quantity: int, average_purchase_price: Decimal, current_price: int | Decimal | None = None, current_value: int | Decimal | None = None, current_pnl: Decimal | None = None, current_pnl_value: int | Decimal | None = None)[source]#
- __init__(asset_code: str, asset_name: str, quantity: int, sell_possible_quantity: int, average_purchase_price: Decimal, current_price: int | Decimal | None = None, current_value: int | Decimal | None = None, current_pnl: Decimal | None = None, current_pnl_value: int | Decimal | None = None) None #
Methods
__init__
(asset_code, asset_name, quantity, ...)Attributes
현재 손익률
현재 손익 금액
현재 가격
현재 가치
종목 코드
종목 이름
보유 수량
sell_possible_quantity
매도 가능 수량
평균 매입 가격