quantlab.acquisition.massive.client.rest_transport#
- quantlab.acquisition.massive.client.rest_transport(url, *, params, headers)[source]#
Send one REST GET; the client’s default
http_get.quantlab.acquisition._support.http.http_getwithREST_TIMEOUT, following redirects (requestsdropsAuthorizationon a redirect to another host), and raisingMassiveTransportErrorfor a connection that fails or breaks.Examples
Needs the network; without a key Massive answers 401:
rest_transport(CONDITIONS_URL, params={"asset_class": "stocks"}, headers={}).status