Working Hours

Modified on Wed, 25 Nov at 4:46 PM

LEXXKnowledge Base / Platform Features / Working Hours

Working Hours: Complete Guide

“Working Hours” is a LEXX feature for controlling when new positions can be opened. You set a schedule by weekday and hour, and the platform applies it to manual orders and trading strategies.

You can restrict trading to selected hours, skip market openings and other periods, set a separate schedule for each strategy, and limit how long entry orders stay active.

Availability: PLUS and above · Beta

You must be signed in to your LEXX account. Your account schedule is stored on the server and available across devices. The feature is unavailable on plans below PLUS and in guest mode.

Key principle

Working Hours restrictentries, not exits. Open positions are not closed when a trading window ends. Take-profit, stop-loss, and other exit orders continue operating around the clock.

Key concepts

TermMeaning
Trading windowA period when new entries are permitted, such as Mon-Fri, 08:00-17:00.
ExclusionA pause within an open trading window when new entries are temporarily prohibited, such as the first few minutes after a market opens.
SessionThe active trading period of a particular window. It can start automatically on schedule or after user confirmation.
PauseA manual restriction on new entries until the current window ends.
ExtensionOne extra hour after the normal trading window ends.
EntryAn order that opens or increases a position.
ExitAn order that reduces or closes a position.

How the platform distinguishes entries from exits

  • Spot:a buy is considered an entry; a sell is an exit.
  • Futures:orders marked “Reduce Only” or “Close Position” are treated as exits.
  • Hedge mode:the side of the position affected by the order determines whether it is an entry or exit.
  • One-way mode:an order in the opposite direction of an existing position may be treated as an exit even without an explicit reduce-only flag.

1. Working Hours widget

The main control is locatedin the terminal's top bar. The widget displays the current trading window status and when the window ends or the next one begins. Clicking it opens a panel with today's timeline and quick controls.

The widget is enabled by default. If it is hidden, open the“+” menu in the terminal header and enable the corresponding widget.

Working Hours widget and today's timeline

Understanding widget statuses

Example statusMeaning
Working Hours · until 21:00The window is open. New entries are allowed until the specified time unless an exclusion or another restriction is active.
Outside Hours · from 19:00The window is closed. The next trading window starts at the displayed time.
Paused · 12 min leftAn exclusion or a user-initiated pause is in effect.
Awaiting Start · window from 15:00Manual start is enabled for the current window, but the session has not been confirmed yet.
OffThe schedule is disabled or has not been configured; there are no time restrictions.
Dash / “Not loaded”The schedule could not be loaded. The widget panel provides a “Retry” button.
Fig. 2. Widget outside working hours: extension and early start.
Fig. 3. Widget before setting up the schedule.

Quick-action buttons

ButtonWhen availableWhat it does
ConfigureIn the widget panelOpens the schedule settings.
PauseWhen a trading window is openBlocks manual entries until the current window ends. It does not normally stop trading strategies.
ResumeDuring a pause or an extensionRemoves the pause or extension. In strict mode, a pause cannot be lifted.
+1 HourWhen the window is closed or no more than one hour remainsAdds one hour of trading after the normal window closes. Exclusions remain active.
Start NowWhen the next window begins within 6 hoursStarts the upcoming session early and keeps it active until that window's normal end time.
Start SessionWhen a window is underway but awaiting manual startConfirms the start of the current session.

Another one-hour extension becomes available15 minutes before the previous extension ends. Early starts and extensions are disabled in strict mode.

Pausing manual trading and pausing strategies are different

The regular “Pause” button in the widget applies to manual trading. Strategies continue following their own schedules. Exception: if an early session was started, pressing “Pause” cancels that early start for strategies awakened by it as well.


2. Configuring the account schedule

Open the “Working Hours” widget and click“Configure”. The settings dialog allows you to enable or disable the schedule, select times, set exclusions, and configure order rules.

  1. Select the appropriate time zone.
  2. Choose the weekdays and time intervals.
  3. Apply a trading-session preset if needed.
  4. Set exclusions for market openings, funding, or the daily close.
  5. Configure manual-order rules, averaging, and session start behavior.
  6. Click“Save” to apply the changes.
Fig. 4. Schedule setup, exclusions, and rules.

Enabling and disabling the schedule

The schedule's current state appears at the top of the settings dialog.“Enabled” means the schedule is active.“Disabled: schedule inactive” means restrictions are temporarily off, but all saved intervals are retained.

After changing the switch, click “Save”.

Fig. 5. Schedule disabled while saved intervals are preserved.

