uneasyguy / binance_data

Python package to retrieve historical data from Binance
MIT License
46 stars 9 forks source link

Runtime Error #1

Closed AsgherAli closed 5 years ago

AsgherAli commented 5 years ago

RuntimeError: An attempt has been made to start a new process before the current process has finished its bootstrapping phase.

error

uneasyguy commented 5 years ago

Hi Asgher,

Can you show me what the python file you're using to call the package looks like?

AsgherAli commented 5 years ago

Hi Asgher,

Can you show me what the python file you're using to call the package looks like?

git

uneasyguy commented 5 years ago

try something like this on windows and let me know if it's any better please: https://gist.github.com/uneasyguy/07f51e85f9e6b567cd72e96f81d13986

AsgherAli commented 5 years ago

try something like this on windows and let me know if it's any better please: https://gist.github.com/uneasyguy/07f51e85f9e6b567cd72e96f81d13986

The issue is fixed, thank you

AsgherAli commented 5 years ago

The program is providing individual csv per interval and not cumulating into one csv per symbol i.e. 200+ csvs per symbol.

giterr

uneasyguy commented 5 years ago

Yeah it creates individual csvs first, and then concatenates into a single sheet to account for different needs.

I have made changes to client.py that hopefully will solve the issue above. Please let me know if it helps.

uneasyguy commented 5 years ago

Oh, and I wouldn't call your storage folder binance_data just to avoid any naming conflicts.

AsgherAli commented 5 years ago

Yeah it creates individual csvs first, and then concatenates into a single sheet to account for different needs.

I have made changes to client.py that hopefully will solve the issue above. Please let me know if it helps.

The issue persists persists

uneasyguy commented 5 years ago

Change your date window to more than 1 day

On Thu, Oct 17, 2019, 6:20 PM AsgherAli notifications@github.com wrote:

Yeah it creates individual csvs first, and then concatenates into a single sheet to account for different needs.

I have made changes to client.py that hopefully will solve the issue above. Please let me know if it helps.

The issue persists [image: persists] https://user-images.githubusercontent.com/35127781/67051969-2e6eb700-f156-11e9-94c9-93cec0d3410f.PNG

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/uneasyguy/binance_data/issues/1?email_source=notifications&email_token=AG7AJOPEIJ4QRGS4DIIR6FLQPDQJ3A5CNFSM4JBQYOK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBRWOMI#issuecomment-543385393, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG7AJONMS3FHHOUEPUVUUKDQPDQJ3ANCNFSM4JBQYOKQ .

AsgherAli commented 5 years ago

Change your date window to more than 1 day On Thu, Oct 17, 2019, 6:20 PM AsgherAli @.***> wrote: Yeah it creates individual csvs first, and then concatenates into a single sheet to account for different needs. I have made changes to client.py that hopefully will solve the issue above. Please let me know if it helps. The issue persists [image: persists] https://user-images.githubusercontent.com/35127781/67051969-2e6eb700-f156-11e9-94c9-93cec0d3410f.PNG — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#1?email_source=notifications&email_token=AG7AJOPEIJ4QRGS4DIIR6FLQPDQJ3A5CNFSM4JBQYOK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBRWOMI#issuecomment-543385393>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG7AJONMS3FHHOUEPUVUUKDQPDQJ3ANCNFSM4JBQYOKQ .

1

2

It's downloading data but as individuals csvs only

uneasyguy commented 5 years ago

Try using a pair list of something like ['ETHBTC', 'XRPBTC'] with a few day window & see if it concatenates properly.

Everything works on Unix based systems, & you are the first that I know of to use it on Windows so I apologize that you're a but of a guinea pig in this. Appreciate your patience as we work through it.

AsgherAli commented 5 years ago

Try using a pair list of something like ['ETHBTC', 'XRPBTC'] with a few day window & see if it concatenates properly.

Everything works on Unix based systems, & you are the first that I know of to use it on Windows so I apologize that you're a but of a guinea pig in this. Appreciate your patience as we work through it.

Working perfectly on individual pairs. Thanks to you for helping out