Overview
ChuchoBot uses market hours configuration to determine when the market is open and to properly display connection status. The application supports different hours for the general market and the Immediate Settlement (CI) market.Configuration File
Market hours are configured in theChuchoBot.exe.config file under the <applicationSettings> section.
Editing Market Hours
Find applicationSettings section
Locate the
<applicationSettings> section within <Primary.WinFormsApp.Properties.Settings>.General Market Hours
These settings control the standard market operating hours:MarketOpenTime
MarketOpenTime
Default:
10:30:00The time when the market opens for trading.MarketCloseTime
MarketCloseTime
Default:
17:00:00The time when the market closes without considering the closing auction.MarketCloseTimeWithAuction
MarketCloseTimeWithAuction
Default:
16:57:00The effective market close time when the closing auction is included. The closing auction typically runs from 16:57 to 17:00.Immediate Settlement (CI) Market Hours
The CI (Contado Inmediato) market can have different operating hours:CIOpenTime
CIOpenTime
Default:
10:30:00The time when the CI market opens.CICloseTime
CICloseTime
Default:
17:00:00The time when the CI market closes without auction.CICloseTimeWithAuction
CICloseTimeWithAuction
Default:
16:57:00The CI market close time including the closing auction.Connection Status Indicator
ChuchoBot uses these market hours to control the connection status:- Green WiFi icon: Connected and market is open
- Red WiFi icon (“DISCONNECTED”): Either disconnected OR outside market hours
It’s normal to see the red WiFi icon before market open and after market close.

Example Configuration
Complete market hours section inChuchoBot.exe.config: