{"id":30369539,"url":"https://github.com/praying/passivbot-rs","last_synced_at":"2025-10-26T08:09:31.065Z","repository":{"id":310109246,"uuid":"1002317781","full_name":"Praying/passivbot-rs","owner":"Praying","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-15T18:54:28.000Z","size":202,"stargazers_count":1,"open_issues_count":4,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-15T20:43:14.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Praying.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-15T07:45:43.000Z","updated_at":"2025-08-15T18:53:24.000Z","dependencies_parsed_at":"2025-08-15T20:43:26.560Z","dependency_job_id":"07e3ef58-25f0-4429-ad1d-b947385862ad","html_url":"https://github.com/Praying/passivbot-rs","commit_stats":null,"previous_names":["praying/passivbot-rs"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/Praying/passivbot-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praying%2Fpassivbot-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praying%2Fpassivbot-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praying%2Fpassivbot-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praying%2Fpassivbot-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Praying","download_url":"https://codeload.github.com/Praying/passivbot-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Praying%2Fpassivbot-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":281074242,"owners_count":26439436,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-26T02:00:06.575Z","response_time":61,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-08-20T02:33:37.387Z","updated_at":"2025-10-26T08:09:31.036Z","avatar_url":"https://github.com/Praying.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# passivbot-rs\n\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)\n[![CI](https://github.com/Praying/passivbot-rs/actions/workflows/rust.yml/badge.svg)](https://github.com/Praying/passivbot-rs/actions/workflows/rust.yml)\n\nA high-performance cryptocurrency quantitative trading bot written in Rust.\n\n## Core Features\n\n-   **Live Trading**: Connect to real exchange accounts for automated trading.\n-   **Strategy Backtesting**: Test the performance of trading strategies on historical data.\n-   **Parameter Optimization**: Find the optimal parameters for your strategies.\n-   **Data Downloading**: Download historical K-line data from exchanges.\n-   **Profit Transfer**: Automatically transfer profits from futures to spot accounts.\n\n## Supported Exchanges\n\n-   Bybit\n-   Binance\n-   Bitget\n-   Gate.io\n-   Hyperliquid\n-   OKX\n\n## Installation Guide\n\n### Prerequisites\n\n-   [Rust](https://www.rust-lang.org/tools/install)\n\n### Build Steps\n\n1.  Clone the repository:\n    ```bash\n    git clone https://github.com/your-username/passivbot-rs.git\n    cd passivbot-rs\n    ```\n2.  Build the project:\n    ```bash\n    cargo build --release\n    ```\n    The executable will be located at `target/release/passivbot-rs`.\n\n## Configuration\n\n### `config.hjson`\n\nThe main configuration file for the bot. Here you can configure parameters for live trading, backtesting, optimization, and the trading strategy itself.\n\n### `api-keys.json`\n\nTo use the live trading and profit transfer features, you need to create an `api-keys.json` file in the root directory of the project. This file should contain the API key and secret for the exchange you want to use.\n\n**`api-keys.json` example:**\n\n```json\n{\n  \"test_user\": {\n    \"exchange\": \"bybit\",\n    \"api_key\": \"YOUR_API_KEY\",\n    \"api_secret\": \"YOUR_API_SECRET\"\n  }\n}\n```\n\n## Usage\n\n### Live Trading\n\n```bash\n./target/release/passivbot-rs live --user test_user\n```\n\n### Strategy Backtesting\n\n```bash\n./target/release/passivbot-rs backtest\n```\n\n### Parameter Optimization\n\n```bash\n./target/release/passivbot-rs optimize\n```\n\n### Data Downloading\n\n```bash\n./target/release/passivbot-rs download\n```\n\n### Profit Transfer\n\n```bash\n./target/release/passivbot-rs profit-transfer --user test_user --amount 100 --asset USDT\n```\n\n## Risk Disclaimer\n\nTrading cryptocurrencies involves significant risk. This bot is provided \"as is\", and the author is not responsible for any financial losses you may incur. Always do your own research and use this bot at your own risk.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraying%2Fpassivbot-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpraying%2Fpassivbot-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpraying%2Fpassivbot-rs/lists"}