Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Now! BitShares Music Note pre-sale tracker on Linux, Mac OS X, Windows  (Read 660 times)

Offline trytinysmart

  • Full Member
  • ***
  • Posts: 100
    • View Profile

Now, music-tracker supports Linux, Mac OS X windows binary.
https://bintray.com/bts-utils/music-tracker/music-tracker/view/files

music-tracker https://github.com/bts-utils/music-tracker
BitShares Music Note pre-sale tracker.

Code: [Select]
$ ./music-tracker fetch

Day   Date          BTC         Notes/BTC
1     2014-10-06    34.786598   143733.515422
2     2014-10-07    39.459149   126713.324696
3     2014-10-08    32.596869   153388.966563
4     2014-10-09    33.257446   150342.271546
5     2014-10-10    27.134661   184266.170015
6     2014-10-11    28.818317   173500.762096
7     2014-10-12    0.372000    13440860.215054

Total BTC     AVG BTC       AVG Notes
196.425040    28.060720     178185.021697

Sparkline:
██▇▇▆▆▁
« Last Edit: October 12, 2014, 07:41:44 AM by trytinysmart »
Keyhotee: 5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmUxUzzv
PTS: Pu8VUEEKhib6vULvvJAgG3UuzUxpDTR9La

Offline cass

  • Hero Member
  • *****
  • Posts: 4320
  • /(┬.┬)\
    • View Profile
Re: BitShares Music Note pre-sale tracker on Mac OS X
« Reply #1 on: October 11, 2014, 10:24:14 AM »
great :)
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: BitShares Music Note pre-sale tracker on Mac OS X
« Reply #2 on: October 11, 2014, 10:54:03 AM »
ui .. we can use more cool tools like this .. +5%
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline trytinysmart

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: BitShares Music Note pre-sale tracker on Mac OS X
« Reply #3 on: October 11, 2014, 02:37:03 PM »
Next, I will use Go language to refactor it. Cross platform is very important!

 ;D
Keyhotee: 5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmUxUzzv
PTS: Pu8VUEEKhib6vULvvJAgG3UuzUxpDTR9La

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 11957
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: BitShares Music Note pre-sale tracker on Mac OS X
« Reply #4 on: October 11, 2014, 02:44:37 PM »
very cool tool .. just checked it out .. works nice with linux too ..
never heard of textql .. but i REALLY love it .. awesome! +5%

can I tip you some btsx via "trytinysmart"?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline trytinysmart

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: BitShares Music Note pre-sale tracker on Mac OS X
« Reply #5 on: October 11, 2014, 02:50:31 PM »
Yes, my btsx ID is "trytinysmart", key is BTSX5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmTGZJuT

Thanks, :)


very cool tool .. just checked it out .. works nice with linux too ..
never heard of textql .. but i REALLY love it .. awesome! +5%

can I tip you some btsx via "trytinysmart"?
Keyhotee: 5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmUxUzzv
PTS: Pu8VUEEKhib6vULvvJAgG3UuzUxpDTR9La

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 249
    • View Profile
    • AngelShares Explorer
Re: BitShares Music Note pre-sale tracker on Mac OS X
« Reply #6 on: October 11, 2014, 03:18:47 PM »
Good stuff @trytinysmart. 

I noticed that the data source is from blockchain.info's history data API.  The timestamp it uses is the time transaction is made instead of the time the block is produced which includes the transactions.  For those transactions made close to the end of the day may be included in the block that is produced the next day.  Therefore the totals and the ratio could be slightly different from the official calculation.  But as for a quick ticker to know what the progress is, this is good enough.  I think you might want to add this to your README to prevent confusion.

If you need, I can provide you a data source from agsexplorer.com which corrects that tx timestamp vs block timestamp issue.


Sent from my iPhone using Tapatalk
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline trytinysmart

  • Full Member
  • ***
  • Posts: 100
    • View Profile
Re: BitShares Music Note pre-sale tracker on Mac OS X
« Reply #7 on: October 11, 2014, 03:53:49 PM »
Thank you for your reminding me. I need it.

Good stuff @trytinysmart. 

