
from .factor_types import ScaleFactor
from .basic_factors import StockPostPriceFactor, CirculationShareFactor


class MarketValueFloatedFactor(ScaleFactor):
    # A股流通市值
    def __init__(self):
        super().__init__('mv_flo')

    def calc(self):
        self._factor = StockPostPriceFactor().get() * CirculationShareFactor().get()
