{"id":20608458,"url":"https://github.com/tihamidev/coindcx-api","last_synced_at":"2026-03-10T01:32:22.855Z","repository":{"id":258137513,"uuid":"861218729","full_name":"TihamiDev/CoinDCX-API","owner":"TihamiDev","description":"The CoinDCX WebSocket API project is a Java app that fetches real-time trading data, triggers order operations based on user-defined prices, and offers a user-friendly interface with robust error handling and logging.","archived":false,"fork":false,"pushed_at":"2024-11-08T06:07:06.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-06T17:40:17.071Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TihamiDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-09-22T10:26:42.000Z","updated_at":"2024-12-07T18:06:41.000Z","dependencies_parsed_at":"2024-10-17T20:11:53.185Z","dependency_job_id":"ac785e40-6ab3-49e2-9ca0-b6519873b6d0","html_url":"https://github.com/TihamiDev/CoinDCX-API","commit_stats":null,"previous_names":["tihamidev/coindcx-api"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/TihamiDev/CoinDCX-API","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TihamiDev%2FCoinDCX-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TihamiDev%2FCoinDCX-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TihamiDev%2FCoinDCX-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TihamiDev%2FCoinDCX-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TihamiDev","download_url":"https://codeload.github.com/TihamiDev/CoinDCX-API/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TihamiDev%2FCoinDCX-API/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30320889,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T20:05:46.299Z","status":"ssl_error","status_checked_at":"2026-03-09T19:57:04.425Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-16T10:10:40.102Z","updated_at":"2026-03-10T01:32:22.833Z","avatar_url":"https://github.com/TihamiDev.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"    CoinDCX WebSocket Trading Application\n **Overview**\nThis Java application connects to the CoinDCX WebSocket API to fetch real-time trading data and prepares payloads for order operations based on user-defined trigger prices. \nThe application features a command-line interface (CLI) for user interaction.\n\n**Table of Contents**\n- Features\n- Requirements\n- Setup Instructions\n- Usage\n- Design Decisions\n- Libraries Used\n\n**Features**\n- Establishes a WebSocket connection to the CoinDCX API.\n- Subscribes to real-time market data for selected currency pairs.\n- Prepares buy and sell order payloads based on user-defined trigger prices.\n- Simulates cancellation of orders.\n- Simple command-line interface for user input.\n\n**Requirements**\n- Java 11 or higher\n- Maven (for dependency management)\n- Internet connection to access the CoinDCX API\n\n **Setup Instructions**\n  \n1. **Clone the Repository**\n   ```bash\n   git clone https://github.com/tihamit/CoinDCX-API.git\n   cd CoinDCX-API\n\n\n\n2. **Build the Project**\n   Ensure you have Maven installed, then run:\n   ```bash\n   mvn clean install\n\n  \n3. **Run the Application**\n   You can run the application using:\n   ```bash\n   mvn spring-boot:run\n\n**Usage**\n- Once the application starts, you will be prompted to enter the market (e.g., BTC/USDT).\n- Enter your buy trigger price when prompted.\n- Enter your sell trigger price when prompted.\n- The application will monitor market data and display the prepared buy and sell order payloads.\n  \n**Design Decisions**\n- WebSocket Communication: The application utilizes WebSocket for real-time data exchange, which is suitable for applications requiring immediate updates like trading platforms.\n- Separation of Concerns: The application is structured with distinct classes for handling WebSocket connections, order payload preparation, and user interactions to enhance maintainability.\n- Error Handling: The application includes basic error handling to manage exceptions that may arise during WebSocket communication.\n\n\n**Libraries Used**\n- Spring Boot: For creating the application and managing dependencies.\n- Java-WebSocket: For establishing WebSocket connections to the CoinDCX API.\n- JUnit: For unit testing.\n- Maven: For dependency management and project build lifecycle.\n\n\n\n\n\n\n\n\n\n\n\n\n  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftihamidev%2Fcoindcx-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftihamidev%2Fcoindcx-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftihamidev%2Fcoindcx-api/lists"}