Skip to content

Commit

Permalink
update readme instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
NelsonDane committed Apr 5, 2024
1 parent c5a7998 commit 1fc8dc3
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,9 @@ DISCLAIMER: I am not a financial advisor and not affiliated with any of the brok

All brokers: separate account credentials with a colon (":"). For example, `SCHWAB_USERNAME:SCHWAB_PASSWORD`. Separate multiple logins with the same broker with a comma (","). For example, `SCHWAB_USERNAME:SCHWAB_PASSWORD,SCHWAB_USERNAME2:SCHWAB_PASSWORD2`.


Some brokerages require `Playwright` to run. On Windows, the `playwright install` command might not be recognized. If this is the case, run `python -m playwright install` instead.

### Fidelity
Made by yours truly using Selenium (and many hours of web scraping).

Expand Down Expand Up @@ -171,8 +174,6 @@ To get your TOTP secret, follow this [guide](guides/schwabSetup.md).

Note 1: Think or Swim must be enabled on all accounts. To enable, go to `Trade` > `Trading Platforms` > `Learn how to enable thinkorswim`. Then press `Continue` and expand the `thinkorswim Access Agreement` and accept it. Then press `Continue` again. Then select the checkbox for all available accounts and press `Submit`. It may take a day or two for the accounts to be enabled.

Note 2: If you are using Windows, you may need to install playwright manually. See [this guide](guides/playwrightWindows.md) for more information.

### Tradier
Made by yours truly using the official [Tradier API](https://documentation.tradier.com/brokerage-api/trading/getting-started). Consider giving me a ⭐

Expand Down
11 changes: 5 additions & 6 deletions guides/discordBot.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ In order to use this bot in Discord, you have to create a bot account and invite
3. Click on `Bot` in the left sidebar, then give it a name and profile picture if you want.
4. Disable `Public Bot`.
5. Under `Privileged Gateway Intents`, enable `Message Content Intent`.
4. Scroll down to `Bot Permissions` and select `Send Messages`.
5. Click on `OAuth2` in the left sidebar, then `URL Generator`. Then scroll down to `OAuth2 URL Generator`.
6. Under `Scopes` select `bot`. Then underneath that in `Bot Permissions` select `Send Messages`.
7. Copy the link in the `Scopes` section and paste it into your browser. Select the server you want to add the bot to and click `Authorize`.
8. Click on `Bot` in the left sidebar. Under `Token`, click `Reset Token`. Copy the new token and paste it into your `.env` file as `DISCORD_TOKEN`.
9. To get the Channel ID, go to `Advanced` in Discord settings, then turn on `Developer Mode`. Then right click on the channel for the bot and click `Copy ID`. Paste the ID into your `.env` file as `DISCORD_CHANNEL`. If you want to turn off `Developer Mode`, you can do so, but it isn't necessary.
6. Click on `OAuth2` in the left sidebar, then `URL Generator`. Then scroll down to `OAuth2 URL Generator`.
7. Under `Scopes` select `bot`. Then underneath that in `Bot Permissions` select `Send Messages` and `Read Message History`.
8. Copy the link in the `Scopes` section and paste it into your browser. Select the server you want to add the bot to and click `Authorize`.
9. Click on `Bot` in the left sidebar. Under `Token`, click `Reset Token`. Copy the new token and paste it into your `.env` file as `DISCORD_TOKEN`.
10. To get the Channel ID, go to `Advanced` in Discord settings, then turn on `Developer Mode`. Then right click on the channel for the bot and click `Copy ID`. Paste the ID into your `.env` file as `DISCORD_CHANNEL`. If you want to turn off `Developer Mode`, you can do so, but it isn't necessary.

If you need a more visual guide, one user found [this guide](https://www.writebots.com/discord-bot-token/) helpful.
8 changes: 0 additions & 8 deletions guides/playwrightWindows.md

This file was deleted.

0 comments on commit 1fc8dc3

Please sign in to comment.