> For the complete documentation index, see [llms.txt](https://doc.fxwebapi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.fxwebapi.com/custom-worflows/weekend-trading.md).

# Offline Trading Cache

Solution of weekend trading and platform down-times

Due to real-time nature of FX market, FX Platforms are working 24/5.

To provide uninterrupted service during the weekend FXWebAPI is caching FX rates for weekend trading taking into account "weekend markup" for unforeseen market change.

FXWebAPI weekend logic:

1. Save "weekend" FX rates on Friday evening
2. Use this rates to Quote and Execute during the weekend
3. Export all trades executed during the weekend, when markets are back

{% hint style="success" %}
This allows your infrastructure to have the same workflow during the weekend as during the week.
{% endhint %}
