working on backtesting

This commit is contained in:
Gert Wohlgemuth
2018-05-21 16:52:12 -07:00
parent b5d0c0ea6a
commit b4d6e2c289
6 changed files with 128 additions and 13 deletions

View File

@@ -162,7 +162,7 @@ functions:
handler: freqtrade/aws/strategy.submit
events:
- http:
path: submit
path: strategies/submit
method: post
cors: true
@@ -170,6 +170,22 @@ functions:
topic: ${self:custom.snsTopic}
strategyTable: ${self:custom.strategyTable}
#submits a new strategy to the system
submit_github:
memorySize: 128
handler: freqtrade/aws/strategy.submit_github
events:
- http:
path: strategies/submit/github
method: post
cors: true
environment:
topic: ${self:custom.snsTopic}
strategyTable: ${self:custom.strategyTable}
#TODO
#backtests the strategy
backtest: