Bitcoin Forum
June 24, 2024, 10:25:22 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Historic Raw Exchange Data - BTC/INR  (Read 2040 times)
S_D (OP)
Full Member
***
Offline Offline

Activity: 198
Merit: 112



View Profile
February 18, 2017, 12:14:35 PM
Last edit: March 04, 2017, 11:43:38 AM by S_D
 #1

Hey guys,

I am looking for raw exchange data for BTC INR pair for exchanges in India.
Similar to data displayed after clicking 'Load raw data' on following page.



https://bitcoincharts.com/charts/localbtcINR#rg60ztgSzm1g10zm2g25zv

I am sure its possible with API these guys provide and am not sure how.
Can someone do it for me, or tell me how to do it.

I am also willing to give away the final consolidated sheet containing volume and price for each day.


Update:

Site
Status
Unocoin.comVol/OHLC since 01/12/2016 acquired. Seeking more historical data.
BTCxIndia.comVol/OHLC since 01/12/2016 acquired. Seeking more historical data.
LocalBitcoins.com            Data since 20/3/2013 acquired.
CoinSecure.inPending. Possible with API, seeking help.
ZebPay.comPending.

Free bitcoins, to reveal private key scratch here ==>>  5▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
S_D (OP)
Full Member
***
Offline Offline

Activity: 198
Merit: 112



View Profile
February 19, 2017, 02:43:02 AM
 #2

No ones interested in how much India traded everyday ?
Really Huh

Free bitcoins, to reveal private key scratch here ==>>  5▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Benson Samuel
Legendary
*
Offline Offline

Activity: 1890
Merit: 1000


Landscaping Bitcoin for India!


View Profile WWW
February 19, 2017, 05:10:08 AM
 #3

No ones interested in how much India traded everyday ?
Really Huh

Can get OHLC data easily from Coinsecure API.

newIndia
Legendary
*
Offline Offline

Activity: 2226
Merit: 1049


View Profile
February 19, 2017, 10:30:48 AM
 #4

No ones interested in how much India traded everyday ?
Really Huh

Here u get the INR volume of every week on LBC - https://coin.dance/volume/localbitcoins/INR

No API, but data can be exported to XLS file.

S_D (OP)
Full Member
***
Offline Offline

Activity: 198
Merit: 112



View Profile
February 19, 2017, 12:19:33 PM
 #5

No ones interested in how much India traded everyday ?
Really Huh

Here u get the INR volume of every week on LBC - https://coin.dance/volume/localbitcoins/INR

No API, but data can be exported to XLS file.

Umm, thanks?
Evidently LBC data is available to me. I am looking for data from Coinsecure & Zebpay. (Also Unocoin and other which is highly unlikely)

No ones interested in how much India traded everyday ?
Really Huh

Can get OHLC data easily from Coinsecure API.

Exactly I am sure its easy just don't know how Tongue

Free bitcoins, to reveal private key scratch here ==>>  5▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Benson Samuel
Legendary
*
Offline Offline

Activity: 1890
Merit: 1000


Landscaping Bitcoin for India!


View Profile WWW
February 20, 2017, 02:27:53 AM
 #6


Exactly I am sure its easy just don't know how Tongue

Will try to do a short script to pull the ohlc data when I get some time.
If you want to give it a poke, its websocket call to
wss://coinsecure.in/websocket
The message packet required is
{"method": "daily"}

"daily" can be substituted with
minutely
hourly
daily
weekly
monthly
yearly
full

Let me know if this helps.

vaibhavsingh
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250



View Profile WWW
March 03, 2017, 02:13:08 PM
 #7

there are many websites online for that just Google em dude Wink

S_D (OP)
Full Member
***
Offline Offline

Activity: 198
Merit: 112



View Profile
March 04, 2017, 06:33:30 AM
Last edit: March 04, 2017, 07:45:51 AM by S_D
 #8

there are many websites online for that just Google em dude Wink

Actually nope, I am looking for INR exchange specific data.
Pass on the link if you found it already.

P.S. Still interested in data, I am not prog savvy as Benson. Maybe someone could understand what he said and help me

Free bitcoins, to reveal private key scratch here ==>>  5▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
S_D (OP)
Full Member
***
Offline Offline

Activity: 198
Merit: 112



View Profile
March 23, 2017, 03:25:41 AM
 #9

BUMP!

Free bitcoins, to reveal private key scratch here ==>>  5▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
cracxme
Full Member
***
Offline Offline

Activity: 170
Merit: 100



