How to check market status

Overview

In this how to guide, we will show you how simple it is to use Intrinio to check the current market status.


Prerequisites

  1. Create an account to get an API key
  2. Sign up for a free trial (of IEX)
  3. Contact sales if you wish to trial Nasdaq Basic or Delayed SIP
  4. Choose which SDK you wish to use Python, Javascript/Node, C#, Java, Ruby, or R.
  5. For using this guide, use pip to install the intrinio sdk. (This how to assumes you already have python installed)

Procedure

Using the Realtime Stock Price for Security API  we can get a stock price for any active security. Create new file named example.py and add the following code updating your api key.