├── .gitignore ├── Dockerfile ├── LICENSE ├── README.md ├── html ├── 404.html ├── browserconfig.xml ├── cgi-bin │ └── db.py ├── css │ ├── index.css │ ├── main.css │ └── normalize.css ├── data │ └── .gitignore ├── favicon.ico ├── icon.png ├── img │ ├── .gitignore │ └── logo.png ├── index.html ├── js │ ├── jquery.csv.min.js │ ├── main.js │ ├── moment.min.js │ ├── plugins.js │ └── vendor │ │ └── modernizr-3.11.2.min.js ├── package-lock.json ├── package.json ├── robots.txt ├── site.webmanifest ├── tile-wide.png └── tile.png ├── img ├── HTML5Workbench.png ├── html5.png ├── plt_MACDLongOnly.PNG └── rptr.png ├── init.d └── alpha-rptr ├── main.py ├── remote-restart.sh ├── requirements.txt ├── restart.sh ├── runtime.txt ├── src ├── __init__.py ├── bot.py ├── config.py ├── exchange │ ├── __init__.py │ ├── backtest.py │ ├── binance_futures │ │ ├── __init__.py │ │ ├── binance_futures.py │ │ ├── binance_futures_api.py │ │ ├── binance_futures_backtest.py │ │ ├── binance_futures_stub.py │ │ ├── binance_futures_websocket.py │ │ ├── exceptions.py │ │ └── exchange_changelog.md │ ├── bitmex │ │ ├── __init__.py │ │ ├── bitmex.py │ │ ├── bitmex_api.py │ │ ├── bitmex_backtest.py │ │ ├── bitmex_stub.py │ │ ├── bitmex_websocket.py │ │ └── orderbook.py │ ├── bybit │ │ ├── __init__.py │ │ ├── bybit.py │ │ ├── bybit_backtest.py │ │ ├── bybit_stub.py │ │ └── bybit_websocket.py │ ├── ftx │ │ ├── __init__.py │ │ ├── ftx.py │ │ ├── ftx_api.py │ │ ├── ftx_backtest.py │ │ ├── ftx_stub.py │ │ └── ftx_websocket.py │ └── stub.py ├── exchange_config.py ├── factory.py ├── gmail_sub.py ├── indicators.py ├── monitor.py └── strategies │ ├── CandleTester.py │ ├── CandleTesterMult.py │ ├── Doten.py │ ├── MACDLongOnly.py │ ├── OCC.py │ ├── Rci.py │ ├── SAR.py │ ├── SMA.py │ ├── Sample.py │ ├── SupertrendStrat.py │ ├── TV.py │ └── __init__.py └── tests ├── test_bitmex.py ├── test_bitmex_backtest.py ├── test_bitmex_websocket.py ├── test_influx_db.ipynb └── test_util.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/.gitignore -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/README.md -------------------------------------------------------------------------------- /html/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/404.html -------------------------------------------------------------------------------- /html/browserconfig.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/browserconfig.xml -------------------------------------------------------------------------------- /html/cgi-bin/db.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/cgi-bin/db.py -------------------------------------------------------------------------------- /html/css/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/css/index.css -------------------------------------------------------------------------------- /html/css/main.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/css/main.css -------------------------------------------------------------------------------- /html/css/normalize.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/css/normalize.css -------------------------------------------------------------------------------- /html/data/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/data/.gitignore -------------------------------------------------------------------------------- /html/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/favicon.ico -------------------------------------------------------------------------------- /html/icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/icon.png -------------------------------------------------------------------------------- /html/img/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /html/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/img/logo.png -------------------------------------------------------------------------------- /html/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/index.html -------------------------------------------------------------------------------- /html/js/jquery.csv.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/js/jquery.csv.min.js -------------------------------------------------------------------------------- /html/js/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/js/main.js -------------------------------------------------------------------------------- /html/js/moment.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/js/moment.min.js -------------------------------------------------------------------------------- /html/js/plugins.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/js/plugins.js -------------------------------------------------------------------------------- /html/js/vendor/modernizr-3.11.2.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/js/vendor/modernizr-3.11.2.min.js -------------------------------------------------------------------------------- /html/package-lock.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/package-lock.json -------------------------------------------------------------------------------- /html/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/package.json -------------------------------------------------------------------------------- /html/robots.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/robots.txt -------------------------------------------------------------------------------- /html/site.webmanifest: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/site.webmanifest -------------------------------------------------------------------------------- /html/tile-wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/tile-wide.png -------------------------------------------------------------------------------- /html/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/html/tile.png -------------------------------------------------------------------------------- /img/HTML5Workbench.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/img/HTML5Workbench.png -------------------------------------------------------------------------------- /img/html5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/img/html5.png -------------------------------------------------------------------------------- /img/plt_MACDLongOnly.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/img/plt_MACDLongOnly.PNG -------------------------------------------------------------------------------- /img/rptr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/img/rptr.png -------------------------------------------------------------------------------- /init.d/alpha-rptr: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/init.d/alpha-rptr -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/main.py -------------------------------------------------------------------------------- /remote-restart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/remote-restart.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/requirements.txt -------------------------------------------------------------------------------- /restart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/restart.sh -------------------------------------------------------------------------------- /runtime.txt: -------------------------------------------------------------------------------- 1 | python-3.9.9 -------------------------------------------------------------------------------- /src/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/__init__.py -------------------------------------------------------------------------------- /src/bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/bot.py -------------------------------------------------------------------------------- /src/config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/config.py -------------------------------------------------------------------------------- /src/exchange/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/exchange/backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/backtest.py -------------------------------------------------------------------------------- /src/exchange/binance_futures/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/exchange/binance_futures/binance_futures.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/binance_futures/binance_futures.py -------------------------------------------------------------------------------- /src/exchange/binance_futures/binance_futures_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/binance_futures/binance_futures_api.py -------------------------------------------------------------------------------- /src/exchange/binance_futures/binance_futures_backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/binance_futures/binance_futures_backtest.py -------------------------------------------------------------------------------- /src/exchange/binance_futures/binance_futures_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/binance_futures/binance_futures_stub.py -------------------------------------------------------------------------------- /src/exchange/binance_futures/binance_futures_websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/binance_futures/binance_futures_websocket.py -------------------------------------------------------------------------------- /src/exchange/binance_futures/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/binance_futures/exceptions.py -------------------------------------------------------------------------------- /src/exchange/binance_futures/exchange_changelog.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/binance_futures/exchange_changelog.md -------------------------------------------------------------------------------- /src/exchange/bitmex/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/exchange/bitmex/bitmex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bitmex/bitmex.py -------------------------------------------------------------------------------- /src/exchange/bitmex/bitmex_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bitmex/bitmex_api.py -------------------------------------------------------------------------------- /src/exchange/bitmex/bitmex_backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bitmex/bitmex_backtest.py -------------------------------------------------------------------------------- /src/exchange/bitmex/bitmex_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bitmex/bitmex_stub.py -------------------------------------------------------------------------------- /src/exchange/bitmex/bitmex_websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bitmex/bitmex_websocket.py -------------------------------------------------------------------------------- /src/exchange/bitmex/orderbook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bitmex/orderbook.py -------------------------------------------------------------------------------- /src/exchange/bybit/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/exchange/bybit/bybit.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bybit/bybit.py -------------------------------------------------------------------------------- /src/exchange/bybit/bybit_backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bybit/bybit_backtest.py -------------------------------------------------------------------------------- /src/exchange/bybit/bybit_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bybit/bybit_stub.py -------------------------------------------------------------------------------- /src/exchange/bybit/bybit_websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/bybit/bybit_websocket.py -------------------------------------------------------------------------------- /src/exchange/ftx/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /src/exchange/ftx/ftx.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/ftx/ftx.py -------------------------------------------------------------------------------- /src/exchange/ftx/ftx_api.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/ftx/ftx_api.py -------------------------------------------------------------------------------- /src/exchange/ftx/ftx_backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/ftx/ftx_backtest.py -------------------------------------------------------------------------------- /src/exchange/ftx/ftx_stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/ftx/ftx_stub.py -------------------------------------------------------------------------------- /src/exchange/ftx/ftx_websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/ftx/ftx_websocket.py -------------------------------------------------------------------------------- /src/exchange/stub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange/stub.py -------------------------------------------------------------------------------- /src/exchange_config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/exchange_config.py -------------------------------------------------------------------------------- /src/factory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/factory.py -------------------------------------------------------------------------------- /src/gmail_sub.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/gmail_sub.py -------------------------------------------------------------------------------- /src/indicators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/indicators.py -------------------------------------------------------------------------------- /src/monitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/monitor.py -------------------------------------------------------------------------------- /src/strategies/CandleTester.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/CandleTester.py -------------------------------------------------------------------------------- /src/strategies/CandleTesterMult.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/CandleTesterMult.py -------------------------------------------------------------------------------- /src/strategies/Doten.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/Doten.py -------------------------------------------------------------------------------- /src/strategies/MACDLongOnly.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/MACDLongOnly.py -------------------------------------------------------------------------------- /src/strategies/OCC.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/OCC.py -------------------------------------------------------------------------------- /src/strategies/Rci.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/Rci.py -------------------------------------------------------------------------------- /src/strategies/SAR.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/SAR.py -------------------------------------------------------------------------------- /src/strategies/SMA.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/SMA.py -------------------------------------------------------------------------------- /src/strategies/Sample.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/Sample.py -------------------------------------------------------------------------------- /src/strategies/SupertrendStrat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/SupertrendStrat.py -------------------------------------------------------------------------------- /src/strategies/TV.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/src/strategies/TV.py -------------------------------------------------------------------------------- /src/strategies/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tests/test_bitmex.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/tests/test_bitmex.py -------------------------------------------------------------------------------- /tests/test_bitmex_backtest.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/tests/test_bitmex_backtest.py -------------------------------------------------------------------------------- /tests/test_bitmex_websocket.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/tests/test_bitmex_websocket.py -------------------------------------------------------------------------------- /tests/test_influx_db.ipynb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/tests/test_influx_db.ipynb -------------------------------------------------------------------------------- /tests/test_util.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/TheFourGreatErrors/alpha-rptr/HEAD/tests/test_util.py --------------------------------------------------------------------------------