Merge branch 'aws' of https://github.com/berlinguyinca/freqtrade into aws
This commit is contained in:
commit
ab6a683d21
@ -120,7 +120,7 @@ def _submit_job(name, user, ticker, fromDate, till):
|
|||||||
response = client.run_task(
|
response = client.run_task(
|
||||||
cluster=os.environ.get('FREQ_CLUSTER_NAME', 'fargate'), # name of the cluster
|
cluster=os.environ.get('FREQ_CLUSTER_NAME', 'fargate'), # name of the cluster
|
||||||
launchType='FARGATE',
|
launchType='FARGATE',
|
||||||
taskDefinition=os.environ.get('FREQ_TASK_NAME', 'freqtrade-backtesting:1'),
|
taskDefinition=os.environ.get('FREQ_TASK_NAME', 'freqtrade-backtesting:2'),
|
||||||
count=1,
|
count=1,
|
||||||
platformVersion='LATEST',
|
platformVersion='LATEST',
|
||||||
networkConfiguration={
|
networkConfiguration={
|
||||||
@ -156,6 +156,10 @@ def _submit_job(name, user, ticker, fromDate, till):
|
|||||||
{
|
{
|
||||||
"name": "FREQ_STRATEGY",
|
"name": "FREQ_STRATEGY",
|
||||||
"value": "{}".format(name)
|
"value": "{}".format(name)
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BASE_URL",
|
||||||
|
"value": "https://freq.isaac.international/dev"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}]},
|
}]},
|
||||||
@ -285,6 +289,8 @@ def generate_configuration(fromDate, till, name, refresh, user, remote=True):
|
|||||||
|
|
||||||
)['Items'][0]
|
)['Items'][0]
|
||||||
|
|
||||||
|
print(response)
|
||||||
|
|
||||||
content = response['content']
|
content = response['content']
|
||||||
configuration = {
|
configuration = {
|
||||||
"max_open_trades": 1,
|
"max_open_trades": 1,
|
||||||
|
Loading…
Reference in New Issue
Block a user