Weekdays, time intervals, and presets

  • Hour grid:click or drag across cells. Each cell represents one hour.
  • Interval list:lets you specify start and end times in 30-minute increments, for example 08:30.
  • “Asia”, “London”, and “New York” presets:apply the standard trading-session hours from Monday through Friday.
  • “Weekdays”:keeps the current schedule on Monday through Friday only.
  • “24/7”:allows all hours throughout the week.
  • “Clear”:removes the selected hours.
  • Time zone:determines how the schedule is interpreted. When you change the time zone, the entered local clock time stays the same (for example, 08:00), but is applied in the new zone.
PresetSession hoursMarket opening used for exclusions
Asia09:00-18:00, Tokyo09:00, Tokyo
London08:00-17:00, London08:00, London
New York08:00-17:00, New York09:30, New York

Exclusions within a trading window

Exclusions temporarily block new entries even when the main schedule allows trading. They are useful for avoiding more volatile periods.

ExclusionHow it works
Skip first N minutes after openingBlocks entries during the first N minutes after the selected markets open (Asia, London, and/or New York).
Pause around funding ± N minutesBlocks new entries within the selected interval around 00:00, 08:00, and 16:00 UTC.
Pause around the daily close ± N minutesAdds an exclusion around 00:00 UTC.

Example:the trading window is 08:00-17:00, but the first 30 minutes after London opens are excluded. New entries are allowed only after the exclusion ends, provided no other rule blocks them.

Additional rules

SettingBehavior
Do Not Average Outside HoursPrevents strategies from increasing an existing open position outside the trading window. By default, averaging may continue outside working hours.
Apply to Manual OrdersApplies the schedule to manual orders. When disabled, there is no WH label or manual-entry protection; only trading strategies use the schedule.
Entries Outside HoursChoose “Off”, “Warn”, or “Block” for manual entry orders.
Session Start“Automatic” follows the schedule. “Manual” requires confirmation in the terminal.
Strict ModeDisables early starts, window extensions, and lifting pauses; schedule edits take effect on the next day (UTC).
Strict mode

After saving, new settings may not take effect immediately. The terminal displays when the changes will become active. Until then, the previous schedule remains in force. This is expected behavior.


3. Starting a trading session manually

When “Session Start: Manual” is selected, the trading windowdoes not open automatically. If the user opens the terminal during the scheduled window, a session-start prompt appears.

Fig. 6. Manual session start prompt.
ActionResult
Start SessionAllows new entries until the current window ends. If “Also start strategies awaiting the session” is selected, strategies configured to wait for manual start will be activated as well.
Remind Me in 15 MinutesDismisses the prompt for 15 minutes, then shows it again. Closing the dialog with the X has the same effect.
Not TodaySkips the session for the current window and does not prompt again until the next one.

You can also start the session from the widget panel.The window's end time does not change:if the schedule is 08:00-17:00 and you start at 09:00, new entries are allowed only until 17:00.

If an exclusion is active when the session starts, the terminal informs you. Starting the session does not override exclusions.

Early start - “Start Now”

The next session can be started ahead of schedule, butno earlier than 6 hours beforehand. The “Start Now” button appears in the widget panel.

  • Trading begins immediately and continues until the upcoming window's normal end time.
  • Configured exclusions continue to apply, including before the regular window begins.
  • Early start works with both automatic and manual session starts, but is unavailable in strict mode.
  • “Pause” cancels the early start, including for strategies activated early. The regular window will open on schedule.

4. Manual orders and the WH restriction

WH label in the order form

When a trading window is open and the schedule applies to manual orders, aWH label with the window's end time appears below the “Total” field in the entry-order form, for exampleWH 21:00.

This means the order will be canceled at the end of the trading window if it remains unfilled. The label is enabled by default, but you can click to disable it when placing the order. That specific order will then remain active after the window closes unless it is canceled for another reason.

Restricting the validity period of an entry order

The WH label is available only forentry limit and conditional orders that may remain on the order book or await a trigger.

It does not appear on market orders, the TP/SL tab, or SMART orders with a take-profit or stop-loss. WH cannot be enabled outside a trading window or when approximately 20 seconds or less remain.

Hovering over WH displays a tooltip with the cancellation time and remaining validity period.

Who cancels the order, and where to check

Exchange and order typeCancellation method
Binance USD-M Futures: limit order, more than 10.5 minutes until window endThe exchange itself cancels the order when its validity period expires (GTD).
Binance Spot, Bybit, OKX, Hyperliquid, conditional orders, and all other casesLEXX sends a scheduled cancellation request, usually completed within a few seconds.

After placement, the order displays a WH label in the“Open Orders” table. The order history records an order canceled by the schedule with the status“Canceled: Working Hours”.

If the order is partially filled before the window closes, only its unfilled remainder is canceled. The filled portion remains in the open position and is not automatically closed.

Fig. 8. WH tags in the Open Orders table.

Protecting against new entries outside working hours

