Comments (8)
Is it looping the bitcoincharts returned an error, retrying..
all the time and are you able to connect to bitcoincharts.com (on the machine you are running Gekko from)?
from gekko.
I am able to connect to bitcoincharts.com from my machine and it is looping the error.
from gekko.
just add this to your /etc/hosts
176.9.79.196 api.bitcoincharts.com
from gekko.
It appears the DNS for api.bitcoincharts.com is not working everyone, you can test it by clicking the link (if it shows 404 Not Found
or similar it means that you are able to connect to the server, while This webpage is not available
means that you can't) or by running this in a terminal
nslookup api.bitcoincharts.com
If this doesn't return an IP please use the solution by ptigas.
from gekko.
I'm seeing a similar issue, but it only seems to be when calculating the most recent candle. Perhaps it's possible that request is malformed. I'm looking into it. From my logs:
# .... calculating candles 98 -> 3....
2013-12-02 07:23:17 (DEBUG): calculated candle: 2
2013-12-02 07:23:17 (DEBUG): calced EMA properties for new candle:
2013-12-02 07:23:17 (DEBUG): short ema 863.980
2013-12-02 07:23:17 (DEBUG): long ema 919.874
2013-12-02 07:23:17 (DEBUG): diff ema -6.267
2013-12-02 07:23:17 (DEBUG): need new trades, refetching bitcoincharts
2013-12-02 07:23:22 (DEBUG): calculated candle: 1
2013-12-02 07:23:22 (DEBUG): calced EMA properties for new candle:
2013-12-02 07:23:22 (DEBUG): short ema 862.138
2013-12-02 07:23:22 (DEBUG): long ema 913.872
2013-12-02 07:23:22 (DEBUG): diff ema -5.826
2013-12-02 07:23:22 (DEBUG): fetching new trades for new bucket at bitcoincharts
2013-12-02 07:23:29 (DEBUG): did not receive trades for most recent candle, retrying..
2013-12-02 07:23:39 (DEBUG): fetching new trades for new bucket at bitcoincharts
2013-12-02 07:23:45 (DEBUG): did not receive trades for most recent candle, retrying..
2013-12-02 07:23:55 (DEBUG): fetching new trades for new bucket at bitcoincharts
2013-12-02 07:24:02 (DEBUG): did not receive trades for most recent candle, retrying..
2013-12-02 07:24:12 (DEBUG): fetching new trades for new bucket at bitcoincharts
2013-12-02 07:24:46 (DEBUG): bitcoincharts returned an error, retrying..
2013-12-02 07:25:28 (DEBUG): bitcoincharts returned an error, retrying..
2013-12-02 07:26:11 (DEBUG): bitcoincharts returned an error, retrying..
2013-12-02 07:26:55 (DEBUG): bitcoincharts returned an error, retrying..
2013-12-02 07:27:40 (DEBUG): bitcoincharts returned an error, retrying..
2013-12-02 07:28:24 (DEBUG): bitcoincharts returned an error, retrying..
The retries just continue on and on in the same pattern.
from gekko.
I didn't have an issue with the DNS for bitcoincharts, those always seemed to work fine. BTCe also seems to be working now, although I can't confirm at the moment as all it's generating right now are debug messages, no trade recommendations.
The error STRML (lol at your commit history btw :D) is describing is what I'm seeing when switching to Bitstamp. After a few of those however it throws an error:
TypeError: Cannot call method 'toFixed' of undefined
at TradingMethod.advice (/home/kiliank/git/gekko/methods/exponential-moving-averages.js:143:42)
at bound [as advice] (/home/kiliank/git/gekko/node_modules/lodash/dist/lodash.js:725:21)
at TradingMethod.calculateEMAs (/home/kiliank/git/gekko/methods/exponential-moving-averages.js:98:10)
at bound [as calculateEMAs] (/home/kiliank/git/gekko/node_modules/lodash/dist/lodash.js:725:21)
at EventEmitter.emit (events.js:92:17)
at bound [as emit] (/home/kiliank/git/gekko/node_modules/lodash/dist/lodash.js:725:21)
at CandleCalculator.calculateCandle (/home/kiliank/git/gekko/methods/realtime-candle-fetcher.js:177:8)
at bound [as calculateCandle] (/home/kiliank/git/gekko/node_modules/lodash/dist/lodash.js:725:21)
at CandleCalculator.fillNewBucket (/home/kiliank/git/gekko/methods/realtime-candle-fetcher.js:163:8)
at bound (/home/kiliank/git/gekko/node_modules/lodash/dist/lodash.js:725:21)
I probably should be opening a new issue for this...
from gekko.
Hey, I'm sorry - it looks like the issue goes away after merging in the last few commits from master. I think this is safe to close - is anyone else still having this issue?
from gekko.
I'll close it for now, if anyone runs into this issue again I'll reopen this.
from gekko.
Related Issues (20)
- Ichimoku indicator
- Error with papertrader and tradebot HOT 1
- How to exit from a strategy ? HOT 2
- Binance: can't have BTC as currency and USDT as asset? How to accumulate USDT? HOT 1
- Reconciliation of overlapping datasets HOT 1
- Candle Tick drifts if API fails to return data for X minutes (Kraken) HOT 1
- [Trade Bot Error] Not able to run trade bots with kraken HOT 40
- Access previous EMA HOT 1
- Cant install on windows HOT 3
- Instantly crashing when using data set. (TypeError: done is not a function) HOT 1
- Windows WSL Related Setup HOT 1
- Unable to Import data HOT 1
- TypeError: _.last(...).join is not a function HOT 1
- Original BBRSI HOT 1
- error with new install HOT 2
- Too long Insufficient data available. Age: N of 90 HOT 1
- Cannot trade on coinfalcon HOT 1
- Error: non-error thrown: ERROR: Talib is not enabled HOT 1
- Unable to see the functionality of any page HOT 2
- Sqlite issue, Gekko no finding sqlite on live trader start attempt. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gekko.