How can i get market holidays history in Python API

I want to build a calendar for FX trading

So i need several market's holiday data, e.g. US,JP,CN,GB,

I also need the historical data such as 2020-2023 to backtest

How can i do this in Python?

I've try the methods in Market Holiday in Websocket with time range and Currency holidays but I doesnt work

Best Answer