Added source to OP. Please feel free to make a pull request! What I really need most is help with JavaScript!
(If you have any ideas at all, please suggest! Don't care if they're bad!)
Bro,literally you've too much of dependencies for a app as simple as this.Correct me if I'm wrong but what are the node modules for ? Perhaps the python lib for the price ticker that is
response = urllib2.urlopen('https://api.cryptonator.com/api/ticker/btc-usd')
is more than enough,no ? I'd suggest you we start from scratch again.Are you connected with the account SirLagsAlot anyway ? Nevermind your gh,says that.
Holy smokes! Python, PHP and NodeJS? There really is no reason to have 3 different server-side languages running at once. If you want one of your features to be "faster than preev" you'll need to cut down on the bloat. For example your node_modules directory is full of modules you aren't using.
What are you most experienced in? I'm guessing PHP based on the current source... My suggestion is you pick one server-side language and go with that, don't jump back and forth.
You can create one file that grabs all the necessary prices every N seconds and then stores them in a database. Then when doing the calculations for the users just pull from the database. You'll have the speed you want, and you won't have to worry about exceeding API request limits with the exchanges you are hitting.
I know the js to get the price to auto-update into a div, however for me it refuses it auto-update in the input box
For updating a div you typically do something like:
var myTarget = document.getElementById("myDiv");
myTarget.innerHTML = "My Text";
For updating an input box you need to change it from innerhtml to value.
var myTarget = document.getElementById("myInputBox");
myInputBox.value = "My Text";