crypto-trading-bot-go

command module
v0.0.0-...-a47f6b9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 7, 2023 License: MIT Imports: 8 Imported by: 0

README

Cryptocurrency Trading Bot in Go

This repository is part of a YouTube series on creating a cryptocurrency trading bot in Go. To follow this series, please visit the Youtube channel

Requirements

Git (Required)

In order to checkout this code, first install Git and clone the code using the tools above.

Go (Required)

In order to get started, please install Go version 1.19 or above.

Make (Required)
Windows

Please refer to this guide in order to install on Windows.

Linux

You'll likely know how to do this, but refer to your package manager for instructions. If you're on ubuntu, it'll probably be:

$ sudo apt-get -y install make
macOS

I've not used macOS in a number of years, but you should be able to use Make once you've installed Xcode developer tools.

golanglint-ci (Optional)

To be able to lint the code, you'll need to install the golanglint-cli package as per the instructions.

Running the code

You should watch the series before attempting to run this code. It's unfinished in it's current form and will not work without you making some adjustments.

In case you need a reminder, here are the following supported commands

Help

All the commands are viewable by running

make help
Building
make build
Testing
make test
Running
make run
Linting
make lint

FAQs

Will this make me rich from trading?

No, this code will not make you rich. In order for that to happen, you'll need to be an expert at trading, and even then you're up against other experts.

This code will help you to understand how to create trading bots and to become a software developer. This will give you the necessary tools to build your own trading strategies.

Can you write a strategy that will make me rich?

No, whilst I know how to write software, I am a terrible trader. I have my own strategies when it comes to investments and I stick to them (for better or worse).

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package app provides functionality for the application logic and startup as well as types to manage the application resources.
Package app provides functionality for the application logic and startup as well as types to manage the application resources.
Package exchange provides clients for communicating with exchanges.
Package exchange provides clients for communicating with exchanges.
Package generator provides types that typically generate non deterministic values.
Package generator provides types that typically generate non deterministic values.
Package order holds structs for the various order types that can be made.
Package order holds structs for the various order types that can be made.
Package trading provides constants that represent the trading assets and pairs, such BTC, USD, ETH and their pairs such as BTC/USD, BTC/EUR, ETH/USD etc This package provides these in order to have a centralized representation that can be used by other functions.
Package trading provides constants that represent the trading assets and pairs, such BTC, USD, ETH and their pairs such as BTC/USD, BTC/EUR, ETH/USD etc This package provides these in order to have a centralized representation that can be used by other functions.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL