{
  "issues": [
    {
      "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/17",
      "id": 3475797813,
      "node_id": "I_kwDOPuqWPs7PLHc1",
      "number": 17,
      "title": "新特性请求",
      "user": {
        "login": "loxuln",
        "id": 20151032,
        "node_id": "MDQ6VXNlcjIwMTUxMDMy",
        "avatar_url": "https://avatars.githubusercontent.com/u/20151032?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/loxuln",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "labels": {},
      "state": "open",
      "locked": false,
      "assignee": null,
      "assignees": {},
      "milestone": null,
      "comments": 0,
      "created_at": "2025-10-02T02:57:22Z",
      "updated_at": "2025-10-02T02:57:22Z",
      "closed_at": null,
      "author_association": "NONE",
      "active_lock_reason": null,
      "sub_issues_summary": {
        "total": 0,
        "completed": 0,
        "percent_completed": 0
      },
      "issue_dependencies_summary": {
        "blocked_by": 0,
        "total_blocked_by": 0,
        "blocking": 0,
        "total_blocking": 0
      },
      "body": "大佬 可以添加对sock5的支持么",
      "closed_by": null,
      "reactions": {
        "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/17/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "performed_via_github_app": null,
      "state_reason": null,
      "linked_prs": []
    },
    {
      "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/16",
      "id": 3467406643,
      "node_id": "I_kwDOPuqWPs7OrG0z",
      "number": 16,
      "title": "cool_down_time",
      "user": {
        "login": "ox-blueblue",
        "id": 25949557,
        "node_id": "MDQ6VXNlcjI1OTQ5NTU3",
        "avatar_url": "https://avatars.githubusercontent.com/u/25949557?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/ox-blueblue",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "labels": {},
      "state": "open",
      "locked": false,
      "assignee": null,
      "assignees": {},
      "milestone": null,
      "comments": 0,
      "created_at": "2025-09-30T03:46:21Z",
      "updated_at": "2025-09-30T03:53:19Z",
      "closed_at": null,
      "author_association": "NONE",
      "active_lock_reason": null,
      "sub_issues_summary": {
        "total": 0,
        "completed": 0,
        "percent_completed": 0
      },
      "issue_dependencies_summary": {
        "blocked_by": 0,
        "total_blocked_by": 0,
        "blocking": 0,
        "total_blocking": 0
      },
      "body": "_calculate_wait_time 总是返回0 或1，是否应该改为如下的方式：\nif time.time() - self.last_open_order_time > cool_down_time:\n    return 0\nelse:\n    return cool_down_time - (time.time() - self.last_open_order_time)",
      "closed_by": null,
      "reactions": {
        "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/16/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "performed_via_github_app": null,
      "state_reason": null,
      "linked_prs": []
    },
    {
      "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/15",
      "id": 3467316295,
      "node_id": "I_kwDOPuqWPs7OqwxH",
      "number": 15,
      "title": "Lighter API",
      "user": {
        "login": "lcy101u",
        "id": 12782646,
        "node_id": "MDQ6VXNlcjEyNzgyNjQ2",
        "avatar_url": "https://avatars.githubusercontent.com/u/12782646?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/lcy101u",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "labels": {},
      "state": "open",
      "locked": false,
      "assignee": null,
      "assignees": {},
      "milestone": null,
      "comments": 0,
      "created_at": "2025-09-30T02:50:27Z",
      "updated_at": "2025-09-30T02:50:27Z",
      "closed_at": null,
      "author_association": "NONE",
      "active_lock_reason": null,
      "sub_issues_summary": {
        "total": 0,
        "completed": 0,
        "percent_completed": 0
      },
      "issue_dependencies_summary": {
        "blocked_by": 0,
        "total_blocked_by": 0,
        "blocking": 0,
        "total_blocking": 0
      },
      "body": "where can I find Lighter API ? \n\nAnd cannot find anything using https://mainnet.zklighter.elliot.ai/api/v1/account?by=l1_address&value={{account_address}}",
      "closed_by": null,
      "reactions": {
        "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/15/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "performed_via_github_app": null,
      "state_reason": null,
      "linked_prs": []
    },
    {
      "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/14",
      "id": 3453374884,
      "node_id": "I_kwDOPuqWPs7N1lGk",
      "number": 14,
      "title": "boost 模式下 place_close_order 异常",
      "user": {
        "login": "xughv",
        "id": 14882240,
        "node_id": "MDQ6VXNlcjE0ODgyMjQw",
        "avatar_url": "https://avatars.githubusercontent.com/u/14882240?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/xughv",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "labels": {},
      "state": "open",
      "locked": false,
      "assignee": null,
      "assignees": {},
      "milestone": null,
      "comments": 0,
      "created_at": "2025-09-25T12:22:31Z",
      "updated_at": "2025-09-25T12:25:02Z",
      "closed_at": null,
      "author_association": "NONE",
      "active_lock_reason": null,
      "sub_issues_summary": {
        "total": 0,
        "completed": 0,
        "percent_completed": 0
      },
      "issue_dependencies_summary": {
        "blocked_by": 0,
        "total_blocked_by": 0,
        "blocking": 0,
        "total_blocking": 0
      },
      "body": "https://github.com/your-quantguy/perp-dex-tools/commit/675c4ba770f40467f2ed1f8b8ddb3261ab140c9c#r166496297\n\n<img width=\"1774\" height=\"964\" alt=\"Image\" src=\"https://github.com/user-attachments/assets/f51ca83b-56aa-44a2-ab5b-50ec8243b7d9\" />",
      "closed_by": null,
      "reactions": {
        "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/14/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "performed_via_github_app": null,
      "state_reason": null,
      "linked_prs": []
    },
    {
      "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/13",
      "id": 3451613387,
      "node_id": "I_kwDOPuqWPs7Nu3DL",
      "number": 13,
      "title": "API responsed positions size mismatch with actual -- workaround needed",
      "user": {
        "login": "ChristopherXue",
        "id": 33887783,
        "node_id": "MDQ6VXNlcjMzODg3Nzgz",
        "avatar_url": "https://avatars.githubusercontent.com/u/33887783?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/ChristopherXue",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "labels": {},
      "state": "open",
      "locked": false,
      "assignee": null,
      "assignees": {},
      "milestone": null,
      "comments": 0,
      "created_at": "2025-09-25T02:37:28Z",
      "updated_at": "2025-09-25T02:37:28Z",
      "closed_at": null,
      "author_association": "NONE",
      "active_lock_reason": null,
      "sub_issues_summary": {
        "total": 0,
        "completed": 0,
        "percent_completed": 0
      },
      "issue_dependencies_summary": {
        "blocked_by": 0,
        "total_blocked_by": 0,
        "blocking": 0,
        "total_blocking": 0
      },
      "body": "Error logs:\n```\nERROR: [BACKPACK_SOL] Position mismatch detected\n###### ERROR ###### ERROR ###### ERROR ###### ERROR #####\nPlease manually rebalance your position and take-profit orders\n请手动平衡当前仓位和正在关闭的仓位\ncurrent position: 108.25 | active closing amount: 0 | Order quantity: 0\n###### ERROR ###### ERROR ###### ERROR ###### ERROR #####\n```\n\nActually positions:\n\n```\n2025-09-25 10:29:26.866 - INFO - [BACKPACK_SOL] =============================\n2025-09-25 10:29:27.395 - INFO - [BACKPACK_SOL] Subscribed to order updates for SOL_USDC_PERP\n2025-09-25 10:29:30.147 - INFO - [BACKPACK_SOL] Current Position: 108.25 | Active closing amount: 108.25 | Order quantity: 60\n```\n\nposition 返回值错误（实际108.25，但是返回值是0）就会kill 进程，建议增加retry 机制避免因为api return错误值而关掉进程。\n",
      "closed_by": null,
      "reactions": {
        "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/13/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "performed_via_github_app": null,
      "state_reason": null,
      "linked_prs": []
    },
    {
      "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/12",
      "id": 3445004976,
      "node_id": "I_kwDOPuqWPs7NVpqw",
      "number": 12,
      "title": "exchanges",
      "user": {
        "login": "xyx890816",
        "id": 94686588,
        "node_id": "U_kgDOBaTNfA",
        "avatar_url": "https://avatars.githubusercontent.com/u/94686588?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/xyx890816",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "labels": {},
      "state": "open",
      "locked": false,
      "assignee": null,
      "assignees": {},
      "milestone": null,
      "comments": 0,
      "created_at": "2025-09-23T12:03:11Z",
      "updated_at": "2025-09-23T12:03:11Z",
      "closed_at": null,
      "author_association": "NONE",
      "active_lock_reason": null,
      "sub_issues_summary": {
        "total": 0,
        "completed": 0,
        "percent_completed": 0
      },
      "issue_dependencies_summary": {
        "blocked_by": 0,
        "total_blocked_by": 0,
        "blocking": 0,
        "total_blocking": 0
      },
      "body": "exchanges",
      "closed_by": null,
      "reactions": {
        "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/12/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "performed_via_github_app": null,
      "state_reason": null,
      "linked_prs": []
    },
    {
      "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/10",
      "id": 3438235010,
      "node_id": "I_kwDOPuqWPs7M702C",
      "number": 10,
      "title": "edgeX websocket sometimes gets disconnected by server",
      "user": {
        "login": "your-quantguy",
        "id": 224469863,
        "node_id": "U_kgDODWEjZw",
        "avatar_url": "https://avatars.githubusercontent.com/u/224469863?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/your-quantguy",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "labels": {},
      "state": "open",
      "locked": false,
      "assignee": null,
      "assignees": {},
      "milestone": null,
      "comments": 0,
      "created_at": "2025-09-21T13:03:53Z",
      "updated_at": "2025-09-21T13:03:53Z",
      "closed_at": null,
      "author_association": "OWNER",
      "active_lock_reason": null,
      "sub_issues_summary": {
        "total": 0,
        "completed": 0,
        "percent_completed": 0
      },
      "issue_dependencies_summary": {
        "blocked_by": 0,
        "total_blocked_by": 0,
        "blocking": 0,
        "total_blocking": 0
      },
      "body": "The EdgeX WebSocket connection sometimes gets dropped by the server, so we need to implement a reconnect mechanism to handle it.\n\n\nlog of messages:\n\n{'type': 'pong', 'time': '1758454215297'}\n--------------------------------\n{'type': 'pong', 'time': '1758454245298'}\n--------------------------------\nError handling message: [Errno 104] Connection reset by peer\n--------------------------------\nFailed to send ping: [Errno 32] Broken pipe\n--------------------------------\n",
      "closed_by": null,
      "reactions": {
        "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/10/reactions",
        "total_count": 0,
        "+1": 0,
        "-1": 0,
        "laugh": 0,
        "hooray": 0,
        "confused": 0,
        "heart": 0,
        "rocket": 0,
        "eyes": 0
      },
      "performed_via_github_app": null,
      "state_reason": null,
      "linked_prs": []
    }
  ],
  "pulls": [
    {
      "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools/pulls/11",
      "id": 2847232143,
      "node_id": "PR_kwDOPuqWPs6ptVCP",
      "number": 11,
      "state": "open",
      "locked": false,
      "title": "fix paradex mismatch error",
      "user": {
        "login": "daquexian",
        "id": 11607199,
        "node_id": "MDQ6VXNlcjExNjA3MTk5",
        "avatar_url": "https://avatars.githubusercontent.com/u/11607199?v=4",
        "gravatar_id": "",
        "url": "https://api.github.com/users/daquexian",
        "type": "User",
        "user_view_type": "public",
        "site_admin": false
      },
      "body": null,
      "created_at": "2025-09-21T15:35:07Z",
      "updated_at": "2025-09-22T02:29:20Z",
      "closed_at": null,
      "merged_at": null,
      "merge_commit_sha": null,
      "assignee": null,
      "assignees": {},
      "requested_reviewers": {},
      "requested_teams": {},
      "labels": {},
      "milestone": null,
      "draft": false,
      "head": {
        "label": "daquexian:fix_para_mismatch",
        "ref": "fix_para_mismatch",
        "sha": "f398b11bf9dcbf729954ecc0bc8c5e3f10a5482e",
        "user": {
          "login": "daquexian",
          "id": 11607199,
          "node_id": "MDQ6VXNlcjExNjA3MTk5",
          "avatar_url": "https://avatars.githubusercontent.com/u/11607199?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/daquexian",
          "type": "User",
          "user_view_type": "public",
          "site_admin": false
        },
        "repo": {
          "id": 1061270914,
          "node_id": "R_kgDOP0G1gg",
          "name": "perp-dex-tools",
          "full_name": "daquexian/perp-dex-tools",
          "private": false,
          "owner": {
            "login": "daquexian",
            "id": 11607199,
            "node_id": "MDQ6VXNlcjExNjA3MTk5",
            "avatar_url": "https://avatars.githubusercontent.com/u/11607199?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/daquexian",
            "type": "User",
            "user_view_type": "public",
            "site_admin": false
          },
          "description": null,
          "fork": true,
          "url": "https://api.github.com/repos/daquexian/perp-dex-tools",
          "created_at": "2025-09-21T15:32:16Z",
          "updated_at": "2025-09-21T15:32:16Z",
          "pushed_at": "2025-09-22T02:26:38Z",
          "homepage": null,
          "size": 70,
          "stargazers_count": 0,
          "watchers_count": 0,
          "language": null,
          "has_issues": false,
          "has_projects": true,
          "has_downloads": true,
          "has_wiki": false,
          "has_pages": false,
          "has_discussions": false,
          "forks_count": 0,
          "archived": false,
          "disabled": false,
          "open_issues_count": 0,
          "license": {
            "key": "mit",
            "name": "MIT License",
            "spdx_id": "MIT",
            "url": "https://api.github.com/licenses/mit",
            "node_id": "MDc6TGljZW5zZTEz"
          },
          "allow_forking": true,
          "is_template": false,
          "web_commit_signoff_required": false,
          "topics": {},
          "visibility": "public",
          "forks": 0,
          "open_issues": 0,
          "watchers": 0,
          "default_branch": "main"
        }
      },
      "base": {
        "label": "your-quantguy:main",
        "ref": "main",
        "sha": "25757695259a09b5e582e83ecc0b6a3f5b63ecde",
        "user": {
          "login": "your-quantguy",
          "id": 224469863,
          "node_id": "U_kgDODWEjZw",
          "avatar_url": "https://avatars.githubusercontent.com/u/224469863?v=4",
          "gravatar_id": "",
          "url": "https://api.github.com/users/your-quantguy",
          "type": "User",
          "user_view_type": "public",
          "site_admin": false
        },
        "repo": {
          "id": 1055561278,
          "node_id": "R_kgDOPuqWPg",
          "name": "perp-dex-tools",
          "full_name": "your-quantguy/perp-dex-tools",
          "private": false,
          "owner": {
            "login": "your-quantguy",
            "id": 224469863,
            "node_id": "U_kgDODWEjZw",
            "avatar_url": "https://avatars.githubusercontent.com/u/224469863?v=4",
            "gravatar_id": "",
            "url": "https://api.github.com/users/your-quantguy",
            "type": "User",
            "user_view_type": "public",
            "site_admin": false
          },
          "description": null,
          "fork": false,
          "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools",
          "created_at": "2025-09-12T12:58:33Z",
          "updated_at": "2025-10-03T02:54:16Z",
          "pushed_at": "2025-10-02T15:32:24Z",
          "homepage": null,
          "size": 153,
          "stargazers_count": 346,
          "watchers_count": 346,
          "language": "Python",
          "has_issues": true,
          "has_projects": true,
          "has_downloads": true,
          "has_wiki": false,
          "has_pages": false,
          "has_discussions": false,
          "forks_count": 219,
          "archived": false,
          "disabled": false,
          "open_issues_count": 8,
          "license": {
            "key": "other",
            "name": "Other",
            "spdx_id": "NOASSERTION",
            "url": null,
            "node_id": "MDc6TGljZW5zZTA="
          },
          "allow_forking": true,
          "is_template": false,
          "web_commit_signoff_required": false,
          "topics": {},
          "visibility": "public",
          "forks": 219,
          "open_issues": 8,
          "watchers": 346,
          "default_branch": "main"
        }
      },
      "_links": {
        "self": {
          "href": "https://api.github.com/repos/your-quantguy/perp-dex-tools/pulls/11"
        },
        "html": {
          "href": "https://github.com/your-quantguy/perp-dex-tools/pull/11"
        },
        "issue": {
          "href": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/11"
        },
        "comments": {
          "href": "https://api.github.com/repos/your-quantguy/perp-dex-tools/issues/11/comments"
        },
        "review_comments": {
          "href": "https://api.github.com/repos/your-quantguy/perp-dex-tools/pulls/11/comments"
        },
        "review_comment": {
          "href": "https://api.github.com/repos/your-quantguy/perp-dex-tools/pulls/comments{/number}"
        },
        "commits": {
          "href": "https://api.github.com/repos/your-quantguy/perp-dex-tools/pulls/11/commits"
        },
        "statuses": {
          "href": "https://api.github.com/repos/your-quantguy/perp-dex-tools/statuses/f398b11bf9dcbf729954ecc0bc8c5e3f10a5482e"
        }
      },
      "author_association": "NONE",
      "auto_merge": null,
      "active_lock_reason": null,
      "linked_issues": []
    }
  ],
  "discussions": [],
  "details": {
    "id": 1055561278,
    "node_id": "R_kgDOPuqWPg",
    "name": "perp-dex-tools",
    "full_name": "your-quantguy/perp-dex-tools",
    "private": false,
    "owner": {
      "login": "your-quantguy",
      "id": 224469863,
      "node_id": "U_kgDODWEjZw",
      "avatar_url": "https://avatars.githubusercontent.com/u/224469863?v=4",
      "gravatar_id": "",
      "url": "https://api.github.com/users/your-quantguy",
      "type": "User",
      "user_view_type": "public",
      "site_admin": false
    },
    "description": null,
    "fork": false,
    "url": "https://api.github.com/repos/your-quantguy/perp-dex-tools",
    "created_at": "2025-09-12T12:58:33Z",
    "updated_at": "2025-10-03T02:54:16Z",
    "pushed_at": "2025-10-02T15:32:24Z",
    "homepage": null,
    "size": 153,
    "stargazers_count": 346,
    "watchers_count": 346,
    "language": "Python",
    "has_issues": true,
    "has_projects": true,
    "has_downloads": true,
    "has_wiki": false,
    "has_pages": false,
    "has_discussions": false,
    "forks_count": 219,
    "archived": false,
    "disabled": false,
    "open_issues_count": 8,
    "license": {
      "key": "other",
      "name": "Other",
      "spdx_id": "NOASSERTION",
      "url": null,
      "node_id": "MDc6TGljZW5zZTA="
    },
    "allow_forking": true,
    "is_template": false,
    "web_commit_signoff_required": false,
    "topics": {},
    "visibility": "public",
    "forks": 219,
    "open_issues": 8,
    "watchers": 346,
    "default_branch": "main",
    "permissions": {
      "admin": false,
      "maintain": false,
      "push": false,
      "triage": false,
      "pull": true
    },
    "temp_clone_token": "",
    "network_count": 219,
    "subscribers_count": 2
  },
  "lastFetched": 1759460612262
}