Username: Password:

Author Topic: How to use Ignore Trades Before  (Read 11417 times)

Offline Unibert

  • Rookie
  • *
  • Posts: 22
    • View Profile
How to use Ignore Trades Before
« on: January 12, 2021, 08:56:49 PM »
I can't find any documentation on how this works or what values to input. Does it trail a certain amount of time behind the current time, or does it ignore everything before a certain date? Can someone provide a sample of how to use this?

Offline sbogovac

  • Contributor
  • **
  • Posts: 113
    • View Profile
Re: How to use Ignore Trades Before
« Reply #1 on: January 13, 2021, 09:22:35 AM »
I can't find any documentation on how this works or what values to input. Does it trail a certain amount of time behind the current time, or does it ignore everything before a certain date? Can someone provide a sample of how to use this?

It ignores all trades from before the given time. Time has to be given in UNIX/Linux time: https://currentmillis.com

Code: [Select]
"IGNORE_TRADES_BEFORE": 1610531144271,
And also delete the json folder. GunBot will rebuilt it from the given time.
« Last Edit: January 13, 2021, 09:46:52 AM by sbogovac »

Offline Unibert

  • Rookie
  • *
  • Posts: 22
    • View Profile
Re: How to use Ignore Trades Before
« Reply #2 on: January 13, 2021, 08:38:46 PM »
Thanks