Giter Club home page Giter Club logo

discryptord's Introduction

discryptord v0.5.5

A Discord bot that will amaze your friends by emitting a chart for any magic internet currency.

Example

Usage

!<TICKER> [?<BASE>] [?-(3d|w|m|3m|6m|y)] [?-(rsi)] [?-(log)]

Options

Time Range

Examples:

# ETH/BTC ()
!eth btc      # 24h/1d in 10m ticks 
!eth btc -w   # 7d/1w in 1h ticks
!eth btc -m   # 30d/1m in 6h ticks
!eth btc -3m  # 90d/3m in 6h ticks

# ETH/USD
!eth          # 24h/1d in 10m ticks 

As you can see, if <BASE> is ommited, then it defaults to "usd". The -3d changes the output range from 24h/1d to 72h/3d. The -w changes the output range from 24h/1d to 7d/1w. The -m changes the output range from 24h/1d to 30d/1m. The -3m changes the output range from 24h/1d to 90d/3m. The -6m changes the output range from 24h/1d to 180d/6m. The -y changes the output range from 24h/1d to 365d/1y. The -5y changes the output range from 24h/1d to 1,825d/5y.

Technical Analysis

As of right now, we're testing customizable TA support. Only RSI is available right now, but I expect to bring many more indicators at some point in the future. These can be chained in tandem with -3d, -w, -m, etc.

Examples:

!eth -rsi
!eth -w -rsi
!eth -rsi -m

Chart Scaling

By default, the chart will be formatted using linear scaling. If you want to change it to logarithmic scaling (like us master pros), there's a flag available.

!eth -log

The -log flag can be chaned with anything other flag flawlessly.

Install

The ancient method of invoking this minor god has long been forgotten... So if you want to invite our evil friend into your realm, our leading scientists believe the magic cantation with the most promise goes something like:

% go get github.com/flamingyawn/discryptord

It's simple to summon our bot onces its dwelling in your proximity. Just recite the following on a night with a new moon during the eve of planets' alignment after drawing salt circle around 3 candles with black flames:

% go install
% go build

No promises, doe.

Getting Started

First, create a bot friend on discord. Then invite it to the channel(s) you want it to stalk... Next, copy its BOT_TOKEN to your magic clipboard.

Go into this package's home directory and whisper this into your terminal:

% echo "<BOT_TOKEN>" >> .token

Finally, speak

% sh start.sh

to start the real fun.

halp donate plz

Of course, I made this little guy with ❤️ and offer him completely for free! But if you find him useful and want to help keep me developing, then I love you long time. ETH: 0x0f8c31fa23b21f23565db1e0938ebf41dd2ec5cd

License

This project is under MIT License. See the LICENSE file for full license text.

discryptord's People

Contributors

flamingyawn avatar tlip avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

discryptord's Issues

Package lib/message

Hello, I'm new to using GO , getting this error about missing package.
I installed Go 1.9

root@vultr:/home/discryptord-master# go build
main.go:10:2: cannot find package "lib/message" in any of:
/usr/local/go/src/lib/message (from $GOROOT)
/root/Projects/Proj1/src/lib/message (from $GOPATH)

Issue with -log flag when the trade price is < 1

This obviously comes from the fact that log(x) for all positive x < 1 is negative.
Easy fix but haven't gotten around to it yet.

As an example, when !eth btc -6m -log is invoked, the following response occurs:

image

DrawChart: unkown field Show

Hello,
I got this error, i test it with go1.14/1.13/1.12/1.11/1.10 without success.

[devone]-[~]: go get -u github.com/flamingyawn/discryptord
# github.com/flamingyawn/discryptord/lib/drawer
lib/drawer/DrawChart.go:58:4: unknown field 'Show' in struct literal of type chart.Style
lib/drawer/DrawChart.go:68:4: unknown field 'Show' in struct literal of type chart.Style
lib/drawer/DrawChart.go:78:4: unknown field 'Show' in struct literal of type chart.Style
lib/drawer/DrawChart.go:89:5: unknown field 'Show' in struct literal of type chart.Style
lib/drawer/DrawChart.go:99:5: unknown field 'Show' in struct literal of type chart.Style
lib/drawer/DrawChart.go:110:5: unknown field 'Show' in struct literal of type chart.Style
lib/drawer/DrawChart.go:139:5: unknown field 'Show' in struct literal of type chart.Style
lib/drawer/DrawChart.go:144:23: unknown field 'Show' in struct literal of type chart.Style

Kind regards,
existful

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.