This automation scenario allows you to connect Twitter and Alpaca
It can be build using Ifttt, a no-code workflow automation tool. Ifttt allows you to create automated scripts using a simple drag-and-drop interface for non-technical users. This is a ready-made scenario, but it can be customized by adding more apps, actions, filters or branches.
Categories
When this trigger fires in Twitter
This Trigger fires every time you post a new tweet with a specific hashtag.
Then this action happens in Alpaca
This action will place a new day market order for the given symbol, side and quantity.
This guide contains information on how to set up an automatic workflow that allows to Buy 1 share of a stock when you tweet..
Part I
First, we need to connect Twitter and Alpaca to IFTTT.
Create IFTTT account.
Create IFTTT account if you don't have one.
Connect Twitter to IFTTT.
Give IFTTT access to your Twitter account, using Twitter credentials.
Connect Alpaca to IFTTT.
Give IFTTT access to your Alpaca account, using Alpaca credentials.
Part II
Next, we need to create a workflow automation scenario using graphical no-code web interface of IFTTT.
Set up a Trigger action for Twitter
Choose the following trigger: New tweet by you with hashtag (This Trigger fires every time you post a new tweet with a specific hashtag.).
Then set up an Action for Alpaca
Choose this action: Place Market Order (This action will place a new day market order for the given symbol, side and quantity.).
Part III
Finally, we need to test this automation and publish it.
Customize data flow
Configure the data that is exchanged between Twitter and Alpaca.
Test the workflow and turn it on for production use
Test your scenario and publish to production. Now you have an automatic workflow, that will Buy 1 share of a stock when you tweet.!
Triggers when there is a new tweet matching your search term
Triggers when any user creates a new Tweet that contains a specific search term (like a word, phrase, username or hashtag).
This Trigger fires every time you post a new tweet.
This Trigger fires every time the Twitter user you specify tweets.
Triggers when a user of your choosing gets a new follower.
This Trigger fires every time a new tweet matches your search query. Limited to 10 tweets per check, and protected tweets will not be returned.
Cancels the order.
Closes the position.
Get the account info.
Places a new order.
Cancel all orders
Close all positions
A real-time social networking platform for connecting and engaging with people
Twitter, the real-time social network, lets you share ideas, follow trends, and join conversations worldwide. Stay connected with short messages called "tweets" and engage with a diverse community.
IFTTT helps to create applications connections with a simple statement: if this then that. For example: "Tweet your Instagrams as native photos on Twitter". You define a task by a trigger and an action.