Giter VIP home page Giter VIP logo

cryptoview's Introduction


                              Python Dependencies GitHub Issues Contributions welcome License

Briefly

Cryptoview is written to be forked and deployed on a free Heroku account. There is a web application component which handles updating and visualizing your positions and there is a scheduler component that periodically tracks your equity and stores it in a database. Ideally, you'll deploy the web application on Heroku and then run the scheduler locally. This will keep your Heroku account free since you won't pay for background dynos and allow you to access your portfolio from anywhere. The only thing you need to do is setup a free online database through mlab, edit a settings file, and deploy straight from Github. I've tried to make these steps as easy as possible.

Setting up the database

  • Make an account at https://mlab.com
  • Create a new deployment in sandbox mode
  • Add a database user to your deployment
  • Keep the site up for the next step

Fork and fill out the settings file

/cryptoview
└── /scripts
    └── settings.py

Deploy it

Heroku
The reason it runs separately is to keep web hosting free, if you decide to host it on Heroku. By handling the background tasks locally, you can run the app in sandbox mode on Heroku and handle the updaters file on your local computer. Fork the repository, create a Heroku sandbox app, and deploy straight from your forked repository.

Locally
After the app is running on Heroku, start tracking your equity locally by running the following file. This is optional and you can turn it on/off whenever you like, however you'll have missing dates in your equity curve. Since mlab is an online database, both Heroku and your local computer can communicate through it. I prefer this method because I can access my portfolio from anywhere online without paying for extra Heroku dynos.

/cryptoview
└── updaters.py

Contributions

Please create an issue for any ideas/comments/features you'd like to see or implement yourself!

cryptoview's People

Contributors

anfederico avatar rbn920 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cryptoview's Issues

Example database

Hey there, would you be as kind as to provide us an example of what your database looks like? In the current app.py it seems like you're creating a list of what needs to be a dictionary, I think. The projects looks very good so far. Thank you very much for your hard work!

Deployment issues

I love the idea of an opensource portfolio tracker. I am actively evaluating portfolio managers and would love to contribute but am having trouble getting started. I have the mlabs built and the app deployed in heroku but when I try to launch the application it never makes it, application error the browser windows says.

Could it be the database settings? I have checked everything pretty thoroughly against the docs so would love some helps! I am a miner as well so if your interested I would love to add support for tracking mining profits once I get up to speed.

Summary Tab

Add a tab for account summary statistics.

Tracking portfolio through orders

Hi I've been trying this repo out and it's really nice. Have you thought about looking at the orders on the exchanges to track the portfolio instead of balances? I personally keep ARK in the wallet so I can stake it. Do you see any problems with this? Thanks!

Name discrepancies between exchanges and coin market cap

There are certain discrepancies between tickers on exchanges and coin market cap. This is problematic because the app can't easily lookup daily/weekly pricing information with only the ticker.

For example, IOTA is identified with the symbol "IOTA" on Binance but "MIOTA" on Cap. What would be useful is a Python dictionary that can convert exchange tickers to cap tickers and try to look tokens up with it that return a key error using normal methods.

exc_to_cap = {"IOTA": "MIOTA", "BCC": "BCH"}

Feature request

Nice job. But I have some request :)

  • support for bitfinex
  • price changes in defined currency for ex: BNB - im trading only on BNB and ETH pairs so BTC price change is unusable for me.

Great script and looking some nice :)

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.