{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "schema://formula/CASH_RATIOS_V1", "title": "CASH_RATIOS_V1", "type": "object", "properties": { "formula_id": { "const": "CASH_RATIOS_V1" }, "owner": { "type": "string" }, "status": { "type": "string" }, "inputs": { "type": "array", "items": { "type": "string" } }, "outputs": { "type": "array", "items": { "type": "string" } } }, "required": [ "formula_id", "owner", "status", "inputs", "outputs" ], "x_formula_inputs": [ "settlement_cash", "reserved_order_amount", "planned_buy_amount", "sell_cash_proceeds_d2", "total_asset" ], "x_formula_outputs": { "settlement_cash_ratio": "settlement_cash / total_asset * 100", "total_cash_ratio": "settlement_cash / total_asset * 100", "buy_power_cash": "settlement_cash - reserved_order_amount", "buy_power_ratio": "(settlement_cash - reserved_order_amount) / total_asset * 100", "post_trade_total_cash_ratio": "(settlement_cash - planned_buy_amount + sell_cash_proceeds_d2) / total_asset * 100" } }