Skip to content

Actives

Alexander Skiridomov edited this page Sep 1, 2016 · 7 revisions

To subsribe for trade actives information you can use api.setactives(actives_number_list) method. Every active has it's own internal identifier the associated dictionary (ACTIVES) with name:identifier your can find in constants.py

ACTIVES = {"EURUSD": 1,
           "EURUSD-OTC": 76}
import iqapi.constants as api_constants

api.setactives([1, 76])

or

api.setactives([api_constants.ACTIVES["EURUSD"], api_constants.ACTIVES["EURUSD-OTC"]])

About

Installation

Getting Started

Troubleshooting

Clone this wiki locally