Hi, I can not install talib. I'm not good at programming but I understand that it serves to use gekko strategies. Specifically, after I enter the command npm install talib I get this error, my OS is Windows 10
Error: ENOENT: no such file or directory, scandir 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework'
at Object.fs.readdirSync (fs.js:904:18)
at Object.<anonymous> (C:\Users\user\gekko\node_modules\talib\src\lib\build.js:22:30)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Function.Module.runMain (module.js:684:10)
at startup (bootstrap_node.js:187:16)
at bootstrap_node.js:608:3
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! talib@1.0.4 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.4 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\user\AppData\Roaming\npm-cache\_logs\2018-02-21T15_47_15_624Z-debug.log
I want to use 2 live trade bots on the same Binance account to trade USDT-BTC and ETH-BNB with 2 different strategies I wrote.
The problem is I can only add 1 API per exchange (which is fine, since it's only one Binance account), but when the first trade bot is running, Gekko will not allow to start a second trade bot on the same exchange.
Is there a way around this? Because an API will allow you to trade multiple pairs on the same exchange.
Right now it's quite a hassle, because I need a new rasberry pi for each trade bot I want to run for each new pair, since you can also only run 1 Gekko per system.
The other issue I have is that in papertrade you see red and green dots in the graph when de bot sells and buys, but in the live trade bot graph I don't see any buy and sell dots even though it has bought and sold (I checked it in my binance account).
Is this a know bug? And will it be updated in the new version?
I've stumbled upon Gekko and I find this project very interesting and very well developed.
I've dug into the codebase to understand internals and it seems that everything is more and less clear to me and I really think that this architecture is great! Yes, probably something would be better - as askmike already wrote - but its flexibility seems awesome to me.
I tried to build a strategy that, in some ways resembles what I was doing manually for my day trading strategy and I did without particolar efforts. What I was searching for were two functionalities that I couldn't find:
1. support and resistance indicators on X candles, this means that I would need to know which are those levels since, for example, 10 minutes, 1 hour, 12 hours, 1 day. I couldn't find anything about it: am I right?
2. capability to know, inside a strategy, the price @ which I bought an asset, in order to know my limit price and top-profit price.
i using this strategy and its always work
using the BB indicator , LTC\USTD , 1 min chart .
i choose the last price that the candle touch the lower BB line , and open buy order and wait the price to come down to it , then when the buy already done , i see where BB upper line where and open sell order and wait while the price go up .
so the code have to check when the price hit the lower bb line to buy , then save the upper bb band on that point , then when the if ( price = upper bb for the previous buying price) { sell ; }
im sorry about my bad english . this strategy always work for me , the problem is i dont know how to automate it .
There is one thing i will say here.
Gekko is working perfect en calculating the strategy's. He is waiting for the best moments.
When i do self a trade, i was buy or sell to early. Now Gekko is making money for me.
Askmike...Thanks for this program...you'r a great man.
I've noticed that when I backtest my strategies, I can get quite radically different results if my starting hour:min is 00:00 vs something random like 05:22 on the exchange data.
It seems things work best if strategies run on the minute not at some random time halfway through a minute etc. I guess this is because everyone is looking at candles that fit the specific time, so thats how the trends work best.
Also I have 15 min strategies, Ideally these should run every 15mins, so 12:15, 12:30, 12:45 etc.. not 12:09, 12:24, 12:39 or whatever time the strategy was started.
I've noticed this seems to also be a issue with live strategies, where the 15min cycle is from the time the script booted up and decided to start running.. but not necessarily actually 15 mins past hour. Which means the candles my bot is using vary compared to what I see in TradingView.com etc.. so also hard to go back and see whats happened. Ideally it should review the candle at 12:15 and 01 seconds.
Has anyone else had this issue? Is there a way to sync the strategy to run at the right time?
I'm currently running from the command line as a service so the strategy can kick off at any time. And it's annoying to have to wait till it's close to on the hour or 15mins past to start it up and hope it's going to be close enough to the time candles are forming.
I have a question about live UI trades, can i make it based on data history to import from binance, i readed that its possible onli via CLI ?
Thank you for your precious time.
I've been testing a lot on the bitstamp pair USDEUR, due the the fact that it consistently trades in an ~%8 channel on the 1 minute frames. It seems this pair is very well suited for automated sniping; but the problem I'm having is that gekko almost always buys high and sells low during testing. I've tried using very short DEMA and MACD crosses, but the problem persists.
I've tried a few different strategies against this pair, including some GA via japonicus, but still seem to have this problem. Other strats on other pairs seem to work better. This morning I've been playing with the RSIBULLBEAR dynamic strat and this seems to work well on other assets.
But how to tune for something that runs in a channel like this?
Here's a shot of the chart - again it's not the swings I'm interested in, but the very predictable individual candles.