Skip to content
Watch RSI of given token on Saturn Network and auto buy/sell
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
README.md
example-config.json
package.json
pricewatch-bot.js
yarn.lock

README.md

RSI monitoring Bot

An example automated technical analysis trading bot for Saturn Network. More info on https://forum.saturn.network/t/saturn-trading-bot-guides/4046

Note that the bot does not execute the ERC20 Approve transaction. You'll have to do it manually for each token using the same wallet address if you want to automate trading ERC20 tokens.

More details in the guide on Saturn Forum.

More info about RSI indicator available here.

Config options

{
  "global": {
    "min_ether_in_wallet": "0.1"
  },
  "tokens": [
    {
      "token": "0xac55641cbb734bdf6510d1bbd62e240c2409040f",
      "blockchain": "ETC",
      "rsi_sell": 55.5,
      "rsi_buy": 47
    },
    {
      "token": "0xb9440022a095343b440d590fcd2d7a3794bd76c8",
      "blockchain": "ETH",
      "rsi_sell": 52,
      "rsi_buy": 48
    }
  ]
}

global

  • min_ether_in_wallet - the bot will make sure that you keep at least this much ETH or ETC in your trading wallet (for gas fees and HODLing)

tokens

  • token - token's smart contract address
  • blockchain - token's blockchain
  • rsi_sell - if RSI is higher than this number (token overbought) then the bot will attempt to market sell all the tokens in the wallet
  • rsi_buy - if RSI is lower than this number (token oversold) then the bot will attempt to market buy as many tokens as it can
You can’t perform that action at this time.