Giter VIP home page Giter VIP logo

python_crypto_analysis's Introduction

python_crypto_analysis

--step 1: sudo apt update

--step 2: sudo apt -y upgrade python3 -V

--step 3: sudo apt install -y python3-pip

--step 4:
sudo apt install -y build-essential libssl-dev libffi-dev python3-dev
--step 5:
sudo apt install -y python3-venv
--step 6:
mkdir environments
--step 7:
cd environments
python3 -m venv my_env
source my_env/bin/activate


INSTALL TA_LIB IN UBUNTU

wget http://prdownloads.sourceforge.net/ta-lib/ta-lib-0.4.0-src.tar.gz tar -xzf ta-lib-0.4.0-src.tar.gz cd ta-lib/ sudo ./configure sudo make sudo make install pip install ta-lib


INSTALL MONGODB

  1. Open your WSL terminal (ie. Ubuntu) and go to your home directory: cd ~
  2. Update your Ubuntu packages: sudo apt update
  3. Import the public key used by the MongoDB package management system:
    wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
    --Create a list file for MongoDB:
    echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/ mongodb-org-5.0.list
  4. Reload local package database: sudo apt-get update
  5. Install MongoDB packages: sudo apt-get install -y mongodb-org
  6. Confirm installation and get the version number: mongod --version
  7. Make a directory to store data: mkdir -p ~/data/db
  8. Run a Mongo instance: sudo mongod --dbpath ~/data/db
  9. Check to see that your MongoDB instance is running with: ps -e | grep 'mongod'
  10. To exit the MongoDB Shell, use the shortcut keys: Ctrl + C

#Setup Service MongoDB for WSL2
curl https://raw.githubusercontent.com/mongodb/mongo/master/debian/init.d | sudo tee /etc/init.d/mongodb >/dev/null

sudo chmod +x /etc/init.d/mongodb

sudo service mongodb status

sudo service mongodb start

sudo service mongodb stop

--Connection String
mongodb://localhost:27018

Add Github

echo "# python_crypto_analysis" >> README.md
git init
git add README.md
git commit -m "first commit"
git branch -M main
git remote add origin https://[email protected]/trisledinh/python_crypto_analysis.git
https://github.com/trisledinh/python_crypto_analysis.git


--- INSTALL Python package------------------------------------

pip install python-binance
pip install investpy
pip install tensorflow
pip install numpy
pip install pandas
pip install matplotlib
pip install seaborn
pip install pymongo

pip install --user gate-api
pip install --user gate-ws
pip install asciimatics
pip install python-dotenv
pip install sortedcontainers

----CRONTAB ------------------------------------------------------------------------------------------------------
*/5 * * * * /usr/bin/python3 /home/trild/environments/my_env/crypto/run_sync_data.py >> /home/trild/cron.log 2>&1

python_crypto_analysis's People

Contributors

trisledinh avatar

Watchers

Kostas Georgiou avatar  avatar

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.