BacktestTool - batch backtest, import and strategy parameters optimalization
#81
(06-22-2018, 12:29 AM)khan2 Wrote:
(06-22-2018, 12:24 AM)khan2 Wrote: Ive done that,npm install Tulind seems to install ok,but Talib gives errors wont install,Thanks for advice, any other ideas.

Ive allso installed extra indicators,still no luck,Should Talib be ok on windows 7? or does it have to run on 10+Bash? I allso run live trade on gekko UI,could this be an issue trying to run backtest on CMD while live trading on UI.

When installing talib, this is the error,


C:\Users\guest2\Downloads\gekko-develop install for backtest\gekko-develop>npm i
nstall talib

> talib@1.0.5 install C:\Users\guest2\Downloads\gekko-develop install for backte
st\gekko-develop\node_modules\talib
> node ./src/lib/build.js && node-gyp configure && node-gyp build

building talib functions...
fs.js:904
  return binding.readdir(pathModule._makeLong(path), options.encoding);
                 ^

Error: ENOENT: no such file or directory, scandir 'C:\Program Files (x86)\Refere
nce Assemblies\Microsoft\Framework\.NETFramework'
    at Object.fs.readdirSync (fs.js:904:18)
    at Object.<anonymous> (C:\Users\guest2\Downloads\gekko-develop install for b
acktest\gekko-develop\node_modules\talib\src\lib\build.js:22:30)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Function.Module.runMain (module.js:693:10)
    at startup (bootstrap_node.js:191:16)
    at bootstrap_node.js:612:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! talib@1.0.5 install: `node ./src/lib/build.js && node-gyp configure &&
node-gyp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the talib@1.0.5 install script.
npm ERR! This is probably not a problem with npm. There is likely additional log
ging output above.


   ?─────────────────────────────────────?
   │                                     │
   │   Update available 5.6.0 → 6.1.0    │
   │       Run npm i npm to update       │
   │                                     │
   ?─────────────────────────────────────?


npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\guest2\AppData\Roaming\npm-cache\_logs\2018-06-22T00_35_42
_930Z-debug.log

C:\Users\guest2\Downloads\gekko-develop install for backtest\gekko-develop>

Thanks in advance.
  Reply
#82
khan2,

The only version of Windows that works with Talib is Windows 10 with Bash shell. You just need to do without it or dual boot a Linux distro, or use Docker. I recommend Docker as it will run within the Docker machine. Although I haven't test it. I only installed Docker on my Mac but it should worked the same on Windows.
If it isn't crypto, it isn't worth mining, it isn't worth speculating.
https://www.youtube.com/c/crypto49er
  Reply
#83
Good to speak with you CRYPTO49ER,Ive been watching your youtube videos on installing backtest,Good info,I have seen some posts on here saying it can be done on windows 7,not sure if it will work,Is it possible to run 2 UI live trading on same Exchange iF i change local host to 3001 in vue,?Is ther anything else i need to change to run 2 bots at once?Your input is very appreciated.Thanks in advance.
  Reply
#84
Glad to hear you found the videos helpful.

With the UI, you should be able to run multiple bots (live gekkos) just by opening another tab in the browser and pointing to the same address.
If it isn't crypto, it isn't worth mining, it isn't worth speculating.
https://www.youtube.com/c/crypto49er
  Reply
#85
(06-23-2018, 06:14 PM)crypto49er Wrote: Glad to hear you found the videos helpful.

With the UI, you should be able to run multiple bots (live gekkos) just by opening another tab in the browser and pointing to the same address.

Thanks for the advice,do i need to change anything else apart from local host-3001,I really like to know is there another Strat similar to RSI_BULL BEAR_ADX_STOP i can use that will work for me with my setup for XFFFFFbacktestool via cli.
  Reply
#86
Thanks for the advice,do i need to change anything else apart from local host-3001,I really like to know is there another Strat similar to RSI_BULL BEAR_ADX_STOP i can use that will work for me with my setup for XFFFFFbacktestool via cli.
  Reply
#87
(05-01-2018, 07:15 PM)xFFFFF Wrote: Try cpan install Time::Elapsed::Lang::EN

Hi xFFFF, 

can you please  help me correct this error
profit 0%, profit/day 0%
I use all the databasse in gekko
Thank you
https://imgur.com/a/Lfokq54


Attached Files
.png   backtest.png (Size: 62.28 KB / Downloads: 5)
  Reply
#88
I'm not a programer or script writer but got this error when running in console
Updating Gekko's bitfinex market data...
Done writing Bitfinex market data
Can't open $filename": No such file or directory
And this is from the where the error is.
P.S also running the binary gives me this

Failed to change directory to 'util/genMarketFiles': No such file or directory at script/backtest.pl line 489.
{
local $CWD = 'exchange/util/genMarketFiles';
foreach (@match) {
print "Updating Gekko's $_ market data...\n";
system("node update-$_.js");
}
}
foreach (@pairs) {
my @sets = split /:/, $_;
#SPRAWDZIC!!!!!!!!!!!!!!
if ($sets[1] eq 'ALL' || $sets[2] eq 'ALL') {
my $filename = "exchange/$sets[0]-markets.json";
my $json_text = do {
open(my $json_fh, "<:encoding(UTF-8)", $filename) or die("Can't open \$filename\": $!\n");
local $/;
<$json_fh>
};
  Reply
#89
USDT-BTC Backtest is failed.
what am i doing wrong ? I set the date in the config,pl in optional. I get the error USDT-BTC Backtest is failed. I also used the CLI. I also get the same notification.
The db is download for USDT-BTC.

What is my problem ?
  Reply
#90
Hi there,

Backtest.pl will start but crash immediately with the Message

Failed to change directory to 'util/genMarketFiles': No such file or directory at backtest.pl line 459

Huh

Any Suggestions to fix this ?

Thanks.
  Reply


Forum Jump:


Users browsing this thread: