EastmoneyStockRecorder

class zvt.recorders.eastmoney.meta.eastmoney_stock_meta_recorder.EastmoneyStockRecorder(force_update: bool = False, sleeping_time: int = 10)

Bases: ExchangeStockMetaRecorder

__init__(force_update: bool = False, sleeping_time: int = 10) None
data_schema

alias of Stock

provider: str = 'eastmoney'

overwrite them to set up the data you want to record

clear_state_data(entity_id=None)

clear state of the entity

Parameters:

entity_id – entity id

decode_state(state: str)

decode state

Parameters:

state

Returns:

encode_state(state: object)

encode state

Parameters:

state

Returns:

name = None

name of the service, default name of class if not set manually

original_page_url = 'http://www.sse.com.cn/assortment/stock/list/share/'

original page url

state_schema

alias of RecorderState

url = None

request url

session

using to do db operations