safepine_os.backtest.json_exporters

Copyright (C) 2026 Safepine LLC

This file is part of Safepine OS.

Safepine OS is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

Safepine OS is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with Safepine OS. If not, see <https://www.gnu.org/licenses/>.

Members

Functions

JSON_AllocationEvolution
JSONValue JSON_AllocationEvolution(Engine engine_IN, int index_IN)
JSON_Cash
JSONValue JSON_Cash(Engine engine_IN)
JSON_CorrelationMatrix
JSONValue JSON_CorrelationMatrix(Engine engine_IN, int index_IN, int lookback_IN)
JSON_DailyReturns
JSONValue JSON_DailyReturns(Engine engine_IN, int index_IN)
JSON_Dividend
JSONValue JSON_Dividend(Engine engine_IN)
JSON_Equity
JSONValue JSON_Equity(Engine engine_IN, int index_IN)
JSON_Percentage
JSONValue JSON_Percentage(Engine engine_IN, int index_IN)
JSON_PositionSnapshotAllocation
JSONValue JSON_PositionSnapshotAllocation(Engine engine_IN, int index_IN)