Module serve
Classes
class JSONRenderer (sub_dir: Union[pathlib.PurePath, str] = 'signals', store_portfolio: bool = False, store_broker: bool = False, store_account: bool = False)-
This renderer render the signals in JSON format. You can also store the portfolio state, the broker state and the account state in the json.
Args:
sub_dir: The sub directory where the json file will be stored.
store_portfolio: Whether to store the portfolio state in the json.
store_broker: Whether to store the broker state in the json.
store_account: Whether to store the account state in the json.Parent