Merge branch 'aws' of https://github.com/berlinguyinca/freqtrade into aws
This commit is contained in:
commit
6301329921
@ -1,6 +1,8 @@
|
|||||||
import datetime
|
import datetime
|
||||||
import logging
|
import logging
|
||||||
import os
|
import os
|
||||||
|
import tempfile
|
||||||
|
|
||||||
import boto3
|
import boto3
|
||||||
import simplejson as json
|
import simplejson as json
|
||||||
from boto3.dynamodb.conditions import Key
|
from boto3.dynamodb.conditions import Key
|
||||||
@ -88,7 +90,7 @@ def backtest(event, context):
|
|||||||
"chat_id": "0"
|
"chat_id": "0"
|
||||||
},
|
},
|
||||||
"initial_state": "running",
|
"initial_state": "running",
|
||||||
"datadir": ".",
|
"datadir": tempfile.gettempdir(),
|
||||||
"experimental": {
|
"experimental": {
|
||||||
"use_sell_signal": response['Items'][0]['use_sell'],
|
"use_sell_signal": response['Items'][0]['use_sell'],
|
||||||
"sell_profit_only": True
|
"sell_profit_only": True
|
||||||
|
Loading…
Reference in New Issue
Block a user