How to Build an Algorithmic Trading Bot in 7 Steps Step 1: Create accounts for Alpaca and Google Cloud Platform. ... Step 2: The Python script. ... Step 3: Connect Alpaca API. ... Step 4: Create a new email account and add email notification functionality to Python function. More items... 2 Dec 2020