Exchange status fetcher

[sdks/ccxt/public/Exchange status fetcher]


The exchange status describes the latest known information on the availability of the exchange API. This information is either hardcoded into the exchange class or fetched live directly from the exchange API. More: https://docs.ccxt.com/en/latest/manual.html#exchange-status Example:

  1. Received via exchange:

{"id": "upbit"}@0<br>
```<br>
2. {}@0 received via `query`<br>
3. Sent via `data`:<br>
```<br>
{<br>
  "status": "ok"<br>
}@0 <br>
```<br>

---

### Input ports

* __exchange__: ` {"id": string} `

    Received the exchange to be used.<br>
    <br>
    More:<br>
    https://docs.ccxt.com/en/latest/exchange-markets.html<br>
    <br>
    Example:<br>
    ```<br>
    {"id": "upbit"}<br>
    ```<br>


* __query__: ` {optional "params": {string: any}} `

    Received the orderbooks parameters to be fetched.<br>
    <br>
    Example:<br>
    ```<br>
    {<br>
    }<br>
    ```<br>

### Output ports

* __data__: 
    ```
    {
      "status": ("ok" or "shutdown" or "error" or "maintenance"),
      optional "updated": number,
      optional "eta": string,
      optional "url": string
    }
    ```

    Sends the latest known information on the availability of the exchange API.<br>
    <br>
    Example:<br>
    ```<br>
    {<br>
      "status": "ok"<br>
    }<br>
    ```<br>
    <br>
    More:<br>
    https://docs.ccxt.com/en/latest/manual.html#exchange-status-structure<br>


* __error__: ` {"error": string, optional "details": any} `

Last updated