Skip to content

index publishing calendar

Adrian Gortzak edited this page Jul 6, 2021 · 1 revision

Index publishing calendar

The code below gives an example of how to use the client to get index publications.

import valueguard

vgClient = valueguard.Client()
vgClient.authenticate("<username>", "<password>")


print(vgClient.index_publishing_calendar(search_criteria={}))

Raw response

{
    "publication_dates": [
        {
            "averaging_period": "1m",
            "publishing_date": "2021-06-06 06:00:00.0",
            "max_averaging_period": "2021-05-15"
        },
        {
            "averaging_period": "1m",
            "publishing_date": "2021-05-20 06:00:00.0",
            "max_averaging_period": "2021-04-15"
        }
   ]
}

Raw request

Get

curl https://api.valueguard.se/v1/index/publishing/calendar?history={history}&averaging_period={averaging_period}
Clone this wiki locally