Market hours
Esta página aún no está disponible en tu idioma.
New York open · Mondays
- open
- close
- trading
- holiday
- Minutes since open
When big stock markets open and close. Knows the trading hours of the stock markets in New York, London, Frankfurt, Tokyo, Shanghai, Hong Kong and Mumbai, with daylight saving time, lunch breaks, holidays and shortened sessions. “Open” and “close” are signals on the candle the moment falls into; with “Offset” they come earlier or later, say 30 minutes before the open. “Trading” is true while the market trades, “holiday” on weekdays it stays closed. That is how you test what your coin does around the open: New York open, Mondays, into an action, and the replay shows every Monday with TP and SL and the price afterwards. With AND and “trading”, alerts only come while the market trades; with two markets only when both trade, such as London and New York.
What it looks like
Section titled “What it looks like”- input true
- output true
- false
Settings
Section titled “Settings”The settings appear on the right under “Properties” once you click the node on the board. Below each field you find the same explanation as here.
Stock market
Section titled “Stock market”Which stock market, not the crypto exchange of your candle. Times are in the market’s local time; Bellchain handles daylight saving time, lunch breaks and holidays.
- New York (default): The stock exchanges in New York, the largest in the world: 09:30 to 16:00 local time, usually 15:30 to 22:00 in Central Europe.
- London: The stock exchange in London: 08:00 to 16:30 local time, 09:00 to 17:30 in Central Europe.
- Frankfurt: Electronic stock trading in Frankfurt: 09:00 to 17:30 Central European time, the same hours as Paris and Amsterdam.
- Tokyo: The stock exchange in Tokyo: 09:00 to 15:30 local time with a lunch break from 11:30 to 12:30, 01:00 to 07:30 in Central Europe, an hour later in summer.
- Shanghai: The stock exchange in Shanghai, with the same hours as Shenzhen: 09:30 to 15:00 local time with a lunch break from 11:30 to 13:00, 02:30 to 08:00 in Central Europe, an hour later in summer.
- Hong Kong: The stock exchange in Hong Kong: 09:30 to 16:00 local time with a lunch break from 12:00 to 13:00, 02:30 to 09:00 in Central Europe, an hour later in summer.
- Mumbai: The stock exchanges in Mumbai: 09:15 to 15:30 local time, 04:45 to 11:00 in Central Europe, an hour later in summer.
On which trading days, by the market’s own calendar. An offset only moves the time; the day stays the trading day.
- all trading days (default): Every day the market trades.
- Mondays: Mondays only. If the Monday is a holiday, nothing comes that week.
- Tuesdays: Tuesdays only.
- Wednesdays: Wednesdays only.
- Thursdays: Thursdays only.
- Fridays: Fridays only.
- first trading day of the week: The first day of the week the market trades, usually Monday, or Tuesday after a Monday holiday. That way you catch every open after the weekend.
- last trading day of the week: The last day of the week the market trades, usually Friday, or Thursday before Good Friday.
Offset
Section titled “Offset”Moves open and close by this many minutes: −30 signals half an hour before the open, 60 an hour after it. The other outputs stay as they are. With 1-hour candles the signal comes at the close of the candle the moment falls into; 09:30 needs candles of 30 minutes or shorter.
Example
Section titled “Example”Reports where BTC stands at the New York open on Mondays. In the replay, TP and SL and the price afterwards show what happened in the hours that followed.
How to connect the nodes:
- Market hours (open) → Telegram (Trigger)
- Message template (Message) → Telegram (Message)
On the board it reads: New York open · Mondays
Chain as JSON
To try it, copy it and paste it in the editor under “Import”. Importing creates a new chain.
{ "name": "Example: Market hours", "version": 1, "nodes": [ { "id": "c1", "type": "core.candle", "position": { "x": 40, "y": 40 }, "settings": { "pair": "BTC/USDT", "timeframe": "15m" } }, { "id": "h1", "type": "core.market-hours", "position": { "x": 40, "y": 170 }, "settings": { "market": "new-york", "days": "mon" } }, { "id": "m1", "type": "core.message", "position": { "x": 40, "y": 300 }, "settings": { "text": "New York opens. BTC is at {{price}}." } }, { "id": "t1", "type": "core.telegram", "position": { "x": 260, "y": 40 }, "settings": {} } ], "edges": [ { "from": "h1.open", "to": "t1.in" }, { "from": "m1.out", "to": "t1.message" } ]}Inputs and outputs
Section titled “Inputs and outputs”Only matching types connect: number series to number series (round pin), signal to signal (square), message to message (diamond).
| Direction | Pin | Type | Note |
|---|---|---|---|
| Input | – | – | No inputs: the data comes straight from the source. |
| Output | open | Signal (true/false) | – |
| Output | close | Signal (true/false) | – |
| Output | trading | Signal (true/false) | – |
| Output | holiday | Signal (true/false) | – |
| Output | Minutes since open | Number series | – |
Good to know
Section titled “Good to know”- In messages the value is called “minutes since New York open”.
- Search also finds it under: stock market, market hours, trading hours, session, open, close, opening bell, wall street, new york, london, frankfurt, tokyo, shanghai, hong kong, mumbai, asia, holiday, monday, overlap, us market.
- More under Market hours.
Technical details
Section titled “Technical details”Times in the market’s time zone, days by its calendar. “Open” is true on the candle with open < market open + offset ≤ candle close, “close” likewise; with candles that close exactly at the open the signal comes on time, with longer ones at the close of the candle it falls into. With a lunch break, open and close mean the trading day. “Trading” is true on candles that overlap a trading phase; the lunch break does not count. “Holiday” is true on candles that close on a weekday the market is closed, in local time. “Minutes since open” = (candle close − market open) / 1 min while the candle closes between open and close, otherwise empty, without offset. Holidays for New York, London, Frankfurt and Tokyo follow the exchanges’ rules, for Shanghai, Hong Kong and Mumbai their yearly notices, all from 2025.
- Type in the chain:
core.market-hours· Version 1.0.0 · Category keysrc - Settings in the chain:
market(Stock market),days(Days),offset(Offset) - Pins in the chain: Output
open,close,trading,holiday,minutes - Reference tests in the manifest: 3 (with fixed price data: 500 candles of 1h)
- How a node is built
Versión 2026.11.29.15 · Changelog