{"id":17945220,"url":"https://github.com/asgeir-s/tb-back","last_synced_at":"2025-04-03T14:28:58.120Z","repository":{"id":70707187,"uuid":"54775979","full_name":"asgeir-s/tb-back","owner":"asgeir-s","description":"Serverless backend for TradersBit. The functions in this project are \"deep backend functions\" not accessed directly by users. (deactivated)","archived":false,"fork":false,"pushed_at":"2017-01-05T17:13:09.000Z","size":220,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-02-09T03:26:03.607Z","etag":null,"topics":["cryptocurrency","serverless","trading","trading-signals"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/asgeir-s.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}},"created_at":"2016-03-26T11:25:52.000Z","updated_at":"2021-03-16T00:27:10.000Z","dependencies_parsed_at":"2023-03-11T08:59:55.502Z","dependency_job_id":null,"html_url":"https://github.com/asgeir-s/tb-back","commit_stats":null,"previous_names":["asgeir-s/tb-back"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asgeir-s%2Ftb-back","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asgeir-s%2Ftb-back/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asgeir-s%2Ftb-back/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/asgeir-s%2Ftb-back/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/asgeir-s","download_url":"https://codeload.github.com/asgeir-s/tb-back/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247017886,"owners_count":20869906,"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","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":["cryptocurrency","serverless","trading","trading-signals"],"created_at":"2024-10-29T06:24:39.641Z","updated_at":"2025-04-03T14:28:58.081Z","avatar_url":"https://github.com/asgeir-s.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Serverless backend (not accessed directly by users) for TradersBit. TradersBit is shut down and open sourced.\n\nThis project contains serverless (AWS Lambda) functions that are not directly accessed by a user. It is using the [Serverless framework](https://github.com/serverless/serverless).\n\n## What is TradersBit?\nTradersBit is (was a) a marketplace for streams of Bitcoin trading signals.\n\nPublishers create streams, send trading signals to streams, and sell subscriptions to streams. Publishing on TradersBit is completely free. Signals can be published through our website, API or by connecting your Bitfinex account. The API makes it possible to connect trading bots and other applications.\n\nStatistics for each stream's performance are computed and displayed in the marketplace. Trading fees are incorporated in the statistics.\n\nSubscribers can browse, filter and sort streams based on average monthly profit, average trade, and other indicators. When subscribing to a stream, users can receive signals via email or have the signaled trades automatically executed through their own Bitfinex accounts.\n\nThe publishers of the streams will set the monthly subscription fee. Upon selling subscriptions, publishers will earn 70 percent of the subscription fees. We get the remaining 30 percent. TradersBit earns profits only when the publishers make profits, so our respective interests are the same.\n\nUpon the reception of a trading signal, we simulate the trade (including trading fees). As a result of this, there is no way for the publishers to manipulate statistics.\n\nThere is no social interaction in this marketplace because the statistics and trading signals speak for themselves. This way, subscribers will not be scammed easily. A subscriber should not need to know or care whether signals are sent manually by a teenager, an MBA graduate or automatically generated by a trading bot. At TradersBit, the streams and statistics matter, not the people behind them.\n\nTradersBit will also host trading competitions. For instance, most profitable streams last 30 days, etc., with rewards in Bitcoins.\n\n## TradersBit consists of\n* [tradersbit.com](https://github.com/sogasg/tradersbit.com) - the webpage\n* [tb-front](https://github.com/sogasg/tb-front) - serverless REST API\n* [tb-back](https://github.com/sogasg/tb-back) - serverless backend (not accessed directly by users)\n* [tb-signals](https://github.com/sogasg/tb-signals) - microservice for handling incoming trading signals \n* [tb-streams](https://github.com/sogasg/tb-streams) - microservice for handling stats for streams of trading signals\n\n## Functions\n (trigger) function\n  * (SNS) Autotrader\n  * (SNS) Email Notifyer\n  * (HTTP) Coinbase Order Notification\n  * (HTTP) Coinbase Get Payment Code\n  * (DYNAMO-STREAM) Confirm Subscription Email (to subscriber)\n  * (DYNAMO-STREAM) Send \"Continue Subscription?\" Email to Subscribers With Ending Subscriptions in 5 Days\n  * (DYNAMO-STREAM) Send Email to Publishers About New Subscription\n  * () \"Compitition Winner Computer\"\n\n## Testing\nCurrently AWS Lambda runs on Node.js: v0.10.36. Therfore, it must be tested on that version of node:\n\n    nvm use 0.10.36\n    tsc \u0026\u0026 npm-lx tape -- '**/*.tap.js' | npm-lx tap-spec\n    \nSet npm-lx alias in ~/.zshrc:\n\n    alias npm-lx='PATH=$(npm bin):$PATH'","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasgeir-s%2Ftb-back","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fasgeir-s%2Ftb-back","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fasgeir-s%2Ftb-back/lists"}