Giter Site home page Giter Site logo

kamsec / crypto-bot Goto Github PK

View Code? Open in Web Editor NEW
37.0 37.0 16.0 14.47 MB

Cryptocurrency trading bot for Binance.com with neural network (LSTM) predictor, implemented on Raspberry Pi Zero W

Python 78.74% CSS 3.70% HTML 10.64% JavaScript 6.92%
bitcoin cryptocurrencies python raspberry-pi-zero-w trading-bot

crypto-bot's People

Contributors

kamsec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

crypto-bot's Issues

Missing timestamps and no logfile.csv creation

Hi there,

I was having this problem on a clean Ubuntu VM so I set up a Pi 4 but I'm seeing the same behaviour.

Haven't added production API details yet so it's just running via testnet configuration.

With the first run of bot.py I get this error.

pi@raspberrypi:~/crypto-bot $ python3 bot.py 
Traceback (most recent call last):
  File "bot.py", line 82, in <module>
    main()
  File "bot.py", line 43, in main
    update_successful = update_all_data(fill_missing=False)
  File "/home/pi/crypto-bot/src/data_update.py", line 89, in update_all_data
    new_df = update_ratio(ratio, filename, request_records=336, fill_missing=fill_missing)
  File "/home/pi/crypto-bot/src/data_update.py", line 77, in update_ratio
    raise Exception(f'Missing {len(missing_ts)} timestamps. Update skipped, bot set inactive.')
Exception: Missing 2 timestamps. Update skipped, bot set inactive.

If I run it again I don't get an error and logfile.log is created (Still no .csv though)

pi@raspberrypi:~/crypto-bot $ cat logfile.log 
2021-10-04 00:26:20 [INFO] Bot started
2021-10-04 00:26:22 [INFO] [BALANCE] 10000.00 USD, 1.0000000 BTC
2021-10-04 00:26:22 [ERROR] [UPDATE] Missing 2 timestamps. Update skipped, check manually.
2021-10-04 00:26:22 [INFO] [CONFIG] STATUS_ACTIVE set to False

When I try to launch app.py it errors out and I think it's because logfile.csv doesn't exist. Do you have any ideas about how I can get this going?

URL not found for requirements

Hey There!

I am experiencing an issue when trying to install the requirements for the bot to run.
What I am getting currently is:

Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://google-coral.github.io/py-repo/aiohttp/

And it seems that the URL is indeed not working.
Was just wondering if the project has been dropped or if the website used has changed, and how to set up the bot properly at this point.
Thanks in advance!

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.