Skip to content

Trading based on Reddit posts

reddit trading automation illustrated by reddit logo

OctoBot can connect to Reddit to monitor Reddit posts from subreddits.

When the RedditForumEvaluator is enabled, OctoBot will the use VADER Sentiment Analysis’s AI to analyse the sentiment of each post and make a summary of each coin to be used by the Daily Trading Mode.

RedditForumEvaluator configuration

In the Accounts tab of the web interface, add the Reddit interface if missing.

RedditForumEvaluator configuration to select subreddits to follow

Configure the RedditForumEvaluator to specify the subreddits to follow for each traded Cryptocurrency.

Reddit connection configuration

To connect to Reddit, OctoBot needs a Reddit script app, which you can create from your Reddit account, or a new account dedicated to OctoBot.

reddit octobot config

  1. Login on your Reddit account if you already have one
  2. Go to your account’s Applications preferences.
  3. Create a new script app

    reddit create app

    • Name and description can be set as you wish
    • Leave About URL empty
    • Redirect URI won’t be used, enter https://www.reddit.com/ (or any other valid url)
    • Create your app
  4. Client-Id is the list of characters under your App name, next to its icon
  5. Client-Secret is the secret identifier of the App
  6. Username and Password are your usual Reddit username and password

reddit created app

Copy and paste your new Reddit app details into your OctoBot configuration.

reddit octobot config

Configuration from user/config.json

Add in user/config.json in the services key :

"reddit": {
       "client-id": "YOUR_CLIENT_ID",
       "client-secret": "YOUR_CLIENT_SECRET",
       "username": "YOUR_REDDIT_USERNAME",
       "password": "YOUR_REDDIT_PASSWORD"
   }

Exemple:

"services": {
   "a service": {
 
   },
   "reddit": {
       "client-id": "YOUR_CLIENT_ID",
       "client-secret": "YOUR_CLIENT_SECRET",
       "username": "YOUR_REDDIT_USERNAME",
       "password": "YOUR_REDDIT_PASSWORD"
   },
   "another service": {
 
   }
}