Skip to content

jcvilap/crypto-day-trader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypto Day-Trader

This project is the result of many small failed attempts to build a true commission-free trading engine. It was possible for me to work on it after Robinhood released crypto-currencies support. Although coupled to Robinhood API, this code is easily extendable to any broker or API.

Deploy

Milestones

Setup

  • Set up a Node server and deploy it to Heroku
  • Setup a Mongo instance in mLab and connect to it from Node

Server

  • Handle security based on Robinhood account
  • Listen to changes on selected crypto-currency (for now only one currency is supported)
  • Fetch user account info from Robinhood
  • Define Rule class
  • Fetch user rules from database
  • Enable Buy/Sell actions
  • Calculate and incorporate RSI analysis to Buy/Sell strategies
  • Perform analysis based on rules attributes

Rules

I define a Rule as a single instance of multiple trading strategies to be used by the Engine. Rules can be defined by the user and will be stored in the Mongo instance

License

Copyright (c) 2018 Mauer Principles Inc

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Crypto-currency trading engine written in NodeJS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages