# Triggering Weekly Close

Since every aspect of GG exists on-chain which requires on-chain transactions for events to occur, a transaction is required to trigger the locking and storing of the weekly close each week. Therefore the weekly close price could be retrieved and locked several seconds to minutes after the exact weekly close.

Locking and storing the weekly close price happens one of two ways, whichever happens first after Sunday night 23:59:59:

1. Any buy/sell/transfer transaction of GG that happens on or after Sunday night 23:59:59 will trigger the weekly close to be locked.
2. Anyone can manually execute the \`submitClose()\` contract function after the weekly close time to trigger.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.gudguess.com/gg-game-mechanics-and-jackpot/triggering-weekly-close.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
