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

--days not always used #334

Closed
eppenga opened this issue Jun 25, 2017 · 2 comments
Closed

--days not always used #334

eppenga opened this issue Jun 25, 2017 · 2 comments
Labels

Comments

@eppenga
Copy link

eppenga commented Jun 25, 2017

Dear Sir,

Thank you very much for your great application!

When I use --days in combination with other parameters it is not always used. Please see the example below. To my understanding Zenbot should simulate 1 day here, but it simulates 3.

$ zenbot sim --days 1 --oversold_rsi 25 --oversold_rsi_periods 50 

{
  "asset_capital": 0,
  "avg_slippage_pct": 0.045,
  "buy_pct": 99,
  "buy_stop_pct": 0,
  "currency_capital": 1000,
  "days": 1,
  "markup_pct": 0,
  "max_sell_loss_pct": 25,
  "max_slippage_pct": 5,
  "min_periods": 52,
  "mode": "sim",
  "neutral_rate": "auto",
  "order_adjust_time": 30000,
  "order_type": "maker",
  "oversold_rsi": 25,
  "oversold_rsi_periods": 50,
  "period": "10m",
  "profit_stop_enable_pct": 0,
  "profit_stop_pct": 1,
  "rsi_periods": 50,
  "selector": "poloniex.BTC-USDT",
  "sell_pct": 99,
  "sell_stop_pct": 0,
  "start": 1498262400000,
  "stats": false,
  "strategy": "trend_ema",
  "trend_ema": 20,
  "verbose": false
}
end balance: 1030.24307048 (3.02%)
buy hold: 950.62247250 (-4.94%)
vs. buy hold: 8.38%
10 trades over 3 days (avg 3.33 trades/day)
win/loss: 2/3
error rate: 60.00%
wrote simulations/sim_result_poloniex.BTC-USDT_170625_174459_UTC.html

Kind regards,

Ebo Eppenga

@boshido
Copy link

boshido commented Aug 6, 2017

Can you share us the config of strategy you use ?

@DeviaVir
Copy link
Owner

Closing due to inactivity.

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

3 participants