zrsclient 0.3.0

Rust SDK for the Zerodha Kite Connect trading API — REST endpoints plus WebSocket market-data streaming, with built-in retry and reconnect.
Documentation
{
  "status": "success",
  "data": {
    "id": 123,
    "user_id": "XX0000",
    "parent_trigger": null,
    "type": "two-leg",
    "created_at": "2019-09-09 15:13:22",
    "updated_at": "2019-09-09 15:15:08",
    "expires_at": "2020-01-01 12:00:00",
    "status": "triggered",
    "condition": {
      "exchange": "NSE",
      "tradingsymbol": "RAIN",
      "trigger_values": [102.0, 103.7],
      "last_price": 102.6,
      "instrument_token": 3926273
    },
    "orders": [
      {
        "exchange": "NSE",
        "tradingsymbol": "RAIN",
        "product": "CNC",
        "order_type": "LIMIT",
        "transaction_type": "SELL",
        "quantity": 1,
        "price": 1.0,
        "result": null
      },
      {
        "exchange": "NSE",
        "tradingsymbol": "RAIN",
        "product": "CNC",
        "order_type": "LIMIT",
        "transaction_type": "SELL",
        "quantity": 1,
        "price": 1.0,
        "result": {
          "account_id": "XX0000",
          "exchange": "NSE",
          "tradingsymbol": "RAIN",
          "validity": "DAY",
          "product": "CNC",
          "order_type": "LIMIT",
          "transaction_type": "SELL",
          "quantity": 1,
          "price": 1.0,
          "meta": "{\"app_id\":12617,\"gtt\":105099}",
          "timestamp": "2019-09-09 15:15:08",
          "triggered_at": 103.7,
          "order_result": {
            "status": "failed",
            "order_id": "",
            "rejection_reason": "Your order price is lower than the current lower circuit limit of 70.65. Place an order within the daily range."
          }
        }
      }
    ],
    "meta": null
  }
}