-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathStartHere.py
More file actions
65 lines (51 loc) · 1.84 KB
/
Copy pathStartHere.py
File metadata and controls
65 lines (51 loc) · 1.84 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
# Welcome To Novixel's Bitcoin Boxer!!
# Version 1 - First Official Release
# April 17, 2021
#
# StartHere.py
#
# Just in time!
from time import sleep
from datetime import datetime
import TheBot
# Starting time for the program!
start = datetime.now()
# Welcome to the danger zone!
print("\n\n\n\t#** Thank you for choosing Novixel Development Solutions **#\n\n")
print("\t\tStart Time\t:\t", start)
# Always read the README!
# Enter The Currency Pair You Would Like To Trade With!
CurrencyPair = "BTC-USDC" # <----- ENTER YOUR CURRENCY PAIR ("BTC-ETH" or "ETH-BTC")!
# This will let you set the currency pair on start up!
if not CurrencyPair:
product_id = input("Enter The Currency Pair You Would Like To Trade With!") or "BTC-EUR"
CurrencyPair = product_id
if product_id == "BTC-EUR":
print("Default Currency Pair Was Set:",product_id)
else:
print("You've selected to trade on:",product_id)
product_id = CurrencyPair
# Bot loops every minute!
# So we want to restart every 2 hours and show our profits
BotLoops = 120
# How long should the bot run for?
Hours = (24 * 365) # 1 year should be long enough
# Now we start up the bot!
Boxer = TheBot.BOT(product_id)
# set our starting balance
StartingQuote = Boxer.start_total
# Now we start the main loop and
# Watch the magic happen
while Hours > 0:
bStart = datetime.now()
print("\n\tBots Start Time:\t",bStart)
Boxer.StartTradingLoop(BotLoops)
bEnd = datetime.now()
print("\n\tBot loop End Time:\t",bEnd)
EndingQuote = Boxer.current_total
print("Total Profit:",EndingQuote - StartingQuote)
sleep(2)
else:
print("\n\t\tStarted at\t:\t",start)
print("\n\t\tEnded at\t:\t",datetime.now())
print("\n\n\n\t#** Thank you for choosing Novixel Development Solutions **#\n\n")