python-poloniex icon indicating copy to clipboard operation
python-poloniex copied to clipboard

Runned script not exit

Open TonyRehley opened this issue 9 years ago • 4 comments

I have simple script.py:

from poloniex import Poloniex
polo = Poloniex()
polo.returnChartData('BTC_ETH', 1800, 1405699200, 9999999999)

running this via command: python script.py execution can't be finished. So I must stop it manually Ctr+C.

TonyRehley avatar May 15 '17 13:05 TonyRehley

I think this is related to #109 #111 Are you getting delay messages? It can take almost a full minute for the retry delay list to be exhausted and an error to be displayed if the request isn't reaching poloniex.

s4w3d0ff avatar May 15 '17 20:05 s4w3d0ff

Thank for reply. I use python3 so I swtiched to poloniex-api with asyncio and now works ok.

TonyRehley avatar May 16 '17 04:05 TonyRehley

This wrapper should work fine on python3 for the REST api. Like I said, it is probably just network issues...

s4w3d0ff avatar May 16 '17 08:05 s4w3d0ff

I'm having the same problem. Left the script running over-night and it still hasn't exited. I'm using Python 3 on macOS 10.13.2.

paikov avatar Feb 20 '18 08:02 paikov