diff --git a/moneybot.py b/moneybot.py index f85eb43..3f11aa3 100755 --- a/moneybot.py +++ b/moneybot.py @@ -10,8 +10,12 @@ from config import auth, weights +bitreserve_host = 'api-sandbox.bitreserve.org' + MINIMUM_TRANSACTION = Decimal('0.001') + +# set to TRUE to see all debug messages DEBUG = False @@ -33,7 +37,7 @@ def normalize_weights(self): def auth(self, sandbox=False): if sandbox: - self.api = Bitreserve(host='api-sandbox.bitreserve.org') + self.api = Bitreserve(host=bitreserve_host) else: self.api = Bitreserve() pat = auth.get('pat', None)