Skip to content

A Discord bot written using discord.py, krakenex, and MySQL to give paper trading for crypto.

License

Notifications You must be signed in to change notification settings

SoupyzInc/KrakenOrigami

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kraken Origami Logo

Kraken Origami

A Discord bot written using discord.py, krakenex, and MySQL to give paper trading for crypto.

A showcase of some of Kraken Origami's commands.

Installation

If you wish to use this bot, you can download and run the code your self.

  1. Clone this repostiory.
  2. Create a Discord bot and get your token.
  3. Replace the token in token.txt with your token. Do not ever share your token with anyone.
  4. Install dependencies. I used python 3.9.2, discord.py 1.6.0, pytz 2020.5, krakenex 2.1.0, MySQL, and MySQL Connector Python 8.0.23.
  5. Replace the information in mysql_account.txt with your information. Do not ever share your credentials with anyone.
  6. Create a discord.log file in the src folder to allow bot.py to log events and warnings.
  7. Run the bot.py file, your bot should be online and ready to run now.

Commands

All of Kraken Origami's commands. The folling convetions are used: <Required Parameter> (Optional Parameter)

.help (Command)

Shows how a list of all commands or details how to use a specific command.

.pairs

Returns all possible pairs in two messages.

.info <Base> <Quote>

Gives technical analysis on the requeted pair (Base/Quote).

.register

Registers an account to begin paper trading.

.account (@User)

Returns your account or the pinged user's account.

.buy <Base> <Quote> <Amount>

Buys in dollars of the specified pair.

.close <Position #>

Closes your position. Position numbers are listed when you use .account.

About

A Discord bot written using discord.py, krakenex, and MySQL to give paper trading for crypto.

Topics

Resources

License

Stars

Watchers

Forks

Languages