Skip to content
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.

error: getTrades() returned duplicate results #188

Closed
ilitirit-za opened this issue May 25, 2017 · 5 comments
Closed

error: getTrades() returned duplicate results #188

ilitirit-za opened this issue May 25, 2017 · 5 comments
Labels

Comments

@ilitirit-za
Copy link

When I try to backfill some PoloniEx selectors, I get the error stated in the title.

eg.

root@home:~/zenbot# zenbot backfill poloniex.ZEC-USDT --days 365
poloniex.ZEC-USDT saved 200 trades 365 days left
...........
poloniex.ZEC-USDT saved 5886 trades 364 days left
...........
poloniex.ZEC-USDT saved 7364 trades 363 days left
...........
poloniex.ZEC-USDT saved 10082 trades 362 days left
...........
poloniex.ZEC-USDT saved 3065 trades 361 days left
...........
poloniex.ZEC-USDT saved 1844 trades 360 days left
............
poloniex.ZEC-USDT saved 2466 trades 359 days left
.......
error: getTrades() returned duplicate results
{ product_id: 'ZEC-USDT', to: 1495135649 }
{ product_id: 'ZEC-USDT', to: 1495135649 }

I'm using v4.0.3.

Btw, the -V/--version option doesn't appear to work:

root@home:~/zenbot# zenbot --version                                
                                                                        
  Usage: zenbot [options] [command]                                         
                                                                        
                                                                        
  Commands:                                                                 
                                                                        
    list-selectors                 list available selectors                 
    list-strategies                list available strategies                
    backfill [options] [selector]  download historical trades for analysis  
    sim [options] [selector]       run a simulation on backfilled data      
    trade [options] [selector]     run trading bot against live market data 
    buy [options] [selector]       execute a buy order to the exchange      
    sell [options] [selector]      execute a sell order to the exchange     
                                                                        
  Options:                                                                  
                                                                        
    -h, --help     output usage information                                 
    -V, --version  output the version number                                
@FridayOrtiz
Copy link

I am also getting this error as today, 29 July 2017.

$ zenbot backfill poloniex.ZEC-ETH --days=90

skipping 1848 hrs of previously collected data

poloniex.ZEC-ETH saved 200 trades 13 days left
.
error: getTrades() returned duplicate results
{ product_id: 'ZEC-ETH', to: 1494679728 }
{ product_id: 'ZEC-ETH', to: 1494679728 }

@edgaru
Copy link

edgaru commented Aug 6, 2017

$ zenbot backfill poloniex.ZEC-ETH
error: getTrades() returned duplicate results
{ product_id: 'GNO-ETH', to: 1501719094 }
{ product_id: 'GNO-ETH', to: 1501719094 }

$ zenbot backfill poloniex.GNO-ETH
error: getTrades() returned duplicate results
{ product_id: 'ZEC-ETH', to: 1501709649 }
{ product_id: 'ZEC-ETH', to: 1501709649 }

@andyceo
Copy link

andyceo commented Aug 7, 2017

Also can confirm this:

$ ./zenbot.sh backfill poloniex.ETH-BTC --days 90
skipping 116 hrs of previously collected data
poloniex.ETH-BTC saved 200 trades 86 days left
.
error: getTrades() returned duplicate results
{ product_id: 'ETH-BTC', to: 1501709273 }
{ product_id: 'ETH-BTC', to: 1501709273 }

Any thoughts how to solve?

@rcmantovani
Copy link

hi, is there any workaround for this problem? All poloniex pairs are returning the same error now.

@DeviaVir
Copy link
Owner

DeviaVir commented Aug 8, 2017

I know that this issue is newer than #455, but I think that captures the problem better, closing this one in favor of that one.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants