{"id":19010773,"url":"https://github.com/th-blitz/tr_blitz_--_crypto_trading_bot","last_synced_at":"2025-09-10T01:42:26.831Z","repository":{"id":126504342,"uuid":"289887316","full_name":"th-blitz/Tr_Blitz_--_Crypto_Trading_Bot","owner":"th-blitz","description":"A basic cryto trading bot with a generic API wrapper written for compatibalitiy with REST APIs of any trading platform. This enables real-time trading across multiple trading platforms with varying protocols.","archived":false,"fork":false,"pushed_at":"2020-09-03T11:46:18.000Z","size":40,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T15:37:33.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","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/th-blitz.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}},"created_at":"2020-08-24T09:41:14.000Z","updated_at":"2024-11-28T22:42:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"63b53f84-7c8e-4535-b7dd-5209125c679a","html_url":"https://github.com/th-blitz/Tr_Blitz_--_Crypto_Trading_Bot","commit_stats":null,"previous_names":["th-blitz/tr_blitz_--_crypto_trading_bot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/th-blitz/Tr_Blitz_--_Crypto_Trading_Bot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FTr_Blitz_--_Crypto_Trading_Bot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FTr_Blitz_--_Crypto_Trading_Bot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FTr_Blitz_--_Crypto_Trading_Bot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FTr_Blitz_--_Crypto_Trading_Bot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/th-blitz","download_url":"https://codeload.github.com/th-blitz/Tr_Blitz_--_Crypto_Trading_Bot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/th-blitz%2FTr_Blitz_--_Crypto_Trading_Bot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274396941,"owners_count":25277398,"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-09-09T02:00:10.223Z","response_time":80,"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":"2024-11-08T19:12:27.259Z","updated_at":"2025-09-10T01:42:26.795Z","avatar_url":"https://github.com/th-blitz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"#  Tr_Blitz_ \n### Crypto-Trading-Bot\n_________________________________________________________________________________________________________________\n\n1.blitz_trade_tools.py \n\n* This library consist of all kinds of tools which you can use to build any type of trading bot you can imagine \n\n* It has tools like 24x7 price ticker , 24x7 candle sticks ticker , tools to manage candle sticks , \ntools to manage price levels , tools to place orders , concel orders , check orders , view account info ,\nmanage time etc with multiple exchanges and multiple assets.\n                                          \n* The data type used is nested structures , for example :\n\n       import blitz_trade_tools\n       \n       ## Input for 24x7 candle stick ticker tool.\n       \n       options = {\n                    'HeyBinance' : {\n                         'BTCUSDT' : '1h',\n                         'ETHBNB' : '1m'\n                    },\n                    \n                    'RobinHood' : {\n                         'LTCUSDT' : '1h'\n                    }\n                 }\n       \n       ## Create the ticker obj. This way you can create any number of tickers you want.\n       \n       candle_stick_ticker_1 = blitz_trade_tools.Candle_Stick_Ticker()\n       \n       ## .set() is used to give required settings for this tool. .set() is used for all the tools.\n       \n       candle_stick_ticker_1.set(options = options , tick_rate = 4)\n       \n       ## tick_rate = 4 , ticks every 4 seconds.\n      \n* Here HeyBinance is to call binance API and RobinHood for Robinhood API\n* This is the input for 24x7 candle stick ticker tool to get candle stick data of BTCUSDT 1 hour , ETHBNB 1 minute , LTCUSDT 1 hour candle sticks from binance and robinhood.\n* The output will be candle stick objects which consists all the details of a single candle stick :\n\n      ## Output for 24x7 candle stick ticker tool.\n      \n      for output in candle_stick_ticker_1.run():\n           print(output)\n           ## Iterate 24x7 for 4 seconds per iter. OR you can call it as ticks per second OR as tick_rate.\n      \nOUTPUT:\n\n      _______________________________________________________\n      {\n         'HeyBinance' : {\n              'BTCUSDT' : BTCUSDT candlestick obj ,\n              'ETHBNB' : ETHBNB candlestick obj\n         },\n         'RobinHood' : {\n              'LTCUSDT' : LTCUSDT candlestick obj\n         }\n      }\n      ________________________________________________________\n\n* you can also set the above tool if you want to avoid for loop\n      \n      candle_stick_ticker_1.set(options = options , tick_rate = 4 ,yield = False)\n      \n      while(True):\n          ## can be called inside any kind of loop. \n                                 \n                        |\n                        \n          output = candle_stick_ticker_1.run()\n          print(output)\n                        |\n                        \n OUTPUT:\n \n       _______________________________________________________\n      {\n         'HeyBinance' : {\n              'BTCUSDT' : BTCUSDT candlestick obj ,\n              'ETHBNB' : ETHBNB candlestick obj\n         },\n         'RobinHood' : {\n              'LTCUSDT' : LTCUSDT candlestick obj\n         }\n      }\n      ________________________________________________________                  \n                        \n                        \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth-blitz%2Ftr_blitz_--_crypto_trading_bot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fth-blitz%2Ftr_blitz_--_crypto_trading_bot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fth-blitz%2Ftr_blitz_--_crypto_trading_bot/lists"}