Questions tagged [stocktwits]

StockTwits is a real-time social network for investors and traders.

StockTwits is a real-time social network for investors and traders. Users can post messages and share ideas to the community, as they research the markets and manage their investments.

Their API is publicly documented on their developer website: https://api.stocktwits.com/developers

81 questions
10
votes
2 answers

Invalid and/or missing SSL certificate

I'm trying to build a datastore on Google App Engine to collect some stream data off of StockTwits for a bunch of companies. I'm basically replicating one I did with Twitter, but it's giving me an HTTPException: Invalid and/or missing SSL…
4
votes
3 answers

How to download data from stocktwits?

It is my aim to download tweets from stocktwits via Python. I found this script by Jason Haury. Sadly, I don't manage to get it run. What I did so far was download the "api.py" and the "requestors.py" scripts and replaced in the latter…
annach
  • 41
  • 1
  • 2
4
votes
0 answers

Stocktwits, how to setup the token request - babysteps

Need help understanding how the token request process works. I want to submit a post to Stocktwits via python. I understand that I need a token and need to submit criteria to 'https://api.stocktwits.com/api/2/oauth/token' How do I receive and store…
Derek_P
  • 658
  • 8
  • 29
3
votes
1 answer

Stocktwits Api Endpoint for users was removed?

There was an endpoint that I was using on my system which no longer works (HTTPS): api.stocktwits.com/api/users/show/75992.json Apparently it no longer exist. I took a look on their documentation (e.g…
Slipmp
  • 85
  • 6
3
votes
1 answer

Can not create stocktwits message with a chart

I am trying to send a message along with a chart file, but to no avail. This code works well for sending regular message. I am using AFNetworking to do this. The stocktwits endpoint i used: https://api.stocktwits.com/api/2/messages/create.json…
mikipisang
  • 31
  • 2
2
votes
1 answer

How to use the watchlist ID to access messages via the Stocktwits API?

I am trying to write a python script that collects messages from Stocktwits. I managed to successfully access the API, with params = { 'client_id':'my_consumer_key_here', 'response_type':'code', …
2
votes
0 answers

What is the proper syntax to upload a chart from a local file to StockTwits API?

I am building a local application using Excel to post a message with a chart to StockTwits using the API. Since the file is local and API calls for this syntax to upload a Chart: curl https://api.stocktwits.com/api/2/messages/create.json -F…
2
votes
1 answer

Stock Tweets, Text Mining, Emoticon Erros

I was hoping you'd be able to assist in a text mining exercise. I was interested in 'AAPL' tweets, and was able to pull 500 tweets from the API. I was able to clear several hurdles on my own, but need help for last part. For some reason, the tm…
Munckinn
  • 41
  • 2
2
votes
1 answer

StockTwits Authorisation using API

I have a problem during authorization on StockTwits using API. When I make a request on https://api.stocktwits.com/api/2/oauth/authorize I receive an HTTP 404 error. Has anything changed in StockTwits authorization process recently? Thank you!
Denis
  • 23
  • 2
2
votes
1 answer

How to post image to URL properly?

I'm trying to post an image to the StockTwits API and am receiving a 422 error as a response saying that the image format can't be recognized. The image is a png file, so it should be a valid file format. I've tried using a jpeg with the same…
Sean Beanland
  • 1,098
  • 1
  • 10
  • 25
2
votes
1 answer

Successful Message Push To StockTwits, Chart Not Showing

I can successfully post a message. However when I try with a chart, I get back a success code (200) with the following URL's in the response: http://charts.stocktwits.com/production/large_.png http://charts.stocktwits.com/production/small_.png When…
R Saudlach
  • 388
  • 1
  • 5
  • 24
2
votes
1 answer

Can't create message with chart using stocktwits API

When I'm trying to create message using CURL: (example from here: http://stocktwits.com/developers/docs/api#messages-create-docs) curl https://api.stocktwits.com/api/2/messages/create.json -F access_token= -F body="Creating a new…
2
votes
2 answers

Stocktwits API - AuthorizationCodeGrant HttpResponseException: 400 Bad Request

After Step 1 of the oauth2 dance I can retreive a code in the redirect URL. This works fine. But then, I've got an 'com.google.api.client.http.HttpResponseException: 400 Bad Request' error trying to get the accessTokenResponse. Any idea why…
Hubert
  • 16,012
  • 18
  • 45
  • 51
1
vote
1 answer

Free realtime stockprice data and how to add stock charts like realworld trading app

I currently planning for build a stock trading app using react for study purpose. Is there is any api that can give realtime stock price data and if you can please suggest me a good charting package for my project.
Shahin Salim
  • 81
  • 1
  • 2
  • 8
1
vote
0 answers

How to specify dates when retrieving a stocktwits stream

I am retrieving streams from the https://api.stocktwits.com/api/2/streams/symbol/:id.json endpoint, but so far I have been getting the latest 30 posts. I'm wondering if it's possible to specify a date in the past to get posts for that date, or a…
flbyrne
  • 181
  • 1
  • 9
1
2 3 4 5 6