Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/iam4x/twap-bot
Script to run TWAP on multiple exchanges
https://github.com/iam4x/twap-bot
Last synced: 19 days ago
JSON representation
Script to run TWAP on multiple exchanges
- Host: GitHub
- URL: https://github.com/iam4x/twap-bot
- Owner: iam4x
- Created: 2023-06-20T13:11:46.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-01T18:07:00.000Z (over 1 year ago)
- Last Synced: 2024-10-28T04:59:57.585Z (2 months ago)
- Language: TypeScript
- Size: 88.9 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# TWAP-BOT
> Script to run TWAP on multiple exchanges
## Config
Create a `.env` file at directory source and specify your options:
- `EXCHANGE` (bybit,binance,gateio,bitget,woo,okx)
- `API_KEY`
- `API_SECRET`
- `API_PASSPHRASE` (only needed for certain exchanges)
- `DURATION` (TWAP duration in ms)
- `TWAP` (COIN_AMOUNTUSD_SIDE separated by commas)Example:
```sh
EXCHANGE=bybitAPI_KEY=foo
API_SECRET=barDURATION=259200000
TWAP=BTCUSDT_10000_LONG,ETH_10000_SHORT
```## How to run
- `$ yarn install && yarn build && yarn start`