Script You Can Use for Finding the Current Price of EOS per ICO Window

in #eos7 years ago (edited)

Earlier today, I posted Say No to FOMO. EOS ICO: A Call to Rationality. This is a follow up with code you can use to know what the current price of EOS is, given the amount of ETH sent to the ICO contract so far.

Anyone can run this in their own browser and refresh it whenever they like.

Here's how:

  1. Save this file as web3.min.js on your computer.

  2. In that same folder, save this file as eos_price.html (or whatever you like). Make sure to save it in the same folder as web3.min.js.

  3. Register for an infura.io account here: https://infura.io/register.html

  4. Edit eos_price.html and save your infura.io Access Token in the infura_api_key variable (line 10).

  5. Open eos_price.html in your web browser.

  6. Wait a minute or so to see the output (if you're using Chrome, you can also open the console log to see it working in real time).

If you want to see more days than the first 30 days, modify the days_to_check variable (line 30).

Here's an example of the output:

As you can see, the price right now is already 8 times higher than the price just 5 days from now. Of course, all of that will change as the other ICO windows get closer and this one finishes. Keep in mind, there are over 300 EOS ICO windows!

As I mentioned in my previous post, this ICO is different than any other. If you're not careful, you may end up spending more than you need to. Using a script like this, you should be able to accurately keep track of what the current price of EOS is according to the ICO contract. Once it starts trading on the exchanges, we'll have even more information to pull from to get an accurate price.

Stay informed. Stay rational.

I'm hoping a couple months from now those who haven't drunk the EOS koolaid will move on from this, and I'll be able to scoop up some cheap coins.

I hope you find this useful. Let me know if you have any questions.

Edit: 6/28/2017 10:22am: @sandwich improved on this to make it even easier (and prettier). Check it out: Fork of @LukeStokes' EOSCrowdsale Tracker with Usability Improvements, Suitable For Novices

Post created with ChainBB to help support that project.


Luke Stokes is a father, husband, business owner, programmer, and voluntaryist who wants to help create a world we all want to live in. Visit UnderstandingBlockchainFreedom.com

I'm a Witness! Please vote for @lukestokes.mhth

Sort:  

Looks like Yunbi dropped 150,000 ETH in, as Dan mentioned they would.

That brought the price up to almost $0.25 each. Note the next window is currently less than two pennies.

@lukestokes..Great Post!!! I would love to see you post on more om Steem than Ether :) Whales like you give a boost to steem. Thanks mate!!!

I've posted many times on Steem over the past 12 months. It's still my most favorite crypto. :)

Hello!
I created improved automatic EOS Market Capitalisation Estimate Calculator https://steemit.com/eos/@nov3a4/eos-market-capitalisation-calculator

Screen Shot 2017-06-27 at 09.06.14.png

It could help to show market capitalisation evolution and estimate final market capitalisation depending on the previous contribution rate if the rate of the contribution would be in the same intensity as it was in previous period. And based on this to estimate possible EOS token value. Based on this, it could help to find out optimal EOS value window to invest in, hopefully. To see demand and capitalisation in time graphically.

Enjoy and Take Care!

Great stuff! I voted up your post along with the original spreadsheet.

Thanks! This is great cooperation! I resteemed your steem with script!

@lukestokes @Nov3a4 : Cool spreadsheet and website indeed. The only thing that sucks right now is that the price if EOS on Bittrex is $13.00 and the ICO is $17 for day #216 (yesterday). This means its actually cheaper to just buy via the exchange than the ICO :-(

I mean, am I looking at this right?

Yep. The price did spike up as high as $18 at one point, so $17 doesn't look to bad. It's all an interesting gamble. I've only been buying on the exchanges as I'm a U.S. citizen.

Ha! Yeah, it'a all a gamble. Thanks for responding ;-)

great work there, I'm wondering how correct will the estimation be?
How come as of today the 6th the price of EOS token has dropped to $0.4784 and even lower on next day?

Up and running. Very quick and easy setup. Thanks for sharing this Luke, greatly appreciated.

Wow, this is great! Who knew you could track the EOS price like this. Very useful information that I will be using as the dates get closer. Thanks for sharing :)

Nice work man.

Great post, I followed EOS for a long while before buy day, then I got smacked with the, US ip detected bullshit.

Yeah, makes me a little frustrated (yet again) to be part of the USSA.

use a vpn

Very cool tool! Thanks for sharing this @lukestokes :)

EOS is gonna be for the win, no matter what its current price is at I think... But I like your recommendation to invest at the right time. It's fantastic advice.

Thanks man! It's going to be interesting to watch for sure. When this coin does launch, its marketcap is going to be quite high.

Man, I like this moto: "Stay informed. Stay rational."!

Thank you very much! Great tool for all of us.

How nice of you to upvote your own comment... lol
@pocketechange

From what EOS says 200,000 million tokens (20% of total) are for the first 5 days. How ever many Ether are sent in total of those five days will determine the price for this window. There's 350 windows after that each to there own day. The way I understood it the first 5 days is one window is its own pool, not divided into each day pools per day. After 5 day window each day is separate. This first window will set the prices from here own.

"Day" should be thought of as "ICO Window". Window 0 is 5 days long and includes 200,000,000 tokens. Each other window is 1 day and includes 2,000,000 tokens. You can view the code to see that.

This first window will set the prices from here own.