You can choose one of three modes for manual entries in account settings:

ModeBehavior
OffOrders are placed without schedule restrictions.
WarnBefore placement, the terminal shows an “Outside Working Hours” confirmation dialog, allowing you to place the order anyway.
BlockThe order button is replaced by a restriction message, and the server rejects the entry order.

Protection applies toentries only. It does not block exits, take-profits, or stop-losses.

These restrictions apply to orders created in the terminal. The public API and MCP arenot subject to this check.

Quick orders from the symbol list

In “Warn” mode, quick orders from the symbol list are placed without a confirmation dialog and without a WH label. In “Block” mode, the server rejects the entry.

Extending a window with existing WH orders

Orders placedbefore an extension keep their original cancellation time. Therefore, after clicking “+1 Hour”, the terminal offers to extend the expiry of existing WH-restricted orders.

Example:the window ends at 17:00. You extend trading until 18:00. The terminal asks whether WH order cancellations should also move from 17:00 to 18:00.

  • If you agree, the cancellation deadline is updated.
  • If you decline, existing orders will still be canceled at 17:00 even though manual trading is allowed until 18:00.
  • For orders whose cancellation is handled by LEXX, only the expiry is updated; the exchange order is not replaced.
  • On Binance USD-M Futures with exchange-managed GTD, the order is replaced with a new expiry.

5. Working Hours for trading strategies

Each trading strategy can have its own schedule. The setting is located in the“Working Hours” section of the strategy creation or editing form. ForChannel, this section is on theOther tab.

Three scheduling modes

ModeDescription
OffThe strategy runs around the clock without Working Hours restrictions.
Account / Same as AccountThe current account schedule is copied when the strategy is saved. Later changes to the account schedule do not automatically update that copy.
CustomThe strategy uses its own hours, days, time zone, exclusions, and additional rules.
Working Hours settings in a trading strategy
Fig. 10. Account schedule mode for a strategy.

Additional settings in “Custom” mode

  • Preset:Asia, London, or New York.
  • Hour strip:select times by clicking individual cells.
  • Weekdays Only:schedule runs Monday through Friday.
  • Time zone:configured separately for the strategy.
  • Skip Session Openings:excludes the first N minutes of selected trading sessions.
  • Do Not Average Outside Hours:prevents additional buys while a position is already open outside the schedule.
  • Wait for Manual Session Start:prevents automatic trading until you confirm a session in the widget and choose to start waiting strategies.

If different weekdays have different schedules, a full weekly grid is displayed instead of a single hourly strip.

What a strategy does outside working hours

  1. The strategy remains running but does not open new independent trades.
  2. If no position is open, pending entry orders are canceled.
  3. If a position is already open, further averaging is allowed by default, even outside the trading window.
  4. If“Do Not Average Outside Hours” is enabled, additional averaging entries are also blocked.
  5. All take-profit and stop-loss orders continue operating.
  6. During the next permitted window, the strategy automatically resumes new entries unless manual start is required.
Example: an open position

A strategy places its first buy before 17:00. At 17:00, the trading window closes. The position stays open, and its take-profit and stop-loss orders remain active. If the separate restriction on averaging is disabled, the strategy may place another buy after 17:00.

Changing the schedule of a running strategy

The configuration form of a running strategy includes“Apply to Running Bot” (the label used in the interface). It applies the updated schedule immediately without stopping or restarting the strategy.

In “Account” mode, the schedule is copied when the strategy is saved. If you later change the account schedule, the running strategy keeps its existing copy.

If strategies still use an older copy, the widget panel displays“Bots on Previous Schedule: N” and a“Update Bots” button. This sends the new account schedule to running strategies configured to use account hours.

A strategy created during an already-active, manually started window is treated as having started that session.

Schedule statuses in the strategies table

The current Working Hours status is displayed next to each strategy name. AWH filter button shows only strategies with Working Hours enabled.

Fig. 11. Schedule statuses in the strategies table.
StatusMeaning
Until 21:00The trading window is open and ends at 21:00.
Sleeping Until 22:05The window is closed. The strategy is waiting for its next permitted period.
Paused Until 09:30An exclusion is currently active.
Awaiting Session StartManual start is enabled, but the session has not yet been confirmed.
No statusThe strategy has no schedule configured.

Outside its trading window, the strategy's type icon is displayed as waiting.


6. Notifications and chart display

Terminal notifications

When trading windows open or close, the terminal shows informational messages such as:

  • “Working Hours Started”.
  • “Working Hours Ended. Orders Canceled: N. Bots Sleeping: M”.

Notifications are shownonly while the terminal is open. Separate Working Hours notifications are not sent to Telegram.

Shading non-trading hours on the chart

On the trading chart, time outside the account schedule is shaded with a semi-transparent overlay, while active trading windows retain the regular background. The chart also displays upcoming days.

