iqoptionapi.ws.objects package

Submodules

iqoptionapi.ws.objects.base module

Module for IQ Option Base websocket object.

class iqoptionapi.ws.objects.base.Base[source]

Bases: object

Class for IQ Option Base websocket object.

name

Property to get websocket object name.

Returns:The name of websocket object.

iqoptionapi.ws.objects.candles module

Module for IQ Option Candles websocket object.

class iqoptionapi.ws.objects.candles.Candle(candle_data)[source]

Bases: object

Class for IQ Option candle.

Parameters:candle_data – The list of candles data.
candle_close

Property to get candle close value.

Returns:The candle close value.
candle_high

Property to get candle high value.

Returns:The candle high value.
candle_low

Property to get candle low value.

Returns:The candle low value.
candle_open

Property to get candle open value.

Returns:The candle open value.
candle_time

Property to get candle time.

Returns:The candle time.
candle_type

Property to get candle type value.

Returns:The candle type value.
class iqoptionapi.ws.objects.candles.Candles[source]

Bases: iqoptionapi.ws.objects.base.Base

Class for IQ Option Candles websocket object.

candles_data

Property to get candles data.

Returns:The list of candles data.
current_candle

Method to get current candle.

Returns:The instance of Candle.
first_candle

Method to get first candle.

Returns:The instance of Candle.
second_candle

Method to get second candle.

Returns:The instance of Candle.

iqoptionapi.ws.objects.profile module

Module for IQ Option Profile websocket object.

class iqoptionapi.ws.objects.profile.Profile[source]

Bases: iqoptionapi.ws.objects.base.Base

Class for IQ Option Profile websocket object.

balance

Property to get balance value.

Returns:The balance value.
skey

Property to get skey value.

Returns:The skey value.

iqoptionapi.ws.objects.timesync module

Module for IQ Option TimeSync websocket object.

class iqoptionapi.ws.objects.timesync.TimeSync[source]

Bases: iqoptionapi.ws.objects.base.Base

Class for IQ Option TimeSync websocket object.

expiration_datetime

Property to get expiration datetime.

Returns:The expiration datetime.
expiration_time

Property to get expiration time.

Returns:The expiration time.
expiration_timestamp

Property to get expiration timestamp.

Returns:The expiration timestamp.
server_datetime

Property to get server datetime.

Returns:The server datetime.
server_timestamp

Property to get server timestamp.

Returns:The server timestamp.

Module contents

Module for IQ Option API websocket objects.