davider
|
|
May 22, 2013, 04:28:14 PM |
|
Thank you! Regarding altcoin hystorical data, what about storing locally for few hours the BTC-E ticker and only then enable trading? https://btc-e.com/api/2/ltc_usd/tickerIt's not very elegant but it should be effective. Another dirty hack could be the scraping of cryptcoincharts http://www.cryptocoincharts.info/period-charts.php?period=2-days&resolution=hour&pair=ltc-usd&market=btc-eInside the page source: var data = google.visualization.arrayToDataTable([["Date","L","O","C","H"],["2013-05-20 17h",3.0109,3.0149,3.023,3.029],["2013-05-20 18h",2.98,3.0229,2.9817,3.033],["2013-05-20 19h",2.96,2.9817,2.97011,3],["2013-05-20 20h",2.97011,2.989,2.98,3.0183],["2013-05-20 21h",2.94,2.9801,2.95699,3.00979],["2013-05-20 22h",2.94951,2.9799,2.9583,2.9799],["2013-05-20 23h",2.95249,2.95831,2.96,2.9799],["2013-05-21 00h",2.9543,2.97768,2.9736,2.98021],["2013-05-21 01h",2.9,2.9551,2.93,2.9734],["2013-05-21 02h",2.9,2.9034,2.93102,2.94943],["2013-05-21 03h",2.88,2.9,2.88,2.94],["2013-05-21 04h",2.85,2.9,2.89,2.90854],["2013-05-21 05h",2.8703,2.899,2.94,2.95],["2013-05-21 06h",2.9,2.94,2.91869,2.94999],["2013-05-21 07h",2.91245,2.91374,2.91572,2.93435],["2013-05-21 08h",2.89151,2.91572,2.909,2.9329],["2013-05-21 09h",2.9001,2.9001,2.918,2.92],["2013-05-21 10h",2.9001,2.918,2.9001,2.92],["2013-05-21 11h",2.892,2.9001,2.9042,2.92],["2013-05-21 12h",2.8765,2.90438,2.9,2.9189],["2013-05-21 13h",2.88019,2.9003,2.89,2.91173],["2013-05-21 14h",2.88,2.88,2.89986,2.906],["2013-05-21 15h",2.89,2.89986,2.94,2.94998],["2013-05-21 16h",2.8901,2.94987,2.943,2.94987],["2013-05-21 17h",2.93,2.943,2.949,2.969],["2013-05-21 18h",2.93,2.939,2.955,2.965],["2013-05-21 19h",2.93112,2.955,2.95,2.96],["2013-05-21 20h",2.938,2.951,2.95,2.9649],["2013-05-21 21h",2.8902,2.9388,2.9254,2.95],["2013-05-21 22h",2.91019,2.918,2.93406,2.945],["2013-05-21 23h",2.9,2.921,2.93807,2.94242],["2013-05-22 00h",2.91,2.912,2.94451,2.95],["2013-05-22 01h",2.936,2.94451,2.936,2.95903],["2013-05-22 02h",2.92957,2.936,2.93,2.947],["2013-05-22 03h",2.92962,2.9298,2.92962,2.94489],["2013-05-22 04h",2.9175,2.92962,2.92695,2.94],["2013-05-22 05h",2.9171,2.925,2.954,2.95842],["2013-05-22 06h",2.95,2.954,2.95,2.959],["2013-05-22 07h",2.9098,2.95001,2.92,2.95835],["2013-05-22 08h",2.90203,2.91,2.90215,2.92898],["2013-05-22 09h",2.902,2.90203,2.92485,2.92485],["2013-05-22 10h",2.91,2.92485,2.91402,2.94],["2013-05-22 11h",2.913,2.91402,2.92578,2.928],["2013-05-22 12h",2.913,2.92578,2.9309,2.93499],["2013-05-22 13h",2.913,2.93,2.9131,2.93],["2013-05-22 14h",2.91305,2.92085,2.92795,2.92944],["2013-05-22 15h",2.91102,2.915,2.91894,2.93],["2013-05-22 16h",2.91893,2.92966,2.93,2.93]]);
|