VantageSignals OverBot Overbought/Oversold Bot

~ 0 min
2020-08-17 22:46

Below is a capture of the help from the application/script. just create a shell script to run the app with the switches configured as you desire and your signal channel will be online. The script can report to Discord channel or public Telegram channel.

APi Subscription requirements: Price,  Xdom orderbooks(User preference), oflow (user preference), 7d or longer.  Number of API calls depends on how often you poll and how many assets you are polling.


  • Source code (Clone or download)
  • Self installer "python3.7 setup.py install" see readme in repo
  • Redis is optional but important if you want to be able to kill and restart the process without lossing post flag performance reports (You must install Redis to use it)
  • If you have questions you can aks us in our help discord channel
  • You can see the markets, assets and values to qualify your signal settings at https://vcdepth.io
  • Different Scripts require different subscriptions to support, make sure you have the API data you need for the script
  • A script must run for each asset/market you want to monitor
  • Old app was vc-discord-3xmom, new app is vc-signals-3xmom
  • We are in the process of releasing 1 hour, 3 hour and 24 hour running averages in conjunction to real time values, this script is ready to use the values once they are available.
  • Opensource and our API is a liberal license to use our data for profit but you should state that you use VantageCrypto data in your channel description per VantageAPI user agreement.

Usage Example:

vc-signals-overbot -a COMP -m GLOBAL -i 5 -tsell 7 -tbuy 7 --obuy-cooldown 360 --osell-cooldown 360 -ti1 1 -ti2 3 -ti3 6 -obm -6 -osm 5 -md 100 -mdrav rt -d 30d -r redis:localhost:6379 VANTAGECRYPTO_API_KEY https://discord.com/api/webhooks/12345678abcdefg1a2b3c --debug  >> /var/log/bots/3xmombot_lend.log &

This script

  • Checks COMP values in global markets every 5 minutes
  • We have to see a bear signal 7 times before we flag the signal in channel (35 minutes)
  • We have to see the bull flag 7 times before we signal in channel (35 minutes)
  • Both the bull and the bear signals must wait 6 hours before signalling again.
  • The script will take a report of performance at 1, 3 & 6 hours after a flag (and report in channel)
  • To signal overbought when the Market Depth Ratio (MDR) is -6
  • To signal oversold when the MDR is > 5
  • Use 100% market depth values
  • We use real-time value instead of average value
  • We are using a 30 day historical data subscription
  • We use redis to store performance reports
  • We pump the alert out to a discord channel webhook
  • We are debugging so we see the API calls and the logic in action and we pump all the output into a log file
  • We run it in the background.

It doesnt take much to make this script signals easier or more difficult to trigger just adjust poll interval, overbougt/over sold criteria, Order Flow Ratio (OFR), running average or market depth to dramatically change signal.  Using lower values are good for short term trends and using higher values does better to idnetify major long term trends.


usage: vc-signals-overbot [-h] [-a ASSET] [-m MARKET] [-i INTERVAL] [-r REDIS]
[-ti1 TRACKER_INTERVAL_1] [-ti2 TRACKER_INTERVAL_2]
[-ti3 TRACKER_INTERVAL_3]
[--obuy-cooldown OBUY_COOLDOWN]
[--osell-cooldown OSELL_COOLDOWN] [-obm OBUYMDR]
[-osm OSELLMDR] [-obo OBUYOFR] [-oso OSELLOFR]
[-md MARKET_DEPTH] [-mdrav MDR_AVERAGE]
[-ofrav OFR_AVERAGE] [-tbuy BUY_THRESHOLD]
[-tsell SELL_THRESHOLD] [-d DURATION] [--silent]
[--pr] [--acc] [--clear] [--debug]
api_key webhook

Discord signals for crypto currency changes via Vantage Crypto.

positional arguments:
api_key api key for Vantage Crypto
webhook discord webhook url

optional arguments:
-h, --help show this help message and exit

-a ASSET, --asset ASSET
asset to check (default: BTC)

-m MARKET, --market MARKET
market for price check (default: GLOBAL)

-i INTERVAL, --interval INTERVAL
interval of checks in minutes (default: 5)

-r REDIS, --redis REDIS
redis url (default: redis://localhost:6379)

-ti1 TRACKER_INTERVAL_1, --tracker-interval-1 TRACKER_INTERVAL_1
How many hours before we perform the first post flag
performance report (default: 1)

-ti2 TRACKER_INTERVAL_2, --tracker-interval-2 TRACKER_INTERVAL_2
How many hours before we perform the second post flag
performance report (default: 3)

-ti3 TRACKER_INTERVAL_3, --tracker-interval-3 TRACKER_INTERVAL_3
How many hours before we perform the third post flag
performance report (default: 24)

--obuy-cooldown OBUY_COOLDOWN
How many minutes after an over bought triggers before
the script can trigger a flag again (default: 1440)

--osell-cooldown OSELL_COOLDOWN
How many minutes after an over sold triggers before
the script can trigger a flag again (default: 1440)

-obm OBUYMDR, --obuymdr OBUYMDR
What % MDR should be witness for an Over Bought signal
(default: -20)

-osm OSELLMDR, --osellmdr OSELLMDR
What % MDR should be witness for an Oversold signal
(default: 20)

-obo OBUYOFR, --obuyofr OBUYOFR
What % OFR should be witness for an Over Bought signal
(default: -20)

-oso OSELLOFR, --osellofr OSELLOFR
What % OFR should be witness for an Oversold signal
(default: 20)

-md MARKET_DEPTH, --market-depth MARKET_DEPTH
What depth of market should we watch? (1,2.5,5,10,100)
(default: 100)

-mdrav MDR_AVERAGE, --mdr-average MDR_AVERAGE
What MDR avg should we use: real-time, 1 hour, 3 hour
or 24 hour (rt,1,3,24) (default: rt)

-ofrav OFR_AVERAGE, --ofr-average OFR_AVERAGE
What OFR avg should we use: real-time, 1 hour, 3 hour
or 24 hour (rt,1,3,24) (default: rt)

-tbuy BUY_THRESHOLD, --buy-threshold BUY_THRESHOLD
How many times we need to see MDR and/or OFR
conditions match before flagging over bought? (1-100)
(default: 1)

-tsell SELL_THRESHOLD, --sell-threshold SELL_THRESHOLD
How many times we need to see MDR and/or OFR
conditions match before flagging over sold? (1-100)
(default: 1)

-d DURATION, --duration DURATION
Specifies the duration of API subscription being used
(rt, 7d, 30d, 90d, 1y) (default: rt)

--silent Do not send post flag reports (default: False)

--pr Create a performance report (default: False)

--acc Accumulate data for the performance report. Should be
used with --pr flag (default: False)

--clear clear all data for market/asset (default: False)

--debug enable debug logging (default: False)

-h, --help show this help message and exit

 

Average rating 0 (0 Votes)

You cannot comment on this entry