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
"config" : { | |
"base_currency" : "xxxx", | |
"quote_currency" : "xxxx", | |
"live" : 1, | |
"sellatloss" : 1, | |
"selllowerpcnt" : -15, | |
"nosellminpcnt" : -5, | |
"nosellmaxpcnt" : 5, | |
"trailingstoplosstrigger" : 10, | |
"trailingstoploss" : -1.5, |
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
#!/usr/bin/env bash | |
# Script created by @fatherofluqmaan using Bash | |
# Utilising Interlace (created by Codingo), pycryptobot (created by Michael Whittle), notify (Created by projectdiscovery) | |
dte=$(date +"%Y-%m-%d %T") | |
dt=$(date +"%Y-%m-%d") | |
inF="./short-pairs.txt" | |
c=$(< "short-pairs.txt" wc -l) | |
a="$c" |
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
#!/usr/bin/env bash | |
# Script created by @fatherofluqmaan using Bash | |
# Utilising Interlace (s: https://github.com/codingo/Interlace) | |
# pycryptobot (s: https://github.com/whittlem/pycryptobot) | |
# notify (s: https://github.com/projectdiscovery/notify) | |
dte=$(date +"%Y-%m-%d %T") | |
dt=$(date +"%Y-%m-%d") | |
inF="./pairs.txt" | |
c=$(< "pairs.txt" wc -l) |
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
# to highlight the reason -6% happened, 2 trades, one approx. -13% & one approx. ~8% | |
-------------------------------------------------------------------------------- | |
| Python Crypto Bot | | |
-------------------------------------------------------------------------------- | |
| Release : v3.2.4 | | |
-------------------------------------------------------------------------------- | |
| Bot Mode : TEST - test trades using dummy funds :) | | |
| Bot Started : 2021-08-12 22:02:04.217214 | | |
================================================================================ |
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
from datetime import datetime | |
from pandas import DataFrame | |
from models.PyCryptoBot import PyCryptoBot | |
from models.AppState import AppState | |
from models.helper.LogHelper import Logger | |
class Strategy(): | |
def __init__(self, app: PyCryptoBot=None, state: AppState=AppState, df: DataFrame=DataFrame, iterations: int=0) -> None: | |
if not isinstance(df, DataFrame): | |
raise TypeError("'df' not a Pandas dataframe") |
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
#!/usr/bin/env bash | |
while true; do | |
clear | |
theDate=$(date +"%Y-%m-%d %T") | |
echo "[+] Bot Stats Tracker running..." | |
echo "Getting stats for bots $theDate" | notify -silent | |
sleep 1 |
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
{ | |
"coinbasepro" : { | |
"api_url" : "https://api.pro.coinbase.com", | |
"api_key_file" : "coinbase.key", | |
"config" : { | |
"live" : 0, | |
"sellatloss" : 0, | |
"sellatresistance" : 0, | |
"buymaxsize" : 50, | |
"trailingstoploss" : -1.5, |
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
#!/usr/bin/env bash | |
rm -f short-simbot-run.txt | |
echo "[+] enter the following:" | |
echo "Coinbase pair that you want to run (format ETH-EUR, QNT-USD, LINK-GBP)" | |
read -r pre | |
echo "Granularity (86400,21600,3600,900)" | |
read -r grn |
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
#!/usr/bin/env bash | |
rm short-simbot-run.txt | |
dte=$(date +"%Y-%m-%d %T") | |
dt=$(date +"%Y-%m-%d") | |
c=$(< "pairs.txt" wc -l) | |
a="$c" | |
simst='2021-07-25' | |
simen='2021-08-05' |