working on initial lambda support

This commit is contained in:
Gert Wohlgemuth
2018-05-09 09:09:17 -07:00
parent 9d844696f9
commit f667041679
7 changed files with 272 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
from freqtrade.optimize.backtesting import Backtesting
def backtest(event, context):
"""
this method is running on the AWS server
and back tests this application for us
and stores the back testing results in a local database
this event can be given as:
:param event:
{
'strategy' : 'url handle where we can find the strategy'
'pair' : ' pair to backtest, BTC_ETH as example'
'timeframe' : 'how long should we backtest for, 0-100 as example for the last 100 ticks'
}
:param context:
standard AWS context, so pleaes ignore for now!
:return:
no return
"""
backtesting = Backtesting()
backtesting.start()
pass