This commit is contained in:
EC2 Default User
2018-05-21 23:53:00 +00:00
6 changed files with 128 additions and 13 deletions

View File

@@ -164,7 +164,7 @@ functions:
handler: freqtrade/aws/strategy.submit
events:
- http:
path: submit
path: strategies/submit
method: post
cors: true
@@ -172,6 +172,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: