Samaritan
An Algorithmic Trading Framework for Digital Currency.
Install / Use
npx skills add miaolz123/samaritanInstalls into whichever agent you are using.
README
Samaritan
Installation
You can install samaritan from installation package or Docker.
The default username and password are admin, please modify them immediately after login!
From installation package
- Download the samaritan installation package on this page
- Unzip the samaritan installation package
- Enter the extracted samaritan installation directory
- Run
samaritan
Then, samaritan is running at http://localhost:9876.
Linux & Mac user quick start command
wget https://github.com/miaolz123/samaritan/releases/download/v{{VERSION}}/samaritan_{{OS}}_{{ARCH}}.tar.gz
tar -xzvf samaritan_{{OS}}_{{ARCH}}.tar.gz
cd samaritan_{{OS}}_{{ARCH}}
./samaritan
Please replace {{VERSION}}, {{OS}}, {{ARCH}} first.
From Docker
docker run --name=samaritan -p 19876:9876 miaolz123/samaritan
Then, samaritan is running at http://localhost:19876.
Supported exchanges
| Exchange | Stock |
| -------- | ----- |
| okcoin.cn | BTC/CNY, LTC/CNY |
| huobi | BTC/CNY, LTC/CNY |
| poloniex | ETH/BTC, XMR/BTC, BTC/USDT, LTC/BTC, ETC/BTC, XRP/BTC, ETH/USDT, ETC/ETH, ... |
| btcc | BTC/CNY, LTC/CNY, LTC/BTC |
| chbtc | BTC/CNY, LTC/CNY, ETH/CNY, ETC/CNY |
| okcoin.future | BTC.WEEK/USD, BTC.WEEK2/USD, BTC.MONTH3/USD, LTC.WEEK/USD, ... |
| oanda.v20 | coming soon ...... |
Usage
Add an Exchange

Add an Algorithm


Deploy an Algorithm

Run a Trader

Algorithm Reference
Contributing
Contributions are not accepted in principle until the basic infrastructure is complete.
However, the ISSUE is welcome.
License
Copyright (c) 2016 miaolz123 by MIT
Related Skills
node-connect
385.5kDiagnose OpenClaw Android, iOS, or macOS node pairing, QR/setup code, route, auth, and connection failures.
blender-python-addon
40.5kBlender Python add-on rules for operators, panels, properties, registration, testing, and API-safe scripting
flutter-development-guidelines-cursorrules-prompt-file
40.5kCursor rules for Flutter development with MVVM architecture, Riverpod state management, Material widgets, and Dart style guidelines.
commit-push-pr
140.6kCommit, push, and open a PR
