Skip to content
All library documents

Connecting Reddit Sentiment Analysis to OctoBot Crypto Trading

Article OctoBot

Summary

This guide describes connecting OctoBot to Reddit so it can monitor selected subreddits for posts about traded cryptocurrencies. When its forum evaluator is enabled, OctoBot applies VADER sentiment analysis to posts and creates coin-level summaries for use with the platform’s daily trading mode. The workflow involves adding Reddit as an account interface, choosing relevant subreddits for each coin, and supplying credentials from a Reddit script application.

The document explains how to create that application and enter its client identifier and secret in OctoBot’s configuration. It does not specify how sentiment scores are weighted, how summaries become trade decisions, or how quickly posts are processed. No trading results or validation evidence are provided. Reddit discussion can be noisy and unrepresentative, so the described connection explains an input source and setup process rather than establishing that sentiment-based signals are profitable or reliable.

Key ideas

  • OctoBot can monitor specified Reddit subreddits for posts related to traded cryptocurrencies.
  • Its forum evaluator uses VADER to analyze post sentiment and summarize it by coin.
  • The resulting summaries can feed OctoBot’s daily trading mode.
  • Setup requires Reddit application credentials and subreddit selections for each cryptocurrency.
  • The guide gives no signal rules, performance evidence, or validation of Reddit sentiment as a trading edge.

Tags

Full text
# Trader avec les posts Reddit


---
title: "Reddit"
description: "Apprenez comment configurer votre OctoBot pour trader en utilisant Reddit et surveiller des sous-forums (subreddits) afin de trader en fonction des publications sur Reddit."
sidebar_position: 5
---



# Trader avec les posts Reddit

:::info
  La traduction française de cette page est en cours.
:::

<div style={{textAlign: "center"}}>
  ![reddit trading automation illustrated by reddit
  logo](/images/guides/interfaces/reddit-connection-to-octobot-illustrated-by-reddit-logo.png)
</div>

OctoBot can connect to <a href="https://www.reddit.com" rel="nofollow">Reddit</a> to monitor Reddit posts from
subreddits.

When the **RedditForumEvaluator** is enabled, OctoBot will the use <a href="https://github.com/cjhutto/vaderSentiment" rel="nofollow">VADER Sentiment Analysis's AI</a> to analyse the sentiment of each post and make a summary of each coin to be used by the [Daily Trading Mode](/guides/octobot-trading-modes/daily-trading-mode).

## Configuration du RedditForumEvaluator

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

![RedditForumEvaluator configuration to select subreddits to follow](/images/guides/interfaces/RedditForumEvaluator-configuration-to-select-subreddits-to-follow.png)

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

## Configuration de la connexion à Reddit

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.

<div style={{textAlign: "center"}}>
   ![reddit octobot config](/images/guides/interfaces/reddit-octobot-config.png)
</div>

1. Login on your Reddit account if you already have one
2. Go to your account's <a href="https://www.reddit.com/prefs/apps/" rel="nofollow">Applications preferences</a>.
3. Create a new `script` app
   <div style={{textAlign: "center"}}>
      ![reddit create app](/images/guides/interfaces/reddit-create-app.png)
   </div>
   - `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 
3. **Client-Id** is the list of characters under your App name, next to its icon
4. **Client-Secret** is the **secret** identifier of the App
<div style={{textAlign: "center"}}>
   ![reddit created app](/images/guides/interfaces/reddit-created-app.png)
</div>

Copy and paste your new Reddit app details into your OctoBot configuration.
<div style={{textAlign: "center"}}>
   ![reddit octobot config](/images/guides/interfaces/reddit-octobot-config.png)
</div>

### Configuration depuis user/config.json

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

```json
"reddit": {
       "client-id": "YOUR_CLIENT_ID",
       "client-secret": "YOUR_CLIENT_SECRET"
   }
```

**Exemple:**

```json
"services": {
   "a service": {

   },
   "reddit": {
       "client-id": "YOUR_CLIENT_ID",
       "client-secret": "YOUR_CLIENT_SECRET"
   },
   "another service": {

   }
}
```

Shown in full with attribution under the source's licence. Licence: GPL-3.0

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.