View Profile
March 28, 2017, 01:39:19 PM
 #10

Created little program to fetch data from coinsecure via websocket:

Use the following message as provided by Benson earlier

{"method": "daily"}

"daily" can be substituted with
minutely
hourly
daily
weekly
monthly
yearly
full


index.html
Code:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>WebSockets for Coinsecure</title>

<link rel="stylesheet" href="style.css">
</head>
<body>
<div id="page-wrapper">
<h1>WebSockets for Coinsecure.in
</h1>

<div id="status">Connecting...</div>

<ul id="messages"></ul>

<form id="message-form" action="#" method="post">
<textarea id="message" placeholder="Write your message here..." required></textarea>
<button type="submit">Send Message</button>
<button type="button" id="close">Close Connection</button>
</form>
</div>
<font size="2" color="yellow"><center><b>Created by <a href="https://bitcointalk.org/index.php?action=profile;u=923338" style="color:white">cracxme</a> <b></center></font></center>
<script src="app.js"></script>
</body>
</html>


app.js
Code:
window.onload = function() {

  // Get references to elements on the page.
  var form = document.getElementById('message-form');
  var messageField = document.getElementById('message');
  var messagesList = document.getElementById('messages');
  var socketStatus = document.getElementById('status');
  var closeBtn = document.getElementById('close');


  // Create a new WebSocket.
  var socket = new WebSocket('wss://coinsecure.in/websocket');


  // Handle any errors that occur.
  socket.onerror = function(error) {
    console.log('WebSocket Error: ' + error);
  };


  // Show a connected message when the WebSocket is opened.
  socket.onopen = function(event) {
    socketStatus.innerHTML = 'Connected to: ' + event.currentTarget.URL;
    socketStatus.className = 'open';
  };


  // Handle messages sent by the server.
  socket.onmessage = function(event) {
    var message = event.data;
    messagesList.innerHTML += '<li class="received"><span>Received:</span>' +
                               message + '</li>';
  };


  // Show a disconnected message when the WebSocket is closed.
  socket.onclose = function(event) {
    socketStatus.innerHTML = 'Disconnected from WebSocket.';
    socketStatus.className = 'closed';
  };


  // Send a message when the form is submitted.
  form.onsubmit = function(e) {
    e.preventDefault();

    // Retrieve the message from the textarea.
    var message = messageField.value;

    // Send the message through the WebSocket.
    socket.send(message);

    // Add the message to the messages list.
    messagesList.innerHTML += '<li class="sent"><span>Sent:</span>' + message +
                              '</li>';

    // Clear out the message field.
    messageField.value = '';

    return false;
  };


  // Close the WebSocket connection when the close button is clicked.
  closeBtn.onclick = function(e) {
    e.preventDefault();

    // Close the WebSocket.
    socket.close();

    return false;
  };

};

style.css
Code:
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 100%;
  background: #333;
}

#page-wrapper {
  width: 100%;
  background: #FFF;
  padding: 1em;
  margin: 1em auto;
  border-top: 5px solid #69c773;
  box-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

h1 {
margin-top: 0;
}

#status {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.open {
  color: green;
}

.closed {
  color: red;
}


ul {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.95rem;
}

ul li {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid #EEE;
}

ul li:first-child {
  border-top: 1px solid #EEE;
}

ul li span {
  display: inline-block;
  width: 90px;
  font-weight: bold;
  color: #999;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sent {
  background-color: #F7F7F7;
}

.received {}

#message-form {
  margin-top: 1.5rem;
}

textarea {
  width: 100%;
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #D9D9D9;
  border-radius: 3px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
  min-height: 100px;
  margin-bottom: 1rem;
}

button {
  display: inline-block;
  border-radius: 3px;
  border: none;
  font-size: 0.9rem;
  padding: 0.6rem 1em;
  color: white;
  margin: 0 0.25rem;
  text-align: center;
  background: #BABABA;
  border-bottom: 1px solid #999;
}

button[type="submit"] {
  background: #86b32d;
  border-bottom: 1px solid #5d7d1f;
}

button:hover {
  opacity: 0.75;
  cursor: pointer;
}



When socket is connected, it will show ticker values by default, but you can get other values by sending specific messages and edit app.js file according to your requirements


Hope it helps Smiley
S_D (OP)
Full Member
***
Offline Offline

Activity: 198
Merit: 112



View Profile
March 30, 2017, 05:17:20 AM
 #11

