![](/static/image/user/admin.png)
ALGOGENE now supports users to trade with Alpaca accounts using ALGOGENE dedicated trading gateway!
![collaborate](/static/community/92/collaborate.png)
Open Alpaca trading accounts through our partnership link, you will enjoy:
- Zero commission trading on Alpaca
- HK$300 free credits on ALGOGENE
![collaborate](/static/community/92/_meta_.png)
This article goes through the steps to connect ALGOGENE with your Alpaca trading account (either demo account or real trading account). The overall workflow is summarized in this diagram.
![workflow](/static/community/92/flow.png)
Who is Alpaca?
Alpaca (https://alpaca.markets/) is a US based brokerage firm backed by some of the top venture capitalists such as YCombinator and Horizon Ventures. Alpaca is a member regulated by FINRA and SIPC. It provides trading for 5000+ US Stocks and Crypto currencies.
Client Onboarding on Alpaca
- Sign up on https://app.alpaca.markets/login
- Follow the instruction to complete the KYC process
![onboard](/static/community/92/onboard.png)
Get trading account info
- Login Alpaca portal, switch for "Live Trading" or "Paper Trading" depending on your case.
- Go to "Overview", click "View" your API key,
- Copy your "API Key ID" and "Secret Key"
![switch](/static/community/92/switch.png)
![api](/static/community/92/api.png)
![API_config](/static/community/92/API_config.png)
Config on ALGOGENE
- Login ALGOGENE portal
- Go to 'Settings' -> 'Trade Account'
- Select an ALGOGENE live-test or real-trade account depending on your case
- Choose "Alpaca" in broker dropdown
- Update the connection settings as follows:
- "API Key" -> Your Alpaca's API Key ID
- "Password" -> Your Alpaca's Secret Key
![algogene_config](/static/community/15/algogene_config.png)
![algogene_config](/static/community/92/algogene_config.png)
Deploy Algo
After successful connection from above, you are now ready to deploy and trade an Algo with Alpaca.
1. Deploy from a DIY script
- Under ALGOGENE 'settings', choose your Alpaca linked account
- deploy any one of your backtested script
![algogene_deploy](/static/community/15/algogene_deploy.png)
![algogene_deploy2](/static/community/15/algogene_deploy2.png)
2. Deploy from algo marketplace subscription
- Explore available trading bots from ALGOGENE Marketplace
- Choose a desired trading bot, click "SUBSCRIBE"
- Select your desired "Run Mode" and "Account", then click "SUBMIT"
- Go to [Setting] > [Algo Market] > [My Subscribed Algo Strategy], you should see your subscribed Algo is active in trading for you. You have the feasibility to "Stop copy trade" and "Start copy trade" at any time.
![start](/static/community/16/start.png)
Demo Video
Happy Trading! :)