beasynthbot

所属分类:金融证券系统
开发工具:TypeScript
文件大小:34KB
下载次数:0
上传日期:2023-03-05 17:48:21
上 传 者sh-1993
说明:  永续市场套利交易机器人
(Arbitrage Trading bot for Perpetual Markets)

文件列表:
LICENSE (35149, 2023-03-06)
package-lock.json (14816, 2023-03-06)
package.json (817, 2023-03-06)
src (0, 2023-03-06)
src\abi (0, 2023-03-06)
src\abi\ERC20.json (3726, 2023-03-06)
src\abi\SynthetixPerp.json (42994, 2023-03-06)
src\abi\SynthetixPerpManager.json (14574, 2023-03-06)
src\abi\UniswapQuoter.json (4833, 2023-03-06)
src\abi\UniswapRouter.json (15772, 2023-03-06)
src\addresses.json (404, 2023-03-06)
src\async-utils.ts (1113, 2023-03-06)
src\contracts.ts (364, 2023-03-06)
src\exchangers (0, 2023-03-06)
src\exchangers\uniswap.ts (2498, 2023-03-06)
src\index.ts (12570, 2023-03-06)
src\perp-markets (0, 2023-03-06)
src\perp-markets\bybit.ts (9330, 2023-03-06)
src\perp-markets\synthetix.ts (5664, 2023-03-06)
src\types.ts (1112, 2023-03-06)
trade.sh.sample (376, 2023-03-06)
tsconfig.json (398, 2023-03-06)

BeASynthBot ==== A trading bot for arbitraging perpetual futures--primarily with Synthetix Perps V2. BeASynthBot will: * calculate expected profit over time from funding rate difference * calculate loss from executing trades * places profitable orders if profit is greater than loss for a minimum configurable time period * checks position to verify it remains profitable, and rebalances if necessary * closes position when it becomes unprofitable NOTE: This program includes sends a small tip to the author. Only the profits from profitable trades are sent. If you want to change this tip, you can supply additional command line arguments. ## Usage ### Requirements You need: * Bybit Account * Some sUSD in Optimism, or USDT in Bybit * Static IP address (required for withdrawals on Bybit) * Node.js & NPM installed on your computer ### Steps ``` npm install npm run build ``` Then, copy `trade.sh.sample` to `trade.sh` Edit `trade.sh` to as appropriate for your settings. Run: ``` ./trade.sh ETH 5 ``` The first argument is the token you want to trade, the second argument is the leverage. ## License Copyright (C) 2023 Daniel Beal This program is distributed under the terms of the GNU GPLv3 license. See `LICENSE` file for more information. This program comes with ABSOLUTELY NO WARRANTY.

近期下载者

相关文件


收藏者