예제 #1
0
#!/usr/bin/python2.7
import sys
print 'python', sys.version
import utility_3 as ut

file_number = 0
total_files = 1
length = '4h'

ut.run_bot_parallel(file_number, length, total_files)
예제 #2
0
#!/usr/bin/python2.7
import sys
print 'python', sys.version
import utility_3 as ut
from binance.client import Client
import time
# INDICATOR BOT #
ut.pickle_write(
    '/home/ec2-user/environment/botfarming/Development/variables/indicator_trades_12h',
    [])
indicator_bot = 1
file_number = 0
total_files = 1
length = '12h'
ut.pickle_write(
    '/home/ec2-user/environment/botfarming/Development/variables/stop_trading_until_'
    + length,
    int(time.time()) + 12 * 60 * 2 * 60)
api_key = '41EwcPBxLxrwAw4a4W2cMRpXiQwaJ9Vibxt31pOWmWq8Hm3ZX2CBnJ80sIRJtbsI'
api_secret = 'pnHoASmoe36q54DZOKsUujQqo4n5Ju25t5G0kBaioZZgGDOQPEHqgDDPA6s5dUiB'
client = Client(api_key, api_secret)

ut.run_bot_parallel(file_number, length, total_files, client, indicator_bot)