Added support for Weather
python
import spgci as ci
w = ci.Weather()
w.get_forecast(city="Boston")
DataFrame of forecasts for Boston
w.get_forecast(market="United States", weather_date_gte="2024-01-01", weather_date_lte="2024-01-31")
DateFrame of forecasts in the United States in January 2024.
w.get_actual(market="Hong Kong", paginate=True)
DataFrame of actual weather in Hong Kong, paginate=True to get full history.
Also added support for start_date and end_date filtering in get_arbitrage:
python
import spgci as ci
af = ci.ArbFlow()
af.get_arbitrage(
base_margin_id=261,
margin_id=1380,
frequency_id=1,
start_date="2024-01-01",
end_date="2024-01-20",
)