GithubHelp home page GithubHelp logo

w1r2p1 / horus Goto Github PK

View Code? Open in Web Editor NEW

This project forked from danielochoa/horus

0.0 1.0 0.0 7.24 MB

Horus is a platform to automate various tasks for crypto day trading. It's still on a very early stage.

Go 100.00%

horus's Introduction

HORUS

Horus is a platform to automate various tasks for crypto day trading.

Step 1

Build a script that pings GDAX currencies endpoint to see if a new cryptocurrency has been added to their platform. If so, notify me by msn when this occurs. The script will run this check every 10 minutes by default.

More features coming soon.

Running

You'll need go installed, then run go build on the project's root directory.

To run: go run main.go -time 10

The project depends on a .env and .env.test file for running tests. It needs the following settings:

TWILIO_ACCOUNT_SID="xxx"
TWILIO_AUTH_TOKEN="xxx"
TWILIO_FROM_NUMBER="+1xxx"
TWILIO_TO_NUMBER="+1xxx"
CACHED_DATA_PATH="/src/horus/data/currencies.json"

Script arguments

  • The time argument is optional and it specifies the interval time in seconds between every currency endpoint check vs a local cached copy of it.
  • The cachedCurrenciesPath is optional. It defaults to the path of /data/currencies.json. Useful if you want to test with a modified json file in order to functionally test the script will work when needed.

Running all tests

go test ./.... Note that while it runs all tests, it also runs dependencies test (or all packages in your go/src location for that matter).

Author

Daniel Ochoa

horus's People

Contributors

danielochoa avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.