Aller au contenu principal

Trader avec les posts Reddit

info

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

![reddit trading automation illustrated by reddit logo](/images/guides/interfaces/reddit-connection-to-octobot-illustrated-by-reddit-logo.png)

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.

Configuration du RedditForumEvaluator

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.

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.

![reddit octobot config](/images/guides/interfaces/reddit-octobot-config.png)
  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](/images/guides/interfaces/reddit-create-app.png)
    - `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
![reddit created app](/images/guides/interfaces/reddit-created-app.png)

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

![reddit octobot config](/images/guides/interfaces/reddit-octobot-config.png)

Configuration depuis user/config.json

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

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

Exemple:

"services": {
"a service": {

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

}
}