barter 0.12.5

Framework for building high-performance live-trading, paper-trading and back-testing systems
Documentation
{
  "risk_free_return": 0.05,
  "instruments": [
    {
      "exchange": "binance_spot",
      "name_exchange": "BTCUSDT",
      "underlying": {
        "base": "btc",
        "quote": "usdt"
      },
      "quote": "underlying_quote",
      "kind": "spot"
    },
    {
      "exchange": "binance_spot",
      "name_exchange": "ETHUSDT",
      "underlying": {
        "base": "eth",
        "quote": "usdt"
      },
      "quote": "underlying_quote",
      "kind": "spot"
    },
    {
      "exchange": "binance_spot",
      "name_exchange": "SOLUSDT",
      "underlying": {
        "base": "sol",
        "quote": "usdt"
      },
      "quote": "underlying_quote",
      "kind": "spot"
    }
  ],
  "executions": [
    {
      "mocked_exchange": "binance_spot",
      "latency_ms": 100,
      "fees_percent": 0.05,
      "initial_state": {
        "exchange": "binance_spot",
        "balances": [
          {
            "asset": "usdt",
            "balance": {
              "total": 10000,
              "free": 10000
            },
            "time_exchange": "2025-03-24T21:30:00Z"
          },
          {
            "asset": "btc",
            "balance": {
              "total": 0.1,
              "free": 0.1
            },
            "time_exchange": "2025-03-24T21:30:00Z"
          },
          {
            "asset": "eth",
            "balance": {
              "total": 1.0,
              "free": 1.0
            },
            "time_exchange": "2025-03-24T21:30:00Z"
          },
          {
            "asset": "sol",
            "balance": {
              "total": 10.0,
              "free": 10.0
            },
            "time_exchange": "2025-03-24T21:30:00Z"
          }
        ],
        "instruments": [
          {
            "instrument": "BTCUSDT",
            "orders": []
          },
          {
            "instrument": "ETHUSDT",
            "orders": []
          },
          {
            "instrument": "SOLUSDT",
            "orders": []
          }
        ]
      }
    }
  ]
}