Importantly, the chart followsthe account schedule, not the individual schedules of trading strategies.

Fig. 12. Non-trading hours shaded on the chart.

7. Daylight saving time changes

Schedules are stored relative to UTC. When clocks change in a selected time zone or the region of a trading session, the displayed schedule may shift by one hour relative to local time.

If such a shift occurs, the widget panel displays“Time Change: Schedule Shifted by One Hour” and an“Update” button to recalculate the account schedule using the new offset.

Strategies with custom schedules are not recalculated automatically. Open each such strategy and save its settings again.

Time zones without seasonal clock changes, such as Dubai, are not affected.


8. Limitations and important considerations

  • Schedules work by weekday and hour. There is no economic news or event calendar.
  • The feature does not liquidate or close positions when a trading window ends.
  • Exit orders, including take-profits and stop-losses, are not blocked.
  • Schedule management and notifications about Working Hours are not available through Telegram.
  • Restrictions on manual entries outside working hours do not apply to the public API or MCP.
  • The widget's regular Pause and extension controls apply to manual trading. Strategies follow their own schedules, except when an early start is canceled.
  • You can extend a window by one hour at a time. Another extension becomes available 15 minutes before the previous one ends.
  • The next window can be started early no more than 6 hours before its scheduled start.
  • Strict mode prevents extending windows, lifting pauses, or starting sessions early.
  • Changing the account schedule does not automatically update copies already saved in running strategies.
Monitor open positions separately

Time-based entry restrictions do not replace stop-loss orders, risk management, or monitoring open positions. Exit orders may still fill outside working hours, and trade PnL may change.


9. Frequently asked questions

Why can't I see the Working Hours widget?

Check your license: the feature requires PLUS or above and a signed-in account. If both conditions are met, enable the widget using the “+” menu in the terminal header.

A dash appears instead of the time. What should I do?

The schedule may not have loaded. Open the widget panel and click “Retry”. The terminal automatically retries approximately every 30 seconds. If the problem persists, contact support.

Why was my limit order canceled automatically?

Check whether the WH label was enabled when you placed it. If so, the order is canceled when the trading window ends. The history will show “Canceled: Working Hours”. You can disable WH on subsequent orders.

Why can't I open a new position?

You may be outside working hours with “Block” enabled, an exclusion may be active, or a manual session may not have started. Check the widget panel and entry-protection settings.

Why does the terminal ask me to confirm an entry?

“Warn” mode is enabled. When placing an entry outside the schedule, the terminal requests confirmation. You can change the “Entries Outside Hours” setting if needed.

Why are the “+1 Hour” or “Start Now” buttons missing?

Check strict mode and the time remaining until the next window boundary. Early start is available within 6 hours of the next window; extension is available when the window is closed or no more than one hour remains.

Why is my previous schedule still in effect after editing it?

In strict mode, changes take effect only on the following day (UTC). The widget panel indicates when the new settings will apply.

Why isn't a strategy opening new trades?

It may be outside its own working hours, waiting for an exclusion to end, or awaiting manual session start. Check the status next to its name and its Working Hours settings.

Why did a strategy continue averaging outside working hours?

This is allowed by default if the position was already open. Enable “Do Not Average Outside Hours” to prevent additional entries. Also check for an early start and which schedule is stored in the strategy.

Why didn't a strategy close its position at the end of the day?

Working Hours block new entries but do not close open positions. Exits are managed by the strategy's regular take-profit, stop-loss, or other exit mechanisms.

Why did my schedule shift by one hour?

This may be due to a daylight saving time change. Use “Update” in the account widget panel. Open and re-save strategies with custom schedules.

Why is WH missing or disabled in the order form?

WH is not displayed for exit orders, market orders, the TP/SL tab, or SMART orders with a take-profit or stop-loss. It is also unavailable outside a trading window and approximately 20 seconds before the window closes. Check “Apply to Manual Orders”.

Why was a stop-loss canceled by Working Hours?

A stop that reduces an existing position should not be restricted by the schedule. Check whether the position existed when the stop order was created. Without an open position, the order might have been identified as an entry. If the position was already open, contact support with the details.

Why does the schedule look different on another device?

The settings are stored in your account, but a browser tab may not have refreshed its data yet. Switch back to the tab or reload the terminal page.

Will the restrictions apply to orders sent through the API?

No. Protection ofmanual entries outside the schedule only applies to orders created in the terminal; it does not check orders sent through the public API or MCP.

↑ Back to top

LEXX Trading Platform - a guide to the “Working Hours” feature.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article

Ready to try it live?

Everything in this guide works in the LEXX terminal — exchange API connections, trading strategies and automation.

Open the terminal About LEXX Platform