Author

Topic: PHP Litecoin ticker for Opensource Exchange (Read 901 times)

full member
Activity: 134
Merit: 100
December 10, 2014, 12:19:14 PM
#6
Then it would be very hard to determine the price.
If I were you, I would take rate from few pages (for example 5 APIs or more) and if any price is different for more than n% (n could be various - about 5%), then don't use that rate in your calculation. Or calculate statistical model (again from a few APIs) and don't use rates that has too high deviation.

Edit: now I see that this is for exchange. So why you then need ticker? Just take rates from your exchange.


I'll be using the ticker to determine the prices for the exchange. It doesn't exist at the moment so I have to use blockchain to debug on all coins LOL.
hero member
Activity: 546
Merit: 500
December 10, 2014, 12:05:45 PM
#5
Then it would be very hard to determine the price.
If I were you, I would take rate from few pages (for example 5 APIs or more) and if any price is different for more than n% (n could be various - about 5%), then don't use that rate in your calculation. Or calculate statistical model (again from a few APIs) and don't use rates that has too high deviation.

Edit: now I see that this is for exchange. So why you then need ticker? Just take rates from your exchange.
sr. member
Activity: 392
Merit: 259
Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ
December 09, 2014, 09:15:11 PM
#4
OK, that makes sense then. I'm unfortunately not enough of a PHP-guru, but I can see this happening with some sort of interface and a bunch of implementations.
full member
Activity: 134
Merit: 100
December 09, 2014, 08:58:10 PM
#3
If not on external sites, where would such a ticker actually determine the speculative price of Litecoin compared to some fiat currency or bitcoin? Or do you want the ticker to display the exchange rate from your exchange itself?


If the script uses 3rd part api's to get prices then if those websites are comprimised then the ticker will be and people could purchase coins for cheap. So want a custom-made one and they will have to decide how to generate the prices.
sr. member
Activity: 392
Merit: 259
Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ
December 09, 2014, 08:55:09 PM
#2
If not on external sites, where would such a ticker actually determine the speculative price of Litecoin compared to some fiat currency or bitcoin? Or do you want the ticker to display the exchange rate from your exchange itself?
full member
Activity: 134
Merit: 100
December 09, 2014, 08:53:31 PM
#1
Okay I am looking to buy a custom-made litecoin ticker for this project: https://bitcointalksearch.org/topic/building-an-opensource-exchange-from-scratch-885845, not one that relies on other websites and no copy-pasta. Offering 1 btc
Jump to: