EastmoneyActorRecorder

class zvt.recorders.eastmoney.holder.eastmoney_stock_actor_recorder.EastmoneyActorRecorder(force_update: bool = False, sleeping_time: int = 10)

Bases: zvt.contract.recorder.Recorder

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

alias of zvt.domain.actor.actor_meta.ActorMeta

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

state_schema

alias of zvt.contract.zvt_info.RecorderState

session

using to do db operations