[SHARE] Simple RSI BULL/BEAR strategy
Good evening.

I installed Gekko and the two RSI strategies. All is working fine, almost  Wink
When I run a backtest of RSI_BULL_BEAR_ADX, no results are shown in Gekko after the simulation. Is there a setting I have to modify?
When I run RSI_BULL_BEAR everything is fine.

I noticed a difference in the log:

RSI_BULL_BEAR:

Code:
2018-02-22 20:33:45 (INFO):    Setting up Gekko in backtest mode
2018-02-22 20:33:45 (INFO):    
2018-02-22 20:33:45 (INFO):    Setting up:
2018-02-22 20:33:45 (INFO):         Trading Advisor
2018-02-22 20:33:45 (INFO):         Calculate trading advice
2018-02-22 20:33:45 (INFO):         Using the strategy: RSI_BULL_BEAR
2018-02-22 20:33:46 (INFO):    

2018-02-22 20:33:46 (INFO):    Setting up:
2018-02-22 20:33:46 (INFO):         Paper Trader
2018-02-22 20:33:46 (INFO):         Paper trader that simulates fake trades.
2018-02-22 20:33:46 (INFO):    

2018-02-22 20:33:46 (INFO):    Setting up:
2018-02-22 20:33:46 (INFO):         Performance Analyzer
2018-02-22 20:33:46 (INFO):         Analyzes performances of trades
2018-02-22 20:33:46 (INFO):    

2018-02-22 20:33:46 (INFO):        WARNING: BACKTESTING FEATURE NEEDS PROPER TESTING
2018-02-22 20:33:46 (INFO):        WARNING: ACT ON THESE NUMBERS AT YOUR OWN RISK!
2018-02-22 20:35:10 (DEBUG):    ====================================
2018-02-22 20:35:10 (DEBUG):    Finished in 1.4012166666666666 minutes
2018-02-22 20:35:10 (DEBUG):    ====================================
 --> POST /api/backtest 200 85s 524.07kb

RSI_BULL_BEAR_ADX:
Code:
2018-02-22 20:31:24 (INFO):    Setting up Gekko in backtest mode
2018-02-22 20:31:24 (INFO):    
2018-02-22 20:31:24 (INFO):    Setting up:
2018-02-22 20:31:24 (INFO):         Trading Advisor
2018-02-22 20:31:24 (INFO):         Calculate trading advice
2018-02-22 20:31:24 (INFO):         Using the strategy: RSI_BULL_BEAR_ADX
2018-02-22 20:31:24 (INFO):    ====================================
2018-02-22 20:31:24 (INFO):    Running RSI Bull and Bear + ADX
2018-02-22 20:31:24 (INFO):    ====================================
2018-02-22 20:31:24 (INFO):    Make sure your warmup period matches SMA_long and that Gekko downloads data if needed
2018-02-22 20:31:24 (WARN):    *** WARNING *** Your Warmup period is lower then SMA_long. If Gekko does not download data automatically when running LIVE the strategy will default to BEAR-mode until it has enough data.
2018-02-22 20:31:24 (INFO):    

2018-02-22 20:31:24 (INFO):    Setting up:
2018-02-22 20:31:24 (INFO):         Paper Trader
2018-02-22 20:31:24 (INFO):         Paper trader that simulates fake trades.
2018-02-22 20:31:24 (INFO):    

2018-02-22 20:31:24 (INFO):    Setting up:
2018-02-22 20:31:24 (INFO):         Performance Analyzer
2018-02-22 20:31:24 (INFO):         Analyzes performances of trades
2018-02-22 20:31:24 (INFO):    

2018-02-22 20:31:25 (INFO):        WARNING: BACKTESTING FEATURE NEEDS PROPER TESTING
2018-02-22 20:31:25 (INFO):        WARNING: ACT ON THESE NUMBERS AT YOUR OWN RISK!
2018-02-22 20:31:30 (INFO):    ====================================
2018-02-22 20:31:30 (INFO):    Finished in 2.07 minutes
2018-02-22 20:31:30 (INFO):    ====================================
2018-02-22 20:33:28 (INFO):    ====================================
2018-02-22 20:33:28 (INFO):    Finished in 2.06 minutes
2018-02-22 20:33:28 (INFO):    ====================================

At the end of he second file, "POST /api/backtest 200 85s 524.07kb" (or something along these lines) is missing. Looks like there is no result data returned?

Thanks a lot for your help!!

Luke

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Edit:

This SOLVED the issue:

https://forum.gekko.wizb.it/thread-53.ht...ht=timeout
  Reply


Messages In This Thread
Werkkrew Stoploss - by susitronix - 02-02-2018, 09:39 PM
Removed post - by susitronix - 02-03-2018, 06:49 PM
@Gryphon Confirmation - by mvangoor - 03-22-2019, 11:59 PM
for 3 months - by ankasem - 02-18-2018, 05:30 PM
RE: [SHARE] Simple RSI BULL/BEAR strategy - by Luke - 02-22-2018, 07:46 PM

Forum Jump:


Users browsing this thread: