Implementing trading algorithms for paper-trading API's like Alpaca
Create a file '.alpacakeys' with the following two lines:
APCA-API-KEY-ID:<your key id>
APCA-API-SECRET-KEY:<your secret key>
Then run main.py with Python3 installed - the model should start making trades. Press ctrl-C to stop the model. It will sell all the assets before shutting down.