IG_fetch_markets: IG API Fetch Markets Information

Description Usage Arguments Value Examples

View source: R/IGAPI.R

Description

Fetch Markets Information

Usage

1
2
IG_fetch_markets(epic = "IX.D.FTSE.IFM.IP", headers,
  url = "https://demo-api.ig.com/gateway/deal/markets", timeo = 5)

Arguments

epic

Instrument ID

headers

Object returned from IG_Auth

url

API URL

timeo

number of tries

Value

A data.frame of markets information

Examples

1
2
HEADERS = IG_Auth(" ","APIdemo1", " ")
IG_fetch_markets(epic = "CS.D.AUDUSD.CFD.IP", HEADERS)

ivanliu1989/RQuantAPI documentation built on Sept. 13, 2019, 11:54 a.m.