I noticed that the data source is from blockchain.info's history data API.  The timestamp it uses is the time transaction is made instead of the time the block is produced which includes the transactions.  For those transactions made close to the end of the day may be included in the block that is produced the next day.  Therefore the totals and the ratio could be slightly different from the official calculation.  But as for a quick ticker to know what the progress is, this is good enough.  I think you might want to add this to your README to prevent confusion.

If you need, I can provide you a data source from agsexplorer.com which corrects that tx timestamp vs block timestamp issue.


Sent from my iPhone using Tapatalk
Keyhotee: 5MZKHUAp5C2z6ZtU5twJ6vTSVH8gAv9UEPpr1tQGbpsmUxUzzv
PTS: Pu8VUEEKhib6vULvvJAgG3UuzUxpDTR9La

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 249
    • View Profile
    • AngelShares Explorer
Re: BitShares Music Note pre-sale tracker on Mac OS X
« Reply #8 on: October 11, 2014, 05:02:51 PM »
Code: [Select]
http://www1.agsexplorer.com/ticker/music/btc.json
I twisted the API a bit and it should suit your need.
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BTS: bitcube
  • Witness: bitcube
Re: BitShares Music Note pre-sale tracker on Mac OS X
« Reply #9 on: October 12, 2014, 01:04:31 PM »
Good stuff @trytinysmart. 

I noticed that the data source is from blockchain.info's history data API.  The timestamp it uses is the time transaction is made instead of the time the block is produced which includes the transactions.  For those transactions made close to the end of the day may be included in the block that is produced the next day.  Therefore the totals and the ratio could be slightly different from the official calculation.  But as for a quick ticker to know what the progress is, this is good enough.  I think you might want to add this to your README to prevent confusion.

If you need, I can provide you a data source from agsexplorer.com which corrects that tx timestamp vs block timestamp issue.


How is the official calculation?  Is it upon one confirmation?
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 249
    • View Profile
    • AngelShares Explorer
Re: Now! BitShares Music Note pre-sale tracker on Linux, Mac OS X, Windows
« Reply #10 on: October 12, 2014, 01:10:18 PM »
Yes.  Only the block time matters.  Transaction sent at time x and is included in block at time y.  Time y is used as the time of donation.


Sent from my iPhone using Tapatalk
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline cass

  • Hero Member
  • *****
  • Posts: 4320
  • /(┬.┬)\
    • View Profile
Re: Now! BitShares Music Note pre-sale tracker on Linux, Mac OS X, Windows
« Reply #11 on: October 12, 2014, 10:45:10 PM »
@boombastic: just noticed via osx and FF 32



hope this helps ...
█║▌║║█  - - -  The quieter you become, the more you are able to hear  - - -  █║▌║║█

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BTS: bitcube
  • Witness: bitcube
Re: Now! BitShares Music Note pre-sale tracker on Linux, Mac OS X, Windows
« Reply #12 on: October 13, 2014, 02:18:50 AM »
Yes.  Only the block time matters.  Transaction sent at time x and is included in block at time y.  Time y is used as the time of donation.


Ahh.. then I have missed the inclusion for that good day.   :(
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 249
    • View Profile
    • AngelShares Explorer
Re: Now! BitShares Music Note pre-sale tracker on Linux, Mac OS X, Windows
« Reply #13 on: October 13, 2014, 08:56:04 AM »
@boombastic: just noticed via osx and FF 32



hope this helps ...

Thanks for letting me know.  It's fixed now.
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline cube

  • Hero Member
  • *****
  • Posts: 1404
  • Bit by bit, we will get there!
    • View Profile
  • BTS: bitcube
  • Witness: bitcube
Re: Now! BitShares Music Note pre-sale tracker on Linux, Mac OS X, Windows
« Reply #14 on: October 13, 2014, 12:02:19 PM »
Yes.  Only the block time matters.  Transaction sent at time x and is included in block at time y.  Time y is used as the time of donation.

One more question. When you say "block time", how many BTC confirmations do you mean?
ID: bitcube
bitcube is a dedicated witness and committe member. Please vote for bitcube.

 

Google+