GithubHelp home page GithubHelp logo

Comments (6)

 avatar commented on May 7, 2024

Interesting, I have no idea why I don't see that issue in the docker environment but I'll submit a fix.

from crypto-signal.

 avatar commented on May 7, 2024

Are you able to test for me with this branch: https://github.com/AbenezerMamo/crypto-signal/tree/fix_for_i42 ?

from crypto-signal.

k3nb3l avatar k3nb3l commented on May 7, 2024

TX, I´ll check.

from crypto-signal.

k3nb3l avatar k3nb3l commented on May 7, 2024

I am using bittrex and get an error like this:

docker run -it --rm --env-file .env crypto-signal
Traceback (most recent call last):
File "app.py", line 83, in
main()
File "app.py", line 61, in main
get_signal(coin_pairs, strategy_analyzer, notifier)
File "app.py", line 65, in get_signal
rsi_value = strategy_analyzer.analyze_rsi(coin_pair)
File "/app/analysis.py", line 35, in analyze_rsi
time_unit=time_unit
File "/app/exchange.py", line 33, in get_historical_data
limit=period_count))
File "/usr/local/lib/python3.6/site-packages/ccxt/bittrex.py", line 384, in fetch_ohlcv
market = self.market(symbol)
File "/usr/local/lib/python3.6/site-packages/ccxt/base/exchange.py", line 1011, in market
raise ExchangeError(self.id + ' does not have market symbol ' + str(symbol))
ccxt.base.errors.ExchangeError: bittrex does not have market symbol BTC-ETH
Makefile:9: recipe for target 'run' failed
make: *** [run] Error 1

from crypto-signal.

k3nb3l avatar k3nb3l commented on May 7, 2024

I got it running locally

pi@raspi:/download/crypto-signal-fix_for_i42/app $ sudo python app.py
XVG/BTC: Breakout: 0 RSI: 86.28 SMA: 0.0000006 EMA: 0.0000006 IMA: 0.0000002 IMB: 0.0000003

But I've no clue where the pair is coming from. If I add a secrets.json file with pairs I get
some errors.
Could you send me a example please?

from crypto-signal.

 avatar commented on May 7, 2024

Currently in master if you run it without any pairs specified and you provide bittrex keys it will look up the market pairs in your account and use them instead. This behaviour changes in #43 where it will do all pairs on the requested exchange.

When specifying the pairs they need to be added in the format of Base/Quote... for example: XVG/BTC

from crypto-signal.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.