Post
Topic
Board Speculation (Altcoins)
Re: My simple portfolio and website, thoughts?
by
shaunnez
on 31/08/2017, 04:00:51 UTC
Hi again,

So I don't have time to teach how to code unfortunately but I've made it public so anyone can use it (and you can see the source code online).

http://yourbittrex2017.bitballoon.com/

When you first open the website it'll prompt you for your API key and API secret (you can get these from bittrex.com -> logni -> settings -> api key).

API SECURITY: Make sure you only turn "read only" mode on for the API's otherwise if someone gets these credentials they can place orders on YOUR account.

Make sure you write these credentials down (and don't share with anyone). If you open the site on a new computer or mobile device it'll ask you to put them in.

It'll also ask if you want it to auto-refresh (which means reload your data every X minutes). You can have this set to never and reload it manually by clicking force reload at the top of the screen.


When you enter these details they get saved to the "localStorage" of the computer which means if you reload the page or open it again on the computer it'll automatically use the API key and secret.

The api key and api secret are turned into a SHA-256 hash which is sent with any request to the bittrex API's that require them (i.e. orders).

You have the option of "clearing" these credentials from local storage at any time (see buttons at top right of page).

The source code can be seen by right clicking on the page itself and going "view source".


Be warned - I am not held responsible for use of this code, it is your responsibility to make sure you don't share your API key and Secret with anyone

Be warned - Whoever has access to your API key and API secret can use the Bittrex API's using your credentials and permissions that you turn on (which is why I recommend read only) -> https://bittrex.com/home/api

Be warned - At no point can I or anyone else see your credentials UNLESS you a) have a virus / get hacked b) someone inspects your network traffic and decrypts your token c) someone visits the site on your computer and looks at local storage{/b]

Final thoughts - I use this every day at the home and office as I'm happy enough with what it does. If you need it to do anything else, or want to use a different website (i.e. polonix) feel free to contact me and I'm happy to do the work (for some form of payment).

Also if it isn't working at all it's because too many people are using it so you'll have to try again in an hour Smiley

Shaun