{"id":13699834,"url":"https://github.com/metaperl/binary-martingale","last_synced_at":"2025-04-12T12:32:54.609Z","repository":{"id":8049486,"uuid":"9460470","full_name":"metaperl/binary-martingale","owner":"metaperl","description":"Computer program to automatically trade binary options martingale style","archived":false,"fork":false,"pushed_at":"2017-10-16T09:53:45.000Z","size":48,"stargazers_count":45,"open_issues_count":1,"forks_count":19,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-06T10:11:15.942Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/metaperl.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}},"created_at":"2013-04-15T23:39:23.000Z","updated_at":"2025-04-03T18:57:10.000Z","dependencies_parsed_at":"2022-09-10T20:26:33.561Z","dependency_job_id":null,"html_url":"https://github.com/metaperl/binary-martingale","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaperl%2Fbinary-martingale","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaperl%2Fbinary-martingale/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaperl%2Fbinary-martingale/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/metaperl%2Fbinary-martingale/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/metaperl","download_url":"https://codeload.github.com/metaperl/binary-martingale/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248566485,"owners_count":21125674,"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":[],"created_at":"2024-08-02T20:00:44.335Z","updated_at":"2025-04-12T12:32:54.574Z","avatar_url":"https://github.com/metaperl.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":["Trading \u0026 Backtesting","交易与回测"],"readme":"binary-martingale\n=================\n\nThis is a [Python](http://www.python.org) computer program to automatically trade [binary options](http://en.wikipedia.org/wiki/Binary_option) [martingale](http://en.wikipedia.org/wiki/Martingale_(betting_system)) style on MarketsWorld.\n\n# Installation\n\n\n\n## Install Anaconda Python\n\nNo support is provided for any other version of Python. Anaconda\nPython runs on all platforms and has excellent package management.\n\nPlease\n[download and install it](https://store.continuum.io/cshop/anaconda/).\n\n## Unpack this binary martingale trader somewhere\n\nYou have two options to obtain this software. If you just want to run\nthe software, then the simplest thing is to [download a\nzipfile](https://github.com/metaperl/binary-martingale/archive/master.zip)\nand unzip it.\n\nThe other option is to [install git](http://git-scm.com/downloads) and\nthen type `git clone git@github.com:metaperl/binary-martingale.git`\n... this is a better option because it will be simpler to update. But\nrequires you to [install git](http://git-scm.com/downloads)\n\n## Install support software packages\n\n#### Change to the binary martingale folder you just unzipped\n\n    cd binary-martingale\n\n#### Install the extra modules\n\n    pip install -r requirements.txt\n\n### Setup your login info\n\nCopy `src\\conf-example.py` to `src\\conf.py` and edit it with your\nlogin info. There are two entries there, one for your demo account and\none for your main account.\n\n# Time to rock! Sample usages\n\nNOTE: you must change to the `src` folder for this to work. On windows\nthis is:\n\n    cd binary-martingale\\src\n\nOn Linux/OS X:\n\n    cd binary-martingale/src\n\nor just `cd src` if you are already in the `binary-martingale` folder.\n\n\n**NOTE** - there is no need to put `./` before `main.py` when invoking\n  the program on Windows. That is a Linux/OS X thing.\n\nShow the options to the program.\n\n    [~/prg/binary-martingale/src]$ ./main.py --help\n\nLogin to your demo account (configured in conf.py) and make 1 trade.\n\n    [~/prg/binary-martingale/src]$ ./main.py\n\n\nLogin to your live account (configured in conf.py) and make 1 trade.\n\n    [~/prg/binary-martingale/src]$ ./main.py --loginas live\n\n\nIssue a put trade (default is call).\n\n    [~/prg/binary-martingale/src/]$ ./main.py --lower\n\nMake the initial bet 4 dollars instead of the default 1 dollar.\n\n    [~/prg/binary-martingale/src/]$ ./main.py --seed-bet 4\n\nAim for a profit of 2 dollars with each bet.\n\n    [~/prg/binary-martingale/src/]$ ./main.py --step-profit 2\n\nAssume Markets World will pay a 77% profit on a won wager (default is 70%).\n\n    [~/prg/binary-martingale/src/]$ ./main.py --step-reward .77\n\nShow the martingale sequence that will be used for betting.\n\n    [~/prg/binary-martingale/src/]$ ./main.py --show-sequence\n\n    [~/prg/binary-martingale/src/]$ ./main.py --show-sequence --step-profit 2\n\n    [~/prg/binary-martingale/src/]$ ./main.py --show-sequence --seed-bet 2\n\n\nRound all bets to even numbers.\n\n    [~/prg/binary-martingale/src/]$ ./main.py --round-step\n\nShow betting sequence when you round all bets to even numbers.\n\n    [~/prg/binary-martingale/src/]$ ./main.py --round-step --show-sequence\n\nEngage in trading for 4 hours max (default is 5)\n\n    [~/prg/binary-martingale/src/]$ ./main.py --max-hours 4\n\nEngage in trading until you win 3 times (default is 1)\n\n    [~/prg/binary-martingale/src/]$ ./main.py --sessions 3\n\nIf this is false (which it is by default), then do not trade between\n2pm and 6pm EST, because MarketsWorld resets their systems at 5pm EST\nand this could interrupt a series of Martingale trades.\n\n    [~/prg/binary-martingale/src/]$ ./main.py --ignore-window\n\n\n# Disclaimer\n\nDownload and usage of this program makes me completely free of any liability to the downloader and/or user.\n\n# Good luck!\n\nBon voyage! Happy trading!\n\n# Links\n\nhttp://iwantyoutoprosper.com/income/transient/binary-options-transient/odyssey-into-binary-options/\n\n# Authors\n\nProgrammer = Terrence Brannon.\n\n## Contributors\n\nThe trending idea is due to Samkelo Ndlovu. I appreciate his testing on\nWindows as well.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaperl%2Fbinary-martingale","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmetaperl%2Fbinary-martingale","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmetaperl%2Fbinary-martingale/lists"}