modular_trader.record ===================== .. py:module:: modular_trader.record Classes ------- .. autoapisummary:: modular_trader.record.Recorder Module Contents --------------- .. py:class:: Recorder Recorder to store and save data to disk. Attributes: record: Mapping of data to be stored. save_path: Path to save the data to. .. py:method:: __getitem__(key: Any) -> Any Get the value associated with the given key. Args: key: The key to retrieve. Returns: The value associated with the key or None if the key is not found. .. py:method:: __setitem__(key: Any, value: Any) -> None Set the value associated with the given key. Args: key: The key to set. value: The value to set. .. py:method:: save_to_disk() -> None Save the record to disk. .. py:attribute:: record :type: Mapping[Any, Any] :value: None .. py:attribute:: save_path :type: os.PathLike :value: None