-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added Nefertiti script templates for Coinbase, Binance and KuCoin.
- Loading branch information
Showing
16 changed files
with
456 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#!/bin/sh | ||
|
||
# Author: Roberto Leon | ||
# Description: Simple Nefertiti Crypto Trading Bot Buy Script (Binance) | ||
# Crypto Base Scanner (CBS) Signals | ||
|
||
### Keys | ||
sigprov="cryptobasescanner.com" | ||
sigkey="x" | ||
apikey="x" | ||
apisec="x" | ||
telekey="x" | ||
telechat="x" | ||
pushapp="x" | ||
pushkey="x" | ||
|
||
### Settings | ||
exchange="BINA" | ||
cluster="1" | ||
quote="USDT" | ||
price="15" | ||
mult="1.03" | ||
repeat="0.0084" # [30 seconds] = 0.5 * (100/60/100) | ||
ignore="leveraged" | ||
|
||
### Build params string | ||
params=" | ||
--exchange=$exchange \ | ||
--cluster=$cluster \ | ||
--quote=$quote \ | ||
--price=$price \ | ||
--mult=$mult \ | ||
--repeat=$repeat \ | ||
--ignore=$ignore \ | ||
--signals=$sigprov \ | ||
--crypto-base-scanner-key=$sigkey \ | ||
--api-key=$apikey \ | ||
--api-secret=$apisec \ | ||
--telegram-app-key=$telekey \ | ||
--telegram-chat-id=$telechat \ | ||
--pushover-app-key=$pushapp \ | ||
--pushover-user-key=$pushkey \ | ||
--dca" | ||
|
||
### Execute Nefertiti | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Executing buy bot for $sigprov signals with the following settings:" | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Exchange: $exchange | Price: $price | TP: `echo "($mult-1)*100" | bc`% | Repeat: Every $repeat hour(s)" | ||
cryptotrader buy $params |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/sh | ||
|
||
# Author: Roberto Leon | ||
# Description: Simple Nefertiti Crypto Trading Bot Buy Script (Binance) | ||
# Built-in Default Strategy | ||
|
||
### Keys | ||
apikey="x" | ||
apisec="x" | ||
telekey="x" | ||
telechat="x" | ||
pushapp="x" | ||
pushkey="x" | ||
|
||
### Settings | ||
exchange="BINA" | ||
cluster="1" | ||
price="15" | ||
mult="1.03" | ||
repeat="1" | ||
dip="7" | ||
|
||
### Markets | ||
markets=$(cat markets.now) | ||
|
||
### Build params string | ||
params=" | ||
--exchange=$exchange \ | ||
--cluster=$cluster \ | ||
--price=$price \ | ||
--mult=$mult \ | ||
--repeat=$repeat \ | ||
--dip=$dip \ | ||
--market=$markets \ | ||
--api-key=$apikey \ | ||
--api-secret=$apisec \ | ||
--telegram-app-key=$telekey \ | ||
--telegram-chat-id=$telechat \ | ||
--pushover-app-key=$pushapp \ | ||
--pushover-user-key=$pushkey \ | ||
--dca" | ||
|
||
### Execute Nefertiti | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Executing buy bot with the following settings:" | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Exchange: $exchange | Price: $price | TP: `echo "($mult-1)*100" | bc`% | Repeat: Every $repeat hour(s)" | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Markets:" $markets | ||
#cryptotrader buy $params |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
#!/bin/sh | ||
|
||
# Author: Roberto Leon | ||
# Description: Simple Nefertiti Crypto Trading Bot Sell Script (Binance) | ||
# Built-in Default Strategy | ||
|
||
### Keys | ||
apikey="x" | ||
apisec="x" | ||
telekey="x" | ||
telechat="x" | ||
pushapp="x" | ||
pushkey="x" | ||
|
||
### Settings | ||
exchange="BINA" | ||
cluster="1" | ||
quote="USDT" | ||
hold="BNBUSDT" | ||
mult="1.03" | ||
|
||
### Build params string | ||
params=" | ||
--exchange=$exchange \ | ||
--cluster=$cluster \ | ||
--quote=$quote \ | ||
--hold=$hold \ | ||
--mult=$mult \ | ||
--api-key=$apikey \ | ||
--api-secret=$apisec \ | ||
--telegram-app-key=$telekey \ | ||
--telegram-chat-id=$telechat \ | ||
--pushover-app-key=$pushapp \ | ||
--pushover-user-key=$pushkey" | ||
|
||
### Execute Nefertiti | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Executing sell bot with the following settings:" | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Exchange: $exchange | Quote: $quote | TP: `echo "($mult-1)*100" | bc`%" | ||
cryptotrader sell $params |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apps: | ||
- script : ./binance-sell.sh | ||
name : Binance-Sell | ||
log_file : "logs/sell.log" | ||
autorestart : false | ||
- script : ./binance-buy-cbs.sh | ||
name : Binance-Buy-CBS | ||
log_file : "logs/buy-cbs.log" | ||
autorestart : false | ||
- script : ./binance-buy-default.sh | ||
name : Binance-Buy-Default | ||
log_file : "logs/buy-default.log" | ||
autorestart : false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
api.binance.com | ||
api1.binance.com | ||
api2.binance.com | ||
api3.binance.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
|
||
URLs=binance-urls.txt | ||
|
||
cat $URLs | while read url | ||
|
||
do | ||
average=`ping -c 10 $url | grep rtt | cut -d '/' -f 5` | ||
if [ $average == "" ]; then | ||
continue | ||
fi | ||
echo "Server: $url - Avg: $average" | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
PAIRONE,PAIRTWO,PAIRTHREE,PAIRFOUR,PAIRFIVE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/sh | ||
|
||
# Author: Roberto Leon | ||
# Description: Simple Nefertiti Crypto Trading Bot Buy Script (Coinbase) | ||
# Crypto Base Scanner (CBS) Signals | ||
|
||
### Keys | ||
sigprov="cryptobasescanner.com" | ||
sigkey="x" | ||
apikey="x" | ||
apisec="x" | ||
apipass="x" | ||
telekey="x" | ||
telechat="x" | ||
pushapp="x" | ||
pushkey="x" | ||
|
||
### Settings | ||
exchange="GDAX" | ||
quote="USD" | ||
price="15" | ||
mult="1.03" | ||
repeat="0.0084" # [30 seconds] = 0.5 * (100/60/100) | ||
ignore="leveraged" | ||
|
||
### Build params string | ||
params=" | ||
--exchange=$exchange \ | ||
--quote=$quote \ | ||
--price=$price \ | ||
--mult=$mult \ | ||
--repeat=$repeat \ | ||
--ignore=$ignore \ | ||
--signals=$sigprov \ | ||
--crypto-base-scanner-key=$sigkey \ | ||
--api-key=$apikey \ | ||
--api-secret=$apisec \ | ||
--telegram-app-key=$telekey \ | ||
--telegram-chat-id=$telechat \ | ||
--pushover-app-key=$pushapp \ | ||
--pushover-user-key=$pushkey \ | ||
--dca" | ||
|
||
### Execute Nefertiti | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Executing buy bot for $sigprov signals with the following settings:" | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Exchange: $exchange | Price: $price | TP: `echo "($mult-1)*100" | bc`% | Repeat: Every $repeat hour(s)" | ||
cryptotrader buy $params |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
#!/bin/sh | ||
|
||
# Author: Roberto Leon | ||
# Description: Simple Nefertiti Crypto Trading Bot Buy Script (Coinbase) | ||
# Built-in Default Strategy | ||
|
||
### Keys | ||
apikey="x" | ||
apisec="x" | ||
apipass="x" | ||
telekey="x" | ||
telechat="x" | ||
pushapp="x" | ||
pushkey="x" | ||
|
||
### Settings | ||
exchange="GDAX" | ||
quote="USD" | ||
price="15" | ||
mult="1.03" | ||
repeat="1" | ||
dip="7" | ||
|
||
### Markets | ||
markets="all" | ||
|
||
### Build params string | ||
params=" | ||
--exchange=$exchange \ | ||
--quote=$quote \ | ||
--price=$price \ | ||
--mult=$mult \ | ||
--repeat=$repeat \ | ||
--dip=$dip \ | ||
--market=$markets \ | ||
--api-key=$apikey \ | ||
--api-secret=$apisec \ | ||
--api-passphrase=$apipass \ | ||
--telegram-app-key=$telekey \ | ||
--telegram-chat-id=$telechat \ | ||
--pushover-app-key=$pushapp \ | ||
--pushover-user-key=$pushkey \ | ||
--dca" | ||
|
||
### Execute Nefertiti | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Executing buy bot with the following settings:" | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Exchange: $exchange | Price: $price | TP: `echo "($mult-1)*100" | bc`% | Repeat: Every $repeat hour(s)" | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Markets:" $markets | ||
cryptotrader buy $params |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
#!/bin/sh | ||
|
||
# Author: Roberto Leon | ||
# Description: Simple Nefertiti Crypto Trading Bot Sell Script (Coinbase) | ||
# Built-in Default Strategy | ||
|
||
### Keys | ||
apikey="x" | ||
apisec="x" | ||
apipass="x" | ||
telekey="x" | ||
telechat="x" | ||
pushapp="x" | ||
pushkey="x" | ||
|
||
### Settings | ||
exchange="GDAX" | ||
quote="USD" | ||
mult="1.03" | ||
|
||
### Build params string | ||
params=" | ||
--exchange=$exchange \ | ||
--quote=$quote \ | ||
--mult=$mult \ | ||
--api-key=$apikey \ | ||
--api-secret=$apisec \ | ||
--api-passphrase=$apipass \ | ||
--telegram-app-key=$telekey \ | ||
--telegram-chat-id=$telechat \ | ||
--pushover-app-key=$pushapp \ | ||
--pushover-user-key=$pushkey" | ||
|
||
### Execute Nefertiti | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Executing sell bot with the following settings:" | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Exchange: $exchange | Quote: $quote | TP: `echo "($mult-1)*100" | bc`%" | ||
cryptotrader sell $params |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
apps: | ||
- script : ./coinbase-sell.sh | ||
name : Coinbase-Sell | ||
log_file : "logs/sell.log" | ||
autorestart : false | ||
- script : ./coinbase-buy-cbs.sh | ||
name : Coinbase-Buy-CBS | ||
log_file : "logs/buy-cbs.log" | ||
autorestart : false | ||
- script : ./coinbase-buy-default.sh | ||
name : Coinbase-Buy-Default | ||
log_file : "logs/buy-default.log" | ||
autorestart : false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
#!/bin/sh | ||
|
||
# Author: Roberto Leon | ||
# Description: Simple Nefertiti Crypto Trading Bot Buy Script (KuCoin) | ||
# Crypto Base Scanner (CBS) Signals | ||
|
||
### Keys | ||
sigprov="cryptobasescanner.com" | ||
sigkey="x" | ||
apikey="x" | ||
apisec="x" | ||
apipass="x" | ||
telekey="x" | ||
telechat="x" | ||
pushapp="x" | ||
pushkey="x" | ||
|
||
### Settings | ||
exchange="KUCN" | ||
quote="USDT" | ||
price="15" | ||
mult="1.03" | ||
repeat="0.0084" # [30 seconds] = 0.5 * (100/60/100) | ||
ignore="leveraged" | ||
|
||
### Build params string | ||
params=" | ||
--exchange=$exchange \ | ||
--quote=$quote \ | ||
--price=$price \ | ||
--mult=$mult \ | ||
--repeat=$repeat \ | ||
--ignore=$ignore \ | ||
--signals=$sigprov \ | ||
--crypto-base-scanner-key=$sigkey \ | ||
--api-key=$apikey \ | ||
--api-secret=$apisec \ | ||
--telegram-app-key=$telekey \ | ||
--telegram-chat-id=$telechat \ | ||
--pushover-app-key=$pushapp \ | ||
--pushover-user-key=$pushkey \ | ||
--dca" | ||
|
||
### Execute Nefertiti | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Executing buy bot for $sigprov signals with the following settings:" | ||
echo $(date +"%Y/%m/%d %H:%M:%S") "[INFO] Exchange: $exchange | Price: $price | TP: `echo "($mult-1)*100" | bc`% | Repeat: Every $repeat hour(s)" | ||
cryptotrader buy $params |
Oops, something went wrong.