Skip to content

Norky101/CRYPTOCURRENCY-TRADING-BOT-WITH-GUI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 

Repository files navigation

CRYPTOCURRENCY-LIVE-TRADING-BOT

Initial goal:

Decrease the amount of time logging in and setting up the environment so I could capitalize on a fast-moving market.

What does it do?

This program utilizes the Coinbase Pro Sandbox API to autonomously execute a selection of functions, such as: placing a market buy order, a sell order, checking the 24-hour price percentage change, and more.

This has made trading even easier by allowing the user to control these functions from an attractive and functional Graphical User Interface (GUI). In addition, this hands-off investing approach allows a user to limit their emotions when investing and spend more time doing other activities.

Directly put, this program makes trading stress-free and more time-efficient!

Tech used

Python, Pandas, PysSimpleGUI, Requests, JSON, Jupyter Notebook, and, CoinBase Pro Sandbox API (Making request calls to the exchange), CoinBase Pro Sandbox Websocket (Listening/streaming data e.g. Price, time)

What did I learn?

Throughout this project, I faced many different challenges but I overcame them and learned a lot along the way. Firstly, I solved how to access and use the API requests/functions such as placing a market order trade. This is something I had not done before so I had to do a lot of reading and self-learning on how to utilize it effectively. If I did not solve this I would not be able to access my Coinbase Pro Trading Exchange account.

Secondly, I had to learn about WebSockets and how they are useful. For my project, they were essential, without a functional WebSocket I would not have been able to access real-time market data, therefore making my project obsolete.

Thirdly, after some time and thinking, I realized my program is not very user-friendly. To solve this challenge I created a Graphical User Interface (GUI). The goal of this was to give the user the choice of when to execute certain functions in an easier manner than calling a certain function in the command line terminal. To make the GUI more appealing I gave it a unique style. The Python package I used to create the GUI was called PySimpleGUI. I had not heard of this package before so I had to teach myself about it by reading the documentation.

Overall, I learned a lot of new tech skills and how to think like a user and provide solutions to potential future problems.

The functional GUI I created aka the Crypto Command Center:

Screen Shot 2022-07-22 at 8 11 21 PM

This is an example of the Coinbase Pro Sandbox tradeview homepage. This is where the function calls for buying, selling, and such will be shown. **Not an image of my actual account homeview.

CB Pro Example of Trade view

License Copyright [2023] [Noah Pilkington]

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.