Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
working with date and time in note book and algorithms for futures

i am new to python and quantopian what i am doing is i want to
1- check if a day is a trading day (which will work in notebook and algo)
2- to work with dates say date -1 or date -2.
how can i start where to find documentation for dates manipulation , knowing that i am working on futures.
thanks