Sentiment History (Company)

Equity news sentiment for smarter investment decisions. News Sentiment is derived from millions of web sources.

Algorithmia Platform License
apl
· Internet Access

This algorithm has Internet access.

This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.
· Calls Other Algorithms

This algorithm has permission to call other algorithms.

This allows an algorithm to compose sophisticated functionality using other algorithms as building blocks, however it also carries the potential of incurring additional royalty and usage costs from any algorithm that it calls.

Run an Example

{
  "Debug": null,
  "Message": "Request OK. Request OK. {0}",
  "Result": {
    "data": [
      {
        "end_date": "2016-05-01",
        "name": "APPLE INC",
        "sector_id": "s_45",
        "sector_name": "IT",
        "sentiment": [
          {
            "buzz": 0,
            "date": "30-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 4
          },
          {
            "buzz": 0,
            "date": "29-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "28-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "27-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "26-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "25-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "24-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "23-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "22-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "21-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "20-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "19-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "18-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "17-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "16-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "15-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "14-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "13-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "12-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "11-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "10-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "09-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "08-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "07-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "06-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "05-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "04-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "03-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "02-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          },
          {
            "buzz": 0,
            "date": "01-05-2016",
            "high": 0,
            "low": 0,
            "sentiment": 0,
            "volume": null
          }
        ],
        "start_date": "2016-05-30"
      }
    ],
    "last_update": 0
  },
  "Status": "ESUCC",
  "StatusCode": 200
}

Install & Use

Use

curl -X POST -d '{"companyId":"c_84","ndays":"30"}' -H 'Content-Type: application/json' -H 'Authorization: Simple YOUR_API_KEY' https://api.algorithmia.com/v1/algo/infotrie/Sentiment_history/0.4.0