{"id":21359915,"url":"https://github.com/ujstor/probit-exchange-api","last_synced_at":"2026-03-09T04:33:01.304Z","repository":{"id":161232880,"uuid":"622015509","full_name":"Ujstor/probit-exchange-api","owner":"Ujstor","description":"API for interaction with ProBit Global crypto exchange (live link on private repo)","archived":false,"fork":false,"pushed_at":"2023-11-04T15:05:42.000Z","size":24,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T09:45:57.156Z","etag":null,"topics":["api","cryptocurrency","flask","probit","trading"],"latest_commit_sha":null,"homepage":"https://probit.astipan.com/","language":"Python","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/Ujstor.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}},"created_at":"2023-03-31T22:31:51.000Z","updated_at":"2024-04-20T05:02:00.000Z","dependencies_parsed_at":"2023-10-13T09:15:04.513Z","dependency_job_id":"8ea18224-b7b0-4714-95fc-aeb3c919c239","html_url":"https://github.com/Ujstor/probit-exchange-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ujstor/probit-exchange-api","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ujstor%2Fprobit-exchange-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ujstor%2Fprobit-exchange-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ujstor%2Fprobit-exchange-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ujstor%2Fprobit-exchange-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ujstor","download_url":"https://codeload.github.com/Ujstor/probit-exchange-api/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ujstor%2Fprobit-exchange-api/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30283425,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:57:19.223Z","status":"ssl_error","status_checked_at":"2026-03-09T02:56:26.373Z","response_time":61,"last_error":"SSL_read: 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":["api","cryptocurrency","flask","probit","trading"],"created_at":"2024-11-22T05:30:46.161Z","updated_at":"2026-03-09T04:33:01.264Z","avatar_url":"https://github.com/Ujstor.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# **ProBit Global exchange API**\n\n1. Clone git repo\n\n2. Create and add credentials in `.env` file\n    ```\n    ID=             #probit API id\n    SECRET=         #probit API secret\n    KEY=            #random string\n    ```\n3. Run `python main.py`\n\n4. Open `127.0.0.1:5000` in local browser\n\n# Docker\n\nTo build the Docker image from the code, run:\n\n```\ndocker compose -f .\\docker-compose-dev.yml up\n```\n\nIf you want to pull the image from the Docker repository instead, use:\n\n```\ndocker compose -f .\\docker-compose-prod.yml up\n```\n\nImage is automatically built and deployed through the Jenkins pipeline after changes in GitHub, and it expects a .env file for loading variables.\n\n\u003cbr/\u003e\n\n![](https://i.imgur.com/e4OqvK9.png)\n\n# Jenkins Pipeline\n\n\nPipeline is designed to automate the building and deployment of a Docker image for the Probit Exchange API. It is configured to execute different stages of the CI/CD process based on the branch being built. It assumes you have a specific versioning strategy for your application, denoted by \"Patch,\" \"Minor,\" and \"Major.\"\n\n\n## Pipeline Execution Flow\n\nThe pipeline is executed as follows:\n\n1. Code is checked out from the GitHub repository.\n2. The environment is prepared by copying the `.env` file.\n3. Tests are run.\n4. If the branch is 'master', a Docker image tag is generated.\n5. If the branch is 'master', a Docker image is built with the generated tag.\n6. If the branch is 'master', the Docker image is pushed to Docker Hub.\n7. If the branch is 'master', the Docker image is removed.\n\n## Execution Conditions\n\nThe stages for image tagging, building, deploying, and environment cleanup are conditional and will only run when the branch being built is 'master'.\n\nPlease ensure that you have the necessary plugins and tools set up in your Jenkins environment to support Docker and the required scripts for testing. Scripts are in [IaC Repo](https://github.com/Ujstor/k8s-infra/tree/master/jenkins/scripts)\n\n\n\n\n\u003cbr/\u003e\n\n\n## Expected output\n\nProbit is primarily used for fat finger orders. In the event of market volatility and lack of liquidity, these extreme orders can be executed.\n\nThe tool is now used for order monitoring.\n\n![expected output](https://i.imgur.com/VEfFNs9.png)\n\n![expected output](https://i.imgur.com/W1ox8l7.png)\n\n\n## Pytest\nTo run tests, use `pytest -v -s` command.\n\n![](https://i.imgur.com/4Jr7WS3.png)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujstor%2Fprobit-exchange-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fujstor%2Fprobit-exchange-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fujstor%2Fprobit-exchange-api/lists"}