zenbot backfill start and end date bug

Created on 18 Dec 2017  路  9Comments  路  Source: DeviaVir/zenbot

image

I am trying to use the syntax for constricted time range of backfilling, yet it is not executing. Please advise!

image

documentation

Most helpful comment

The problem still exists!

The command

zenbot backfill binance.ZEN-BTC start="1553263560000" end="1553904000000"

results into the same as

zenbot backfill binance.ZEN-BTC

Yes, I also tried the format "YYYYMMDDhhmm".
It always loads the trades of the last 14 days and never the span which would be very helpful.

edit: I forked the repo and I will try to add this feature. I don't know how long it would take but there is a branch for the mode 'backward' with 'target_time' and else 'start_time' and 'target_time'. So maybe the functionality still exists rawly? If someone who is more familiar with the code wants to do the job, i would highly appreciate it.

edit2: I guess I fixed it. Really really simple thing. It's the first time for me participating on open source so after testing I have to look for the conventional process to add it. Stay tuned, I will do this the next days.

edit3: pull request done.

zenbot backfill \

will work after the merge

All 9 comments

It looks like backfill is just --days, train does have --start and --end, so looks like a documentation problem.

For the <"timestamp"> when running the zenbot, use the Unix syntax timestamp in milliseconds, not as advised in the documentation (YYYYMMDDhhmm). It then works as expected.

Free converter here: https://www.epochconverter.com/

Hello @hanassabio:
I tried backfill --start=1496620800000 --end=1499212800000 and also backfill --start="1496620800000" --end="1499212800000"
In both cases I keep getting:

error: unknown option `--start'

Any ideas? Thanks!

Hi, are you including the "selector" in your code after _backfill_ and before _--start_? See below taken from the main documentation:
image

@hanassabio I think I am doing it right:

captura de pantalla 2017-12-25 a las 14 05 13

I am looking at the source code for backfill and I do not see any --start or --end option around

@acecilia found today your issue, maybe late, but the solution is to remove the to underscore in front of 'start' and 'end' --> wrong --start & --end -> Solution start & end . Simple, it work find for me. I hope it will work for you.

neither of the suggested solutions work. :frowning_face:

and at the readme there is still the completely wrong syntax mentioned: https://github.com/DeviaVir/zenbot#run-a-simulation-for-your-selector
so this issue is definitely not solved and needs to be reopened!

whereby the best would be to enable backfilling between certain dates (again) - no matter with which syntax, because if i just want to test a specific month/week/etc and have to backfill all data between now and then, it is just a waste of time, space, bandwidth and whatever resources else...

The problem still exists!

The command

zenbot backfill binance.ZEN-BTC start="1553263560000" end="1553904000000"

results into the same as

zenbot backfill binance.ZEN-BTC

Yes, I also tried the format "YYYYMMDDhhmm".
It always loads the trades of the last 14 days and never the span which would be very helpful.

edit: I forked the repo and I will try to add this feature. I don't know how long it would take but there is a branch for the mode 'backward' with 'target_time' and else 'start_time' and 'target_time'. So maybe the functionality still exists rawly? If someone who is more familiar with the code wants to do the job, i would highly appreciate it.

edit2: I guess I fixed it. Really really simple thing. It's the first time for me participating on open source so after testing I have to look for the conventional process to add it. Stay tuned, I will do this the next days.

edit3: pull request done.

zenbot backfill \

will work after the merge

now this is really closed with #1881 by @durek1337. :tada: thank you very much! :clap:

Was this page helpful?
0 / 5 - 0 ratings

Related issues

MCrypto picture MCrypto  路  5Comments

timstoop picture timstoop  路  4Comments

mrzobot picture mrzobot  路  3Comments

nedievas picture nedievas  路  4Comments

voltz67 picture voltz67  路  5Comments