Market calendar RESTful API with holiday, late open, and early close. Over 50+ unique exchange calendars for global equity and futures markets.

Overview

Trading Calendar

Market calendar RESTful API with holiday, late open, and early close. Over 50+ unique exchange calendars for global equity and futures markets.

Data includes:

  • All holidays, including: trading holidays and partial days
  • Support for timezones and daylight savings time transitions
  • Definitions for weekends for each market
  • Open and close time for each market
  • Support for irregular and interday trading hours
  • Current market status (open or closed).

Running it locally

Pull the Docker Image

Pull pre-built image from Docker Hub repository:

docker pull apptasticsoftware/trading-calendar:latest

Start the Docker Container

Run a container based on the image:

docker run -d --name trading-calendar -p 8000:80 apptasticsoftware/trading-calendar

Test it

You should be able to test it in your Docker container's URL, for example:

 http://127.0.0.1:8000/api/v1/markets?mic=XNYS

Interactive API docs

For automatic interactive API documentation (OpenAPI, previously known as the Swagger):

http://127.0.0.1:8000/docs

Calendar Support

Exchange MIC Country Exchange Website
New York Stock Exchange XNYS USA https://www.nyse.com/index
CBOE Futures XCBF USA https://markets.cboe.com/us/futures/overview/
Chicago Mercantile Exchange CMES USA https://www.cmegroup.com/
ICE US IEPA USA https://www.theice.com/index
Toronto Stock Exchange XTSE Canada https://www.tsx.com/
BMF Bovespa BVMF Brazil http://www.b3.com.br/en_us/
London Stock Exchange XLON England https://www.londonstockexchange.com/home/homepage.htm
Euronext Amsterdam XAMS Netherlands https://www.euronext.com/en/regulation/amsterdam
Euronext Brussels XBRU Belgium https://www.euronext.com/en/regulation/brussels
Euronext Lisbon XLIS Portugal https://www.euronext.com/en/regulation/lisbon
Euronext Paris XPAR France https://www.euronext.com/en/regulation/paris
Frankfurt Stock Exchange XFRA Germany http://en.boerse-frankfurt.de/
Deutsche Börse Xetra XETR Germany https://www.xetra.com/xetra-en/
SIX Swiss Exchange XSWX Switzerland https://www.six-group.com/exchanges/index.html
Tokyo Stock Exchange XTKS Japan https://www.jpx.co.jp/english/
Austrialian Securities Exchange XASX Australia https://www.asx.com.au/
Bolsa de Madrid XMAD Spain http://www.bolsamadrid.es/ing/aspx/Portada/Portada.aspx
Borsa Italiana XMIL Italy https://www.borsaitaliana.it/homepage/homepage.en.htm
New Zealand Exchange XNZE New Zealand https://www.nzx.com/
Wiener Borse XWBO Austria https://www.wienerborse.at/en/
Hong Kong Stock Exchange XHKG Hong Kong https://www.hkex.com.hk/?sc_lang=en
Copenhagen Stock Exchange XCSE Denmark http://www.nasdaqomxnordic.com/
Helsinki Stock Exchange XHEL Finland http://www.nasdaqomxnordic.com/
Stockholm Stock Exchange XSTO Sweden http://www.nasdaqomxnordic.com/
Oslo Stock Exchange XOSL Norway https://www.oslobors.no/ob_eng/
Irish Stock Exchange XDUB Ireland http://www.ise.ie/
Bombay Stock Exchange XBOM India https://www.bseindia.com
Singapore Exchange XSES Singapore https://www.sgx.com
Shanghai Stock Exchange XSHG China http://english.sse.com.cn
Korea Exchange XKRX South Korea http://global.krx.co.kr
Iceland Stock Exchange XICE Iceland http://www.nasdaqomxnordic.com/
Poland Stock Exchange XWAR Poland http://www.gpw.pl
Santiago Stock Exchange XSGO Chile http://inter.bolsadesantiago.com/sitios/en/Paginas/home.aspx
Colombia Securities Exchange XBOG Colombia https://www.bvc.com.co/nueva/index_en.html
Mexican Stock Exchange XMEX Mexico https://www.bmv.com.mx
Lima Stock Exchange XLIM Peru https://www.bvl.com.pe
Prague Stock Exchange XPRA Czech Republic https://www.pse.cz/en/
Budapest Stock Exchange XBUD Hungary https://bse.hu/
Athens Stock Exchange ASEX Greece http://www.helex.gr/
Istanbul Stock Exchange XIST Turkey https://www.borsaistanbul.com/en/
Tel Aviv Stock Exchange XTAE Israel https://www.tase.co.il/Eng/Pages/Homepage.aspx
Johannesburg Stock Exchange XJSE South Africa https://www.jse.co.za/z
Malaysia Stock Exchange XKLS Malaysia http://www.bursamalaysia.com/market/
Moscow Exchange XMOS Russia https://www.moex.com/en/
Philippine Stock Exchange XPHS Philippines https://www.pse.com.ph/stockMarket/home.html
Stock Exchange of Thailand XBKK Thailand https://www.set.or.th/set/mainpage.do?language=en&country=US
Indonesia Stock Exchange XIDX Indonesia https://www.idx.co.id/
Taiwan Stock Exchange Corp. XTAI Taiwan https://www.twse.com.tw/en/
Buenos Aires Stock Exchange XBUE Argentina https://www.bcba.sba.com.ar/
Pakistan Stock Exchange XKAR Pakistan https://www.psx.com.pk/
Astana International Exchange AIXK Kazakhstan https://www.aix.kz/
Bucharest Stock Exchange XBSE Romania https://www.bvb.ro/

