{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "https://github.com/Enfernuz/quik-lua-rpc/json/schema/getBuySellInfo.result.scheme.json",
    "title": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b getBuySellInfo",
    "description": "\u0421\u0445\u0435\u043c\u0430 \u043e\u0431\u044a\u0435\u043a\u0442\u0430 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430 \u0443\u0434\u0430\u043b\u0451\u043d\u043d\u043e\u0433\u043e \u0432\u044b\u0437\u043e\u0432\u0430 \u043f\u0440\u043e\u0446\u0435\u0434\u0443\u0440\u044b getBuySellInfo",
    "type": "object",
    "properties": {
        "buy_sell_info": {
            "description": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442",
            "type": "object",
            "properties": {
                "is_margin_sec": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 is_margin_sec",
                    "type": "string"
                },
                "is_asset_sec": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 is_asset_sec",
                    "type": "string"
                },
                "balance": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 balance",
                    "type": "string"
                },
                "can_buy": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 can_buy",
                    "type": "string"
                },
                "can_sell": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 can_sell",
                    "type": "string"
                },
                "position_valuation": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 position_valuation",
                    "type": "string"
                },
                "value": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 value",
                    "type": "string"
                },
                "open_value": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 open_value",
                    "type": "string"
                },
                "lim_long": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 lim_long",
                    "type": "string"
                },
                "long_coef": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 long_coef",
                    "type": "string"
                },
                "lim_short": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 lim_short",
                    "type": "string"
                },
                "short_coef": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 short_coef",
                    "type": "string"
                },
                "value_coef": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 value_coef",
                    "type": "string"
                },
                "open_value_coef": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 open_value_coef",
                    "type": "string"
                },
                "share": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 share",
                    "type": "string"
                },
                "short_wa_price": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 short_wa_price",
                    "type": "string"
                },
                "long_wa_price": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 long_wa_price",
                    "type": "string"
                },
                "profit_loss": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 profit_loss",
                    "type": "string"
                },
                "spread_hc": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 spread_hc",
                    "type": "string"
                },
                "can_buy_own": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 can_buy_own",
                    "type": "string"
                },
                "can_sell_own": {
                    "description": "\u041f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 can_sell_own",
                    "type": "string"
                }
            }
        }
    },
    "additionalProperties": false,
    "required": [
        "buy_sell_info"
    ]
}