Each window has it's own price mechanism. It's simply 2,000,000 divided by the amount contributed for that window.

it should be total contributed divided by total tokens,

If you just want the total price overall, but I'm more interested in the individual ICO windows which each have their own price based on the contribution for that window.

The script posted by the OP doesn't make sense as it doesn't factor in the first 5 days and the total amount of contributors within that period.

Are you sure it doesn't? Have you reviewed the code? Or... are you just making stuff up?

You can see the first 5 day ICO window ("Day 0") can be found in the code right here.

'Day 0' is the first five day window. 'Day 1' is the second window, 1 day long, so that would be the sixth day. 'Day 2' is the seventh day and so on.

Hey Luke,

As I understand the block.one team gets ETH in return for EOS distribution. Can they invest ETH from previous days for future EOS sales? If so, they can purchase EOS tokens from previous income and do the same for the following days.

Also, what do you think about a group of people making billions of dollars just from the initial coin sale? (Market cap is $1.6 billion based on the period #1 price).

I was concerned about this also, but then re-read #26 the FAQ to ensure that won't happen. Here's what they said:

block.one will not purchase EOS Tokens by any means;

That means, to me, they won't buy them on the market.

As to what I think... I'm amazed. I really thought the price would go down quickly and it's only been going up. It's trading around $2.50 on Bitfinex but the ICO price is less than that. How long will that arbitration happen?

My reason and logic tell me just to wait it out and buy it up cheaper in the future when the FOMO subsides a bit.

At the same time, my own FOMO is screaming, "But you might miss out and have to pay even more!"

I keep reminding myself of this:

The Stock Market is a device for transferring money from the impatient to the patient…. Warren Buffett

But maybe this is a black swan and the ending market cap of EOS will be many billions? I don't know.

Thanks for the link.

23. Where do the proceeds from the EOS Token distribution go?
Proceeds from the EOS Token distribution will be the revenue of block.one.

I can't justify the amount of money paid for EOS to the team/company behind it. It's not even a valuation of the company, it's a direct cash payment.

Hey Luke,

First off thank you for your continuous updates! They've been extremely helpful in my attempt at diving into the blockchain and cryptocurrency space.

In regards to the script, I did everything listed above on my Macbook using TextEdit & Chrome, but when I go to run it I get an error code in my console, "Failed to load resource: net::ERR_FILE_NOT_FOUND". Any idea why?!

Which file is not found? If the js file isn't in the same folder as the html file, it won't work.

nice info👍

i agree...nice and very helpfull mate @lukestokes

Nice.. i am going to save the script.. how many max no. Of days.. is it possible to get more than a month ??

You can set it to whatever you like and return the whole ICO period, if you want, it'll just take longer to run.

Absolute quality post! Upvoted & Resteemed.

How are you getting ETH amounts for future days? Are you allowed to submit to future days??

Yes you are allowed.
You even can submit on the very very last period in 350 days if you wish !

See my screen =>Screenshot (40).png

Cool. I may be getting interested in this. Have to research lots about it though. I know nothing yet.

All the necessary info is on Steemit, with the "eos" tag. That's how I did my reasearch before putting some ETH in it. =)

Alright, I'll check on it once I have the time.

UUUgh another thing to research till I cant stay awake. I'll add it to the long list

i will consider doing so

View the script for details. It's calling the dailyTotals method on the contract.

I was more interested in how you can submit to future windows.

It's part of the EOS website interface. See my previous FOMO post about the EOS ICO for screenshots.

don't worry USA you still have Donald Trump

Nice script mate !
Works perfectly :)

Thanks ! Upvoted and reposted :)

Thanks man. Great and detailed post!

oh damn 300 ico windows? are you serious?

This has been talked about for quite some time, to those who have been paying attention. Many people just throw money at any and every ICO making the whole space ridiculous. See my previous post on this with links to the EOS post explaining it. It's quite genius.

Oh luke, you just saved me and many others.

Golden. 😎

Thanks Rok

Congratulations @lukestokes! You have completed some achievement on Steemit and have been rewarded with new badge(s) :

Award for the total payout received

Click on any badge to view your own Board of Honnor on SteemitBoard.
For more information about SteemitBoard, click here

If you no longer want to receive notifications, reply to this comment with the word STOP

By upvoting this notification, you can help all Steemit users. Learn how here!

Great post resteemed and upvoted

Hey, Luke! So, I don't know who to ask, and I might just be missing something (I probably am), but I wanted to ask why I haven't been transferred any EOS tokens? I already finished all of the steps documented on the site, even registered my EOS wallet. But, I still haven't received the tokens. I'm using MyEtherWallet, and my ETH is still there. Sorry to be a bother, I just didn't know who to ask.

If your ETH is still in your wallet then you probably didn't purchase anything. Try asking in the Telegram. If you don't see your transaction on etherscan.io then it's not on the blockchain.

That's the thing though, it's on etherscan.io. I tried joining the Telegram, but I wasn't able to. I already messaged them on Facebook, but have yet to receive a reply.

The last transaction was over a day ago, but the first ICO window only ended a little over an hour ago. You can't retrieve your tokens until after the ICO window closes which you bought them in.

Yeah, that's what I'm a bit confused about. So, what your saying is that I can retrieve my tokens now?

Now that the window you purchased from is closed, yes.

Thanks, Luke. And, I'm sorry for the follow-up question, but do you know where the instructions on how to retrieve them could be found?