Hope it helps Smiley
Kudos!
Oh sure it does, thanks a lot. I have been looking for this for months now.
Though this didn't give me daily OHLC & volume data since the inception of coinsecure.in the data still helps.

Free bitcoins, to reveal private key scratch here ==>>  5▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
legendster
Hero Member
*****
Offline Offline

Activity: 1778
Merit: 764


www.V.systems


View Profile
April 05, 2017, 03:00:43 AM
 #12

Don't call it raw dude, you will have the wrong eyeballs rolling in here otherwise.


   ██████████        ████████████
     ██████████        ██████████
       ██████████        ████████
         ██████████        ██████
           ██████████        ████
             ██████████        ██
               ██████████
                 ██████████
                   ████████
                     ██████
                       ████
                        ██
|
     ▄▀▀▀▀▀▀▀▀▀█                 ▄▀▀▀▀▀▀▀▀▀█
 ▄▀                ▄▀█             ▄▀                ▄▀█
 ██████████    █             ██████████    █
 █                █                   █                █    █
 █                █     ▀▀▀▀▀▀▀█                █    █
 █                █  ▄▀             █                █  ▄▀
 ██████████▀                 ██████████▀
          █                                    █
          █                                    █
     ▄▀ █  ▀▀▀▀█                   ▄▀ █ ▀▀▀▀▀▀█
 ▄▀             ▄▀█               ▄▀               ▄▀ █
 █████████   █               ██████████    █
 █              █   █               █                █    █
 █              █   █               █                █    █
 █              █  ▄▀▀▀▀▀▀▀  █                █  ▄▀
 █████████▀                  ██████████▀

Blockchain
Database
                             ▄▄▄
                         ▄▄▀  ▀▄▄
        ▄           ▄▄▀  ▄▀▄  ▀▄▄
      █▄█   █████████████████    █
        █     █                              █ ▄▀ ▌
        █     █        ▄    █   ▄         █▀ ▄▌
       ██    █      ▀▄   █    ▄▀       █▀█
       ▌ ▌   █            █                █  █
       ▌ ▌   █                              █  █
       ██    ███████████████████
                     ▀▀▄  ▀▄▀  ▄▀▀
                         ▀▀▄  ▄▀▀
                             ▀▀▀
Dev friendly
SDK Platform
                             ▄▄▄▄
                         ▄▄█    █▄▄
                     ▄▄█            █▄▄
                 ▄▄█       ▄▄▄       █▄▄
                 █       ▄▀      ▀▄       █
               █▀     █      █      █     ▀█
               ▀▀█  █   ▄█▀█▄   █  █▀▀
               █▀▀   █  ▀███▀  █   ▀▀█
               ▀▀█     █    █    █     █▀▀
                   ▀▀█   █  █  █   █▀▀
                       ▀████████▀
                           █▄▄▄▄█
                 █        █▄▄▄▄█      █
             ▄▀ █▄                   ▄█  ▀▄
            █   █▀▄         ▀      ▄▀█    █
           █   █  █  ▌      ▀   ▐  █  █    █
           █   █▄▀▄▌      ▀   ▐▄▀▄█    █
           █       █          ▀        █       █
        █▀▀▀▀▀▀█                █▀▀▀▀▀▀█
        ▀▀▀▀▀▀▀▀                ▀▀▀▀▀▀▀▀
User-friendly
Token Creation
|
S_D (OP)
Full Member
***
Offline Offline

Activity: 198
Merit: 112



View Profile
April 05, 2017, 06:19:09 AM
 #13

Don't call it raw dude, you will have the wrong eyeballs rolling in here otherwise.
Hahaha thanks for heads up those guys will indeed visit my topic.

Just in case RAW representatives visit my thread:
@RAWreps - Hello there! You are doing a great job, *Salutes*

Free bitcoins, to reveal private key scratch here ==>>  5▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
gpoddar
Newbie
*
Offline Offline

Activity: 5
Merit: 0


View Profile
November 09, 2017, 10:28:13 AM
 #14

Hi S_D, did you manage to get the data? If so, could you please share it with me? been trying to get my hands on the same data. Thanks a lot!
S_D (OP)
Full Member
***
Offline Offline

Activity: 198
Merit: 112



View Profile
November 12, 2017, 04:47:19 AM
 #15

Hi S_D, did you manage to get the data? If so, could you please share it with me? been trying to get my hands on the same data. Thanks a lot!
Still looking for most data, however you can have what I got PM me your request I'll add that to my todo list to update the sheet. Smiley

Free bitcoins, to reveal private key scratch here ==>>  5▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!