diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000..d49d775 Binary files /dev/null and b/.DS_Store differ diff --git a/pocketoptionapi/__pycache__/__init__.cpython-37.pyc b/pocketoptionapi/__pycache__/__init__.cpython-37.pyc new file mode 100644 index 0000000..13a4bf9 Binary files /dev/null and b/pocketoptionapi/__pycache__/__init__.cpython-37.pyc differ diff --git a/pocketoptionapi/__pycache__/__init__.cpython-38.pyc b/pocketoptionapi/__pycache__/__init__.cpython-38.pyc new file mode 100644 index 0000000..67ab17c Binary files /dev/null and b/pocketoptionapi/__pycache__/__init__.cpython-38.pyc differ diff --git a/pocketoptionapi/__pycache__/api.cpython-311.pyc b/pocketoptionapi/__pycache__/api.cpython-311.pyc new file mode 100644 index 0000000..61e04fd Binary files /dev/null and b/pocketoptionapi/__pycache__/api.cpython-311.pyc differ diff --git a/pocketoptionapi/__pycache__/api.cpython-37.pyc b/pocketoptionapi/__pycache__/api.cpython-37.pyc new file mode 100644 index 0000000..816eeb4 Binary files /dev/null and b/pocketoptionapi/__pycache__/api.cpython-37.pyc differ diff --git a/pocketoptionapi/__pycache__/api.cpython-38.pyc b/pocketoptionapi/__pycache__/api.cpython-38.pyc new file mode 100644 index 0000000..3365c6b Binary files /dev/null and b/pocketoptionapi/__pycache__/api.cpython-38.pyc differ diff --git a/pocketoptionapi/__pycache__/constants.cpython-37.pyc b/pocketoptionapi/__pycache__/constants.cpython-37.pyc new file mode 100644 index 0000000..d1c7785 Binary files /dev/null and b/pocketoptionapi/__pycache__/constants.cpython-37.pyc differ diff --git a/pocketoptionapi/__pycache__/constants.cpython-38.pyc b/pocketoptionapi/__pycache__/constants.cpython-38.pyc new file mode 100644 index 0000000..5ad48c4 Binary files /dev/null and b/pocketoptionapi/__pycache__/constants.cpython-38.pyc differ diff --git a/pocketoptionapi/__pycache__/expiration.cpython-311.pyc b/pocketoptionapi/__pycache__/expiration.cpython-311.pyc new file mode 100644 index 0000000..5204f43 Binary files /dev/null and b/pocketoptionapi/__pycache__/expiration.cpython-311.pyc differ diff --git a/pocketoptionapi/__pycache__/expiration.cpython-37.pyc b/pocketoptionapi/__pycache__/expiration.cpython-37.pyc new file mode 100644 index 0000000..384058d Binary files /dev/null and b/pocketoptionapi/__pycache__/expiration.cpython-37.pyc differ diff --git a/pocketoptionapi/__pycache__/expiration.cpython-38.pyc b/pocketoptionapi/__pycache__/expiration.cpython-38.pyc new file mode 100644 index 0000000..3e45a9b Binary files /dev/null and b/pocketoptionapi/__pycache__/expiration.cpython-38.pyc differ diff --git a/pocketoptionapi/__pycache__/global_value.cpython-311.pyc b/pocketoptionapi/__pycache__/global_value.cpython-311.pyc new file mode 100644 index 0000000..d141896 Binary files /dev/null and b/pocketoptionapi/__pycache__/global_value.cpython-311.pyc differ diff --git a/pocketoptionapi/__pycache__/global_value.cpython-37.pyc b/pocketoptionapi/__pycache__/global_value.cpython-37.pyc new file mode 100644 index 0000000..268c77f Binary files /dev/null and b/pocketoptionapi/__pycache__/global_value.cpython-37.pyc differ diff --git a/pocketoptionapi/__pycache__/global_value.cpython-38.pyc b/pocketoptionapi/__pycache__/global_value.cpython-38.pyc new file mode 100644 index 0000000..fe0c4c1 Binary files /dev/null and b/pocketoptionapi/__pycache__/global_value.cpython-38.pyc differ diff --git a/pocketoptionapi/__pycache__/stable_api.cpython-311.pyc b/pocketoptionapi/__pycache__/stable_api.cpython-311.pyc new file mode 100644 index 0000000..c58b1f1 Binary files /dev/null and b/pocketoptionapi/__pycache__/stable_api.cpython-311.pyc differ diff --git a/pocketoptionapi/__pycache__/stable_api.cpython-37.pyc b/pocketoptionapi/__pycache__/stable_api.cpython-37.pyc new file mode 100644 index 0000000..ae93045 Binary files /dev/null and b/pocketoptionapi/__pycache__/stable_api.cpython-37.pyc differ diff --git a/pocketoptionapi/__pycache__/stable_api.cpython-38.pyc b/pocketoptionapi/__pycache__/stable_api.cpython-38.pyc new file mode 100644 index 0000000..aad7d75 Binary files /dev/null and b/pocketoptionapi/__pycache__/stable_api.cpython-38.pyc differ diff --git a/pocketoptionapi/constants.py b/pocketoptionapi/constants.py index cba6738..58cc096 100644 --- a/pocketoptionapi/constants.py +++ b/pocketoptionapi/constants.py @@ -137,25 +137,26 @@ class REGION: REGIONS = { - # "EUROPA": "wss://api-eu.po.market/socket.io/?EIO=4&transport=websocket", - # "SEYCHELLES": "wss://api-sc.po.market/socket.io/?EIO=4&transport=websocket", - # "HONGKONG": "wss://api-hk.po.market/socket.io/?EIO=4&transport=websocket", - # "SERVER1": "wss://api-spb.po.market/socket.io/?EIO=4&transport=websocket", - # "FRANCE2": "wss://api-fr2.po.market/socket.io/?EIO=4&transport=websocket", - # "UNITED_STATES4": "wss://api-us4.po.market/socket.io/?EIO=4&transport=websocket", - # "UNITED_STATES3": "wss://api-us3.po.market/socket.io/?EIO=4&transport=websocket", - # "UNITED_STATES2": "wss://api-us2.po.market/socket.io/?EIO=4&transport=websocket", - "DEMO": "wss://demo-api-eu.po.market/socket.io/?EIO=4&transport=websocket", - # "DEMO_2": "wss://try-demo-eu.po.market/socket.io/?EIO=4&transport=websocket", - # "UNITED_STATES": "wss://api-us-north.po.market/socket.io/?EIO=4&transport=websocket", - # "RUSSIA": "wss://api-msk.po.market/socket.io/?EIO=4&transport=websocket", - # "SERVER2": "wss://api-l.po.market/socket.io/?EIO=4&transport=websocket", - # "INDIA": "wss://api-in.po.market/socket.io/?EIO=4&transport=websocket", - # "FRANCE": "wss://api-fr.po.market/socket.io/?EIO=4&transport=websocket", - # "FINLAND": "wss://api-fin.po.market/socket.io/?EIO=4&transport=websocket", - # "SERVER3": "wss://api-c.po.market/socket.io/?EIO=4&transport=websocket", - # "ASIA": "wss://api-asia.po.market/socket.io/?EIO=4&transport=websocket", - # "SERVER4": "wss://api-us-south.po.market/socket.io/?EIO=4&transport=websocket" + "DEMO": "wss://demo-api-eu.po.market/socket.io/?EIO=4&transport=websocket", + "DEMO_2": "wss://try-demo-eu.po.market/socket.io/?EIO=4&transport=websocket", + "EUROPA": "wss://api-eu.po.market/socket.io/?EIO=4&transport=websocket", + "SEYCHELLES": "wss://api-sc.po.market/socket.io/?EIO=4&transport=websocket", + "HONGKONG": "wss://api-hk.po.market/socket.io/?EIO=4&transport=websocket", + "SERVER1": "wss://api-spb.po.market/socket.io/?EIO=4&transport=websocket", + "FRANCE2": "wss://api-fr2.po.market/socket.io/?EIO=4&transport=websocket", + "UNITED_STATES4": "wss://api-us4.po.market/socket.io/?EIO=4&transport=websocket", + "UNITED_STATES3": "wss://api-us3.po.market/socket.io/?EIO=4&transport=websocket", + "UNITED_STATES2": "wss://api-us2.po.market/socket.io/?EIO=4&transport=websocket", + + "UNITED_STATES": "wss://api-us-north.po.market/socket.io/?EIO=4&transport=websocket", + "RUSSIA": "wss://api-msk.po.market/socket.io/?EIO=4&transport=websocket", + "SERVER2": "wss://api-l.po.market/socket.io/?EIO=4&transport=websocket", + "INDIA": "wss://api-in.po.market/socket.io/?EIO=4&transport=websocket", + "FRANCE": "wss://api-fr.po.market/socket.io/?EIO=4&transport=websocket", + "FINLAND": "wss://api-fin.po.market/socket.io/?EIO=4&transport=websocket", + "SERVER3": "wss://api-c.po.market/socket.io/?EIO=4&transport=websocket", + "ASIA": "wss://api-asia.po.market/socket.io/?EIO=4&transport=websocket", + "SERVER4": "wss://api-us-south.po.market/socket.io/?EIO=4&transport=websocket" } def __getattr__(self, key): diff --git a/pocketoptionapi/global_value.py b/pocketoptionapi/global_value.py index f5e1c7c..356be65 100644 --- a/pocketoptionapi/global_value.py +++ b/pocketoptionapi/global_value.py @@ -17,3 +17,7 @@ balance_updated = None result = None order_data = {} +order_open = [] +order_closed = [] +stat = [] +DEMO = None diff --git a/pocketoptionapi/stable_api.py b/pocketoptionapi/stable_api.py index 9801c86..336432b 100644 --- a/pocketoptionapi/stable_api.py +++ b/pocketoptionapi/stable_api.py @@ -1,9 +1,9 @@ # This is a sample Python script. import asyncio import threading - +import sys from tzlocal import get_localzone - +import json from pocketoptionapi.api import PocketOptionAPI import pocketoptionapi.constants as OP_code # import pocketoptionapi.country_id as Country @@ -36,10 +36,11 @@ def get_balance(): class PocketOption: __version__ = "1.0.0" - def __init__(self, ssid): + def __init__(self, ssid,demo): self.size = [1, 5, 10, 15, 30, 60, 120, 300, 600, 900, 1800, 3600, 7200, 14400, 28800, 43200, 86400, 604800, 2592000] global_value.SSID = ssid + global_value.DEMO = demo self.suspend = 0.5 self.thread = None self.subscribe_candle = [] @@ -66,6 +67,8 @@ def __init__(self, ssid): def get_server_timestamp(self): return self.api.time_sync.server_timestamp + def Stop(self): + sys.exit() def get_server_datetime(self): return self.api.time_sync.server_datetime @@ -86,6 +89,34 @@ def get_async_order_id(self, buy_order_id): def start_async(self): asyncio.run(self.api.connect()) + def disconnect(self): + """Gracefully close the WebSocket connection and clean up.""" + try: + # Close the WebSocket connection + if global_value.websocket_is_connected: + asyncio.run(self.api.close()) # Use the close method from the PocketOptionAPI class + print("WebSocket connection closed successfully.") + else: + print("WebSocket was not connected.") + + # Cancel any running asyncio tasks + if self.loop is not None: + for task in asyncio.all_tasks(self.loop): + task.cancel() + + # If you were using a custom event loop, stop and close it + if not self.loop.is_closed(): + self.loop.stop() + self.loop.close() + print("Event loop stopped and closed successfully.") + + # Clean up the WebSocket thread if it's still running + if self.api.websocket_thread is not None and self.api.websocket_thread.is_alive(): + self.api.websocket_thread.join() + print("WebSocket thread joined successfully.") + + except Exception as e: + print(f"Error during disconnect: {e}") def connect(self): """ @@ -101,6 +132,16 @@ def connect(self): print(f"Error al conectar: {e}") return False return True + + def GetPayout(self, pair): + data = self.api.GetPayoutData() + data = json.loads(data) + data2 = None + for i in data: + if i[1] == pair: + data2 = i + + return data2[5] @staticmethod def check_connect(): @@ -121,7 +162,24 @@ def get_balance(): return global_value.balance else: return None - + @staticmethod + def check_open(): + #print(global_value.order_open) + return global_value.order_open + @staticmethod + def check_order_closed(ido): + + while ido not in global_value.order_closed : + time.sleep(0.1) + + for pack in global_value.stat : + if pack[0] == ido : + print('Order Closed',pack[1]) + + #print(global_value.order_closed) + return pack[0] + + def buy(self, amount, active, action, expirations): self.api.buy_multi_option = {} self.api.buy_successful = None @@ -139,6 +197,8 @@ def buy(self, amount, active, action, expirations): global_value.order_data = None global_value.result = None + + self.api.buyv3(amount, active, action, expirations, req_id) start_t = time.time() @@ -202,59 +262,77 @@ def get_candles(self, active, period, start_time=None, count=6000, count_request :param start_time: El tiempo final para la última vela. :param count_request: El número de peticiones para obtener más datos históricos. """ - if start_time is None: - time_sync = self.get_server_timestamp() - time_red = self.last_time(time_sync, period) - else: - time_red = start_time - time_sync = self.get_server_timestamp() - - all_candles = [] - - for _ in range(count_request): - self.api.history_data = None - - while True: - try: - # Enviar la petición de velas - self.api.getcandles(active, 30, count, time_red) - - # Esperar hasta que history_data no sea None - while self.check_connect and self.api.history_data is None: - time.sleep(0.1) - - if self.api.history_data is not None: - all_candles.extend(self.api.history_data) - break - - except Exception as e: - logging.error(e) - # Puedes agregar lógica de reconexión aquí si es necesario - - # Ordenar all_candles por 'index' para asegurar que estén en el orden correcto - all_candles = sorted(all_candles, key=lambda x: x["time"]) - - # Asegurarse de que se han recibido velas antes de actualizar time_red - if all_candles: - # Usar el tiempo de la última vela recibida para la próxima petición - time_red = all_candles[0]["time"] - - # Crear un DataFrame con todas las velas obtenidas - df_candles = pd.DataFrame(all_candles) - - # Ordenar por la columna 'time' de menor a mayor - df_candles = df_candles.sort_values(by='time').reset_index(drop=True) - df_candles['time'] = pd.to_datetime(df_candles['time'], unit='s') - df_candles.set_index('time', inplace=True) - df_candles.index = df_candles.index.floor('1s') - - # Resamplear los datos en intervalos de 30 segundos y calcular open, high, low, close - df_resampled = df_candles['price'].resample(f'{period}s').ohlc() - - # Resetear el índice para que 'time' vuelva a ser una columna - df_resampled.reset_index(inplace=True) - - return df_resampled + try: + print("In try") + if start_time is None: + time_sync = self.get_server_timestamp() + time_red = self.last_time(time_sync, period) + else: + time_red = start_time + time_sync = self.get_server_timestamp() + + all_candles = [] + + for _ in range(count_request): + self.api.history_data = None + print("In FOr Loop") + + while True: + logging.info("Entered WHileloop in GetCandles") + print("In WHile loop") + try: + # Enviar la petición de velas + print("Before get candles") + self.api.getcandles(active, 30, count, time_red) + print("AFter get candles") + + # Esperar hasta que history_data no sea None + for i in range(1, 100): + if self.api.history_data is None: + print(f"SLeeping, attempt: {i} / 100") + time.sleep(0.1) + if i == 99: + break + + if self.api.history_data is not None: + print("In break") + all_candles.extend(self.api.history_data) + break + + except Exception as e: + logging.error(e) + # Puedes agregar lógica de reconexión aquí si es necesario + #self.api.connect() + + # Ordenar all_candles por 'index' para asegurar que estén en el orden correcto + all_candles = sorted(all_candles, key=lambda x: x["time"]) + + # Asegurarse de que se han recibido velas antes de actualizar time_red + if all_candles: + # Usar el tiempo de la última vela recibida para la próxima petición + time_red = all_candles[0]["time"] + + # Crear un DataFrame con todas las velas obtenidas + df_candles = pd.DataFrame(all_candles) + + # Ordenar por la columna 'time' de menor a mayor + df_candles = df_candles.sort_values(by='time').reset_index(drop=True) + df_candles['time'] = pd.to_datetime(df_candles['time'], unit='s') + df_candles.set_index('time', inplace=True) + df_candles.index = df_candles.index.floor('1s') + + # Resamplear los datos en intervalos de 30 segundos y calcular open, high, low, close + df_resampled = df_candles['price'].resample(f'{period}s').ohlc() + + # Resetear el índice para que 'time' vuelva a ser una columna + df_resampled.reset_index(inplace=True) + + print("FINISHED!!!") + + return df_resampled + except: + print("In except") + return None @staticmethod def process_data_history(data, period): @@ -317,7 +395,7 @@ def process_candle(candle_data, period): data_df.drop_duplicates(subset='time', keep="first", inplace=True) data_df.reset_index(drop=True, inplace=True) data_df.ffill(inplace=True) - data_df.drop(columns='symbol_id', inplace=True) + #data_df.drop(columns='symbol_id', inplace=True) # Verificación opcional: Comprueba si las diferencias son todas de 60 segundos (excepto el primer valor NaN) diferencias = data_df['time'].diff() diff = (diferencias[1:] == period).all() diff --git a/pocketoptionapi/ws/__pycache__/client.cpython-311.pyc b/pocketoptionapi/ws/__pycache__/client.cpython-311.pyc new file mode 100644 index 0000000..c231de3 Binary files /dev/null and b/pocketoptionapi/ws/__pycache__/client.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/__pycache__/client.cpython-37.pyc b/pocketoptionapi/ws/__pycache__/client.cpython-37.pyc new file mode 100644 index 0000000..b841419 Binary files /dev/null and b/pocketoptionapi/ws/__pycache__/client.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/__pycache__/client.cpython-38.pyc b/pocketoptionapi/ws/__pycache__/client.cpython-38.pyc new file mode 100644 index 0000000..9049a49 Binary files /dev/null and b/pocketoptionapi/ws/__pycache__/client.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/base.cpython-311.pyc b/pocketoptionapi/ws/channels/__pycache__/base.cpython-311.pyc new file mode 100644 index 0000000..8a9c9c1 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/base.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/base.cpython-37.pyc b/pocketoptionapi/ws/channels/__pycache__/base.cpython-37.pyc new file mode 100644 index 0000000..3c4fbb0 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/base.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/base.cpython-38.pyc b/pocketoptionapi/ws/channels/__pycache__/base.cpython-38.pyc new file mode 100644 index 0000000..0379593 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/base.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/buyv3.cpython-311.pyc b/pocketoptionapi/ws/channels/__pycache__/buyv3.cpython-311.pyc new file mode 100644 index 0000000..5edc979 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/buyv3.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/buyv3.cpython-37.pyc b/pocketoptionapi/ws/channels/__pycache__/buyv3.cpython-37.pyc new file mode 100644 index 0000000..46d6cd2 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/buyv3.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/buyv3.cpython-38.pyc b/pocketoptionapi/ws/channels/__pycache__/buyv3.cpython-38.pyc new file mode 100644 index 0000000..79cc305 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/buyv3.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/candles.cpython-311.pyc b/pocketoptionapi/ws/channels/__pycache__/candles.cpython-311.pyc new file mode 100644 index 0000000..2e0d25b Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/candles.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/candles.cpython-37.pyc b/pocketoptionapi/ws/channels/__pycache__/candles.cpython-37.pyc new file mode 100644 index 0000000..6e03805 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/candles.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/candles.cpython-38.pyc b/pocketoptionapi/ws/channels/__pycache__/candles.cpython-38.pyc new file mode 100644 index 0000000..4a4d37f Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/candles.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/change_symbol.cpython-311.pyc b/pocketoptionapi/ws/channels/__pycache__/change_symbol.cpython-311.pyc new file mode 100644 index 0000000..8ed93bb Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/change_symbol.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/change_symbol.cpython-37.pyc b/pocketoptionapi/ws/channels/__pycache__/change_symbol.cpython-37.pyc new file mode 100644 index 0000000..fd305e0 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/change_symbol.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/change_symbol.cpython-38.pyc b/pocketoptionapi/ws/channels/__pycache__/change_symbol.cpython-38.pyc new file mode 100644 index 0000000..027db20 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/change_symbol.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/get_balances.cpython-311.pyc b/pocketoptionapi/ws/channels/__pycache__/get_balances.cpython-311.pyc new file mode 100644 index 0000000..f5380dd Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/get_balances.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/get_balances.cpython-37.pyc b/pocketoptionapi/ws/channels/__pycache__/get_balances.cpython-37.pyc new file mode 100644 index 0000000..c78d9d3 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/get_balances.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/get_balances.cpython-38.pyc b/pocketoptionapi/ws/channels/__pycache__/get_balances.cpython-38.pyc new file mode 100644 index 0000000..3e1fd5a Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/get_balances.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/ssid.cpython-311.pyc b/pocketoptionapi/ws/channels/__pycache__/ssid.cpython-311.pyc new file mode 100644 index 0000000..160e8f2 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/ssid.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/ssid.cpython-37.pyc b/pocketoptionapi/ws/channels/__pycache__/ssid.cpython-37.pyc new file mode 100644 index 0000000..c7fb444 Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/ssid.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/channels/__pycache__/ssid.cpython-38.pyc b/pocketoptionapi/ws/channels/__pycache__/ssid.cpython-38.pyc new file mode 100644 index 0000000..30c5b8b Binary files /dev/null and b/pocketoptionapi/ws/channels/__pycache__/ssid.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/base.cpython-311.pyc b/pocketoptionapi/ws/objects/__pycache__/base.cpython-311.pyc new file mode 100644 index 0000000..0503f2b Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/base.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/base.cpython-37.pyc b/pocketoptionapi/ws/objects/__pycache__/base.cpython-37.pyc new file mode 100644 index 0000000..dbb7ac8 Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/base.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/base.cpython-38.pyc b/pocketoptionapi/ws/objects/__pycache__/base.cpython-38.pyc new file mode 100644 index 0000000..6ce24aa Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/base.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/candles.cpython-311.pyc b/pocketoptionapi/ws/objects/__pycache__/candles.cpython-311.pyc new file mode 100644 index 0000000..1a6608a Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/candles.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/candles.cpython-37.pyc b/pocketoptionapi/ws/objects/__pycache__/candles.cpython-37.pyc new file mode 100644 index 0000000..ef7c9cf Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/candles.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/candles.cpython-38.pyc b/pocketoptionapi/ws/objects/__pycache__/candles.cpython-38.pyc new file mode 100644 index 0000000..2c911e6 Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/candles.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/time_sync.cpython-311.pyc b/pocketoptionapi/ws/objects/__pycache__/time_sync.cpython-311.pyc new file mode 100644 index 0000000..6aa4d02 Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/time_sync.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/time_sync.cpython-37.pyc b/pocketoptionapi/ws/objects/__pycache__/time_sync.cpython-37.pyc new file mode 100644 index 0000000..bb26b23 Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/time_sync.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/time_sync.cpython-38.pyc b/pocketoptionapi/ws/objects/__pycache__/time_sync.cpython-38.pyc new file mode 100644 index 0000000..5f4a5cf Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/time_sync.cpython-38.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/timesync.cpython-311.pyc b/pocketoptionapi/ws/objects/__pycache__/timesync.cpython-311.pyc new file mode 100644 index 0000000..0f1d11f Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/timesync.cpython-311.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/timesync.cpython-37.pyc b/pocketoptionapi/ws/objects/__pycache__/timesync.cpython-37.pyc new file mode 100644 index 0000000..02aa6eb Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/timesync.cpython-37.pyc differ diff --git a/pocketoptionapi/ws/objects/__pycache__/timesync.cpython-38.pyc b/pocketoptionapi/ws/objects/__pycache__/timesync.cpython-38.pyc new file mode 100644 index 0000000..b011954 Binary files /dev/null and b/pocketoptionapi/ws/objects/__pycache__/timesync.cpython-38.pyc differ