Skip to content
Dan Wallace edited this page Sep 25, 2020 · 13 revisions

Welcome to the East Village Trading Bot Wiki!

Here you will learn how to go from zero to a self-running robot on a web-server. All these steps were done on Windows 10 (version 2004). Most of the steps occur when dealing with the amazon web server. Once you have logged into the server, everything will be in linux commands and will be the same for everyone. If you follow this step by step, exactly, you should be up and running in no time.

To simplify installation, go ahead and register accounts on these four sites. We will be pulling resources from them as we go.

Before we start:

Bookmark these sites and remember your logins as you may need to revisit these sites in the future.

Alright, now for the fun part. You are only 15 minutes away from having your own 24/7 stock trading robot.

Step 1

Step 2

Grab your API keys from Alpaca. Open your editor of choice, place them in config.py and save

This works with live or paper trading. I recommend using the paper money api keys Alpaca api key Config.py api key entry

Step 3

Login to your AWS account

Sign into aws console Alpaca api key

Step 4

Create virtual machine

Alpaca api key

Step 5

Select amazon linux 2 (should be first in the list of results)

Alpaca api key

Step 6

Choose instance: select "t2.micro" -> Press: Review and Launch

Alpaca api key

Step 7

Review instance -> Press: Launch

Alpaca api key

Step 8

Create key pair, download .pem file and press launch instance

Save the downloaded key pair to your user folder: (ex: C:/Users/your pc user name here/example.pem)`

Alpaca api key

Step 9

Launch and view instance

Alpaca api key

Step 10

Click any blank space in the instance (name field) and the instance summary will appear

Copy the Public IPv4 DNS address and place it in a text document for later

Alpaca api key

Clone this wiki locally