1

Is it normal to infrequently see errors retrieving trade/depth history by API from BTC-E? Or should I never see them.

I seem to be seeing at least one such error each day, I am running my script on an Amazon EC2.

Thanks, Jon.

0

Yes, most exchange APIs fail at times. Add a sleep-and-retry to your code.

  • Thanks, that's great. How long do you think the sleep should be/number of times to retry? – meld24 Nov 22 '14 at 19:58
  • Depends on the exchange's request limit and how urgent the data is, you wouldn't want to abuse the API service. Personally I'd give it at least 10 seconds but it's up to you. – George Nov 22 '14 at 22:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.