BlueBot is an open-source trading bot that can be customized to handle specific investment strategies.

BlueBot

Quick Note

BlueBot and all mentioned services are free to use, including supported financial APIs.

Overview

BlueBot is a self-healing trading bot. You can get started by building a custom stock screener from Free Stock Screener - Yahoo Finance and setting it in the global scope.

This project supports the following:

  1. Custom Stock Screening
  2. Historical & Real-Time Data Collection
  3. Technical Analysis (eg. Bollinger Bands, VWAP)
  4. Custom Trade Strategies (eg. Backtesting)
  5. Conditional Trade Execution (WIP)

How To Get Started

Root file main.go contains the general structure and configuration for this project.

  1. Custom Yahoo Finance stock screener endpoint can be attached on line line 16.


     YF_SCREENER_URL = "" // Set custom yahoo finance screener endpoint
    

    Note: global URL will live for only a month and will have recreated if used actively. A future OAuth tool will allow endpoints to add so that the Yahoo Finance screener will come from inside a Yahoo account.


  2. Trading strategies can be easily implemented.


     // An example trade strategy
     
     func Strategy(mc *MainConfig) (string, interface{}) {
     	t.Sort(2.00)
    
     	m1 := Short(t, mc.c)
    
     	m2 := Sift(m1)
    
     	m2 := Mechanics(FetchLong(m1.Ticker, NewFetchConfig(HOUR, "1", 365)), NewLongMechConfig())
    
     	Check(m1.Ticker, EMA)
     }
    

    Later a custom strategy can be added and placed inside the following code block on line 48.

     for {
    
     	t := <-mc.tOut
    
     	Strategy(mc) // Custom trade strategy goes here
    
     	time.Sleep(60 * time.Second)
    
     }
    

Historical Support

For historical data collection, you can choose from three different services: Alpha Vantage, IEX Cloud, and Polygon.io. Any API keys will need to be placed inside a local env file.

Real-Time Support

For real-time data collection, you will need to collect API keys from Alpaca, an algorithmic stock trading for developers with margin availability and fractional shares. Any API keys will need to be placed inside a local env file.

Owner
Coby Eastwood
Software Developer @stratusdata
Coby Eastwood
Similar Resources

Automated Trader (at). Framework for building trading bots.

Automated Trader (at). Framework for building trading bots.

Automated Trader (at) Purpose: Framework for building automated trading strategies in three steps: Build your own strategy. Verify it with the backtes

Dec 14, 2022

Tripwire is trading platform interface

Tripwire A Golang SDK for binance API. All the REST APIs listed in binance API document are implemented, as well as the websocket APIs. For best compa

Nov 28, 2021

InStockBot notifies a selected Discord channel when a specific product is back in stock

InStockBot notifies a selected Discord channel when a specific product is back in stock

Jan 20, 2022

Auto send check-in message to Slack channel at a specific time.

Auto send check-in message to Slack channel at a specific time.

Auto Slack Check-in auto-slack-checkin is a command line interface (CLI) that sends check-in or check-out message for you while you are sleeping 🛌.

Feb 15, 2022

A bot based on Telegram Bot API written in Golang allows users to download public Instagram photos, videos, and albums without receiving the user's credentials.

InstagramRobot InstagramRobot is a bot based on Telegram Bot API written in Golang that allows users to download public Instagram photos, videos, and

Dec 16, 2021

Dlercloud-telegram-bot - A Telegram bot for managing your Dler Cloud account

Dler Cloud Telegram Bot A Telegram bot for managing your Dler Cloud account. Usa

Dec 30, 2021

Quote-bot - Un bot utilisant l'API Twitter pour tweeter une citation par jour sur la programmation et les mathématiques.

Description Ceci est un simple bot programmé en Golang qui tweet une citation sur la programmation tout les jours. Ce bot est host sur le compte Twitt

Jan 1, 2022

Discord-bot - A Discord bot with golang

JS discord bots Install Clone repo git clone https://github.com/fu-js/discord-bo

Aug 2, 2022

Bot - Telegram Music Bot in Go

Telegram Music Bot in Go An example bot using gotgcalls. Setup Install the serve

Jun 28, 2022
A golang implementation of a console-based trading bot for cryptocurrency exchanges
A golang implementation of a console-based trading bot for cryptocurrency exchanges

Golang Crypto Trading Bot A golang implementation of a console-based trading bot for cryptocurrency exchanges. Usage Download a release or directly bu

Dec 30, 2022
The modern cryptocurrency trading bot written in Go.

bbgo A trading bot framework written in Go. The name bbgo comes from the BB8 bot in the Star Wars movie. aka Buy BitCoin Go! Current Status Features E

Jan 2, 2023
A fast cryptocurrency trading bot implemented in Go
A fast cryptocurrency trading bot implemented in Go

A fast cryptocurrency bot framework implemented in Go. Ninjabot permits users to create and test custom strategies for spot markets. ⚠️ Caution: Worki

Jan 1, 2023
CryptoPump is a cryptocurrency trading bot that focuses on high speed and flexibility
CryptoPump is a cryptocurrency trading bot that focuses on high speed and flexibility

CryptoPump is a cryptocurrency trading bot that focuses on high speed and flexibility. The algorithms utilize Go Language and WebSockets to react in real-time to market movements based on Bollinger statistical analysis and pre-defined profit margins.

Nov 24, 2022
A golang implementation of a console-based trading bot for cryptocurrency exchanges
A golang implementation of a console-based trading bot for cryptocurrency exchanges

Golang Crypto Trading Bot A golang implementation of a console-based trading bot for cryptocurrency exchanges. Usage Download a release or directly bu

Jun 4, 2022
Crypto signal trading bot

Crypto-signal-trading-bot Firstly a warning This project has the ability to spen

Dec 15, 2022
A trading robot, that can submit basic orders in an automated fashion.
A trading robot, that can submit basic orders in an automated fashion.

Source: https://github.com/harunnryd/btrade Issues: https://github.com/harunnryd/btrade/issues Twitter: @harunnryd LinkedIn: @harunnryd btrade is a ro

Jan 26, 2022
Bot-template - A simple bot template for creating a bot which includes a config, postgresql database

bot-template This is a simple bot template for creating a bot which includes a c

Sep 9, 2022
HoloBot — An open-source Discord bot for Hololive fans, built with Go.

HoloBot HoloBot — An open-source Discord bot for Hololive fans, built with Go. Installation From Binary Download holobot binary here. Create a file ca

Dec 17, 2021
Open-IM-Server is open source instant messaging Server.Backend in Go.
Open-IM-Server is open source instant messaging Server.Backend in Go.

Open-IM-Server Open-IM-Server: Open source Instant Messaging Server Instant messaging server. Backend in pure Golang, wire transport protocol is JSON

Jan 2, 2023