# #!/usr/bin/env python3
# # -*- coding: utf-8 -*-
import pandas as pd
import datetime

from simonsc import auth
from simonsc.api import get_trading_dates, get_previous_trading_date, get_next_trading_date

auth("quantresearch","quantresearch")

trading_dates = get_trading_dates(start_date = "2020-05-11", end_date="2020-05-20")

previous_trading_date = get_previous_trading_date(date='2020-05-18', n=3)

next_trading_dates = get_next_trading_date(date='2020-05-13', n=3)