Note that exchange calendars are defined by their ISO-10383 market identifier code (MIC).

Owner
Apptastic Software
Apptastic Software
Robot Swerve Test Public With Python

Robot-Swerve-Test-Public The codebase for our swerve drivetrain prototype robot.

1 Jan 09, 2022
Python Script to download hundreds of images from 'Google Images'. It is a ready-to-run code!

Google Images Download Python Script for 'searching' and 'downloading' hundreds of Google images to the local hard disk! Documentation Documentation H

Hardik Vasa 8.2k Jan 05, 2023
Python binding to the OneTimeSecret API

Thin Python binding for onetimesecret.com API. Unicode-safe. Description of API itself you can find here: https://onetimesecret.com/docs/api Usage:

Vladislav Stepanov 10 Jun 12, 2022
A Telegram Bot to generate permanent Stream and Download links for any Telegram file

Telegram File To Stream Link This bot will give you permanent Stream and Download links for Telegram files Deploy the Bot Press the below button to de

Shadow 80 Dec 16, 2022
Fully automated YouTube Channel. Using Reddit and YouTube API.

Fully Automated YouTube Shorts Channel This code will show you how to setup and fully autmated YouTube Channel. Content is gathered from Reddit using

Jacob Lower 96 Dec 25, 2022
A code that can make an account bump your discord server 24/7!

BumpCord A code that can make an account bump your discord server 24/7! The main.py is the main file. keep_alive.py prevents your repl from going to s

Phantom 28 Aug 20, 2022
Prabashwara's Pm Bot repository. You can deploy and edit this repository.

Tᴇʟᴇɢʀᴀᴍ Pᴍ Bᴏᴛ | Prabashwara's PM Bot Unmaintained. The new repo of @Pm-Bot is private. (It is no longer based on this source code. The completely re

Rivibibu Prabshwara Ⓒ 2 Jul 05, 2022
Starlink Order Status Notification

Starlink Order Status Notification This script logs into Starlink order portal, pulls your estimated delivery date and emails it to a designated email

Aaron R. 1 Jul 08, 2022
A Powerful Discord Webhook spammer

RocketHook | The discord spammer Some links: Telegram | Github FEATURES 🤖 Hide your ass and be a good robot ! Full proxies support HTTP/S, SOCKS4/5 S

Or 2 Feb 27, 2022
This code is for a bot which will find a Twitter user's most tweeted word and tweet that word, tagging said user

max_tweeted_word This code is for a bot which will find a Twitter user's most tweeted word and tweet that word, tagging said user The program uses twe

Yasho Bapat 1 Nov 29, 2021
BSDotPy, A module to get a bombsquad player's account data.

BSDotPy BSDotPy, A module to get a bombsquad player's account data from bombsquad's servers. Badges Provided By: shields.io Acknowledgements Issues Pu

Rudransh Joshi 3 Feb 17, 2022
Instagram Brute force attack helps you to find password of an instagram account from your list of provided password.

Instagram Brute force attack Instagram Brute force attack helps you to find password of an instagram account from your list of provided password. Inst

Naman Raj Singh 1 Dec 27, 2021
Cloudkeeper is “housekeeping for clouds” - find leaky resources, manage quota limits, detect drift and clean up.

Cloudkeeper Housekeeping for Clouds! Table of contents Overview Docker based quick start Cloning this repository Component list Contact License Overvi

Some Engineering 1.2k Jan 03, 2023
Rich presence app for playstation 3. Display what game you are playing on the PS3 via Discord

PS3-Rich-Presence-for-Discord Discord Rich Presence script for PS3 consoles on HFW&HEN or CFW. Written in Python. Display what you are playing on your

17 Dec 11, 2022
This repository is used to provide data to zzhack,

This repository is used to provide data to zzhack, but you don't have to care about anything, just write your thinking down, and you can see your thinking is rendered in zzhack perfectly

5 Apr 29, 2022
A Telegram Bot Plays With Words!!!

TheWordzBot ➠ I Can Turn Text Into Audio ➠ I Can Get Results From Dictionary ➠ I Can Make Google Search For You ➠ I Can Suggest Strong Passwords For Y

RAVEEN KUMAR 8 Feb 28, 2022
It is automated instagram follower bot.

Instagram-Follower-Bot It is automated instagram follower bot. In This project I've used Selenium and Python. Work-Flow When I run my code. It's gonna

Falak Shair 3 Sep 28, 2022
Simple web browser to visualize HiC tracks

HiCBrowser : A simple web browser to visualize Hi-C and other genomic tracks Fidel Ramirez, José Villaveces, Vivek Bhardwaj Installation You can insta

The deepTools ecosystem 14 Jun 21, 2022
A discord bot with information and template tracking for pxls.space.

pyCharity A discord bot with information and template tracking for pxls.space. Inspired by Mikarific's Charity bot. Try out the beta version on your s

1 Dec 03, 2021
Anime Streams Scrapper for Telegram Publicly Available for everyone to use

AniRocks Project Structure: ╭─ bot ├──── plugins: directory stored all the plugins ├──── utils: a directory of Utilities to help bot Client to create

ポキ 11 Oct 28, 2022