Full stack infastructure to host automatic trading bot strategies. Built using AWS CDK.
The cdk.json
file tells the CDK Toolkit how to execute your app.
- Edit python lambda code in
lambda
folder to update buying/ selling logic - Edit python code in
trainer
folder to update trainer logic - Run
pipreqs src/lambda --force
andpipreqs src/trainer --force
in the root directory of the project to update Python dependencies - Optional - test to make sure container will build
docker build -t src/buyingfunction .
docker run -p 9000:8080 functions
curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{}'
npm run build
compile typescript to jscdk synth
synthesize couldformation stackcdk deploy
deploy this stack to your default AWS account/region
cdk diff
compare deployed stack with current statecdk synth
emits the synthesized CloudFormation template