Pages:
Author

Topic: Chrome extension for GLBSE (Read 3728 times)

sr. member
Activity: 476
Merit: 250
Keep it Simple. Every Bit Matters.
September 05, 2012, 08:08:10 AM
#33
Thanks.
I guess we are all waiting for Nefario to actually build these features into the service, but before he does... Smiley

I've found the extension to be quiet useful, sent you a donation.
legendary
Activity: 2053
Merit: 1356
aka tonikt
August 15, 2012, 05:23:54 AM
#32
Thanks.
I guess we are all waiting for Nefario to actually build these features into the service, but before he does... Smiley
sr. member
Activity: 476
Merit: 250
Keep it Simple. Every Bit Matters.
August 15, 2012, 05:21:33 AM
#31
Interesting extension, I've just got into GLBSE and a little help to make it abit easier would be nice.
legendary
Activity: 2053
Merit: 1356
aka tonikt
August 15, 2012, 05:11:41 AM
#30
Check out the new version 1.1.0

It has now Options page, where you can specify your off the market trades (to get the proper profit values at the portfolio page).

It should also already count in TRANSFER_FROM and TRANSFER_TO, though it does not consider the trading fees (use the options if you want to count them in)

Any feedback/questions welcome.
legendary
Activity: 2053
Merit: 1356
aka tonikt
August 12, 2012, 02:25:27 PM
#29
"TRANSFER_FROM" and "TRANSFER_TO" seems not to work out properly
I would guess, since I have none of such..
If you guys made some changes that you'd like to merge into the git repo, feel welcome to push it in.
legendary
Activity: 2053
Merit: 1356
aka tonikt
August 10, 2012, 02:17:18 AM
#28
"TRANSFER_FROM" and "TRANSFER_TO" seems not to work out properly
I would guess, since I have none of such..
legendary
Activity: 2618
Merit: 1007
August 09, 2012, 02:28:41 PM
#27
"TRANSFER_FROM" and "TRANSFER_TO" seems not to work out properly:
Dividend: 0.554 BTC | Fees: 0.013 BTC | Bought: 0.000 BTC | Sold: 3.300 BTC | Shares: -4 => 3.84 (final profit)

Maybe count it as a 0 BTC cost buy/sell?
legendary
Activity: 2053
Merit: 1356
aka tonikt
August 04, 2012, 01:36:15 PM
#26
What does it means the number on the icon on the Chrome toolbar?
That's your total number of transactions.
Yes.
The number of rows in the account history table (which opens when you click the icon)
legendary
Activity: 4522
Merit: 3426
August 04, 2012, 01:27:40 PM
#25
What does it means the number on the icon on the Chrome toolbar?
That's your total number of transactions.
legendary
Activity: 4522
Merit: 3426
August 04, 2012, 01:24:57 PM
#24
On the portfolio page, the "Buy / sell price" label is confusing because your "buy" price is how much I get when I sell shares, and your "sell" price is how much I pay for shares.

I think it would be clearer to either:
  • Use "bid/ask" (I know that is confusing too), or
  • Swap "buy" and "sell".
legendary
Activity: 2352
Merit: 1064
Bitcoin is antisemitic
July 29, 2012, 02:53:33 AM
#23
What does it means the number on the icon on the Chrome toolbar?

Either something is wrong with the "Final profit" calculus, or I am decidedly a not-for-profit investor:
I get Final Profit = -118.46
I wonder how could I lose 118 BTC having Bought: 330.114 BTC | Sold: 193.142 BTC
sr. member
Activity: 252
Merit: 250
July 18, 2012, 05:49:05 PM
#22
Found the error: "sound not defined". Commenting out that two lines it works.
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 18, 2012, 04:38:52 AM
#21
But for now... doesn't work at all on OpenSUSE, it appears. Just no rection (nor click nor badge), very odd. Version 1.0.3, tried both from source and from store.
Must be some issue with Chrome - the extensions are supposed to be platform independent.
Or maybe you have some old Chrome version there?
sr. member
Activity: 252
Merit: 250
July 17, 2012, 07:12:01 PM
#20
Maybe I'll try, thanks.

But for now... doesn't work at all on OpenSUSE, it appears. Just no rection (nor click nor badge), very odd. Version 1.0.3, tried both from source and from store.

(in the Portfolio page it does show only liquid Btc in asset value, and changes the layout but no data is inserted. So apparently it's Ajax failing)
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 10, 2012, 04:19:39 AM
#19
It quite is. Transfers get shown on the portfolio page, so if you see a transfer of shares in and a transfer of money out around the same time, you can quite safely assume that was the price. But in my case I bought two different shares at the same time from the same person, and you would have never a way to know what pays what. That's why the only workaround is probably to offer the possibility to manually specify what the price was.
If you want to change the source code I could try to walk you through.

It's all in the file background.js in the function howmuchspent()
Just insert such a line of code:
Code:
if (id=="THE_SHARE") sum.buy+= 232.50
... just before this line:
Code:
sum.sum = sum.buy+sum.fee-sum.div

Replace THE_SHARE with the ticker of the shares and 232.50 with the total BTC amount you paid for them.
Make sure to reload the extensions for the changes to take effect.
sr. member
Activity: 252
Merit: 250
July 10, 2012, 04:05:46 AM
#18
Small annoying issue: buying shares directly from the issuer (via "transfer" option) makes their price appear as 0, and so 100% profit.
Should in some way recognise the tansfers as payments; maybe the only way is guess, and then offer the option to manually confirm the price for those shares, saving it as local storage.
I get you point, but solving this sounds like a tough one.
And I don't have any of such shares so I wouldn't be able to test it.



It quite is. Transfers get shown on the portfolio page, so if you see a transfer of shares in and a transfer of money out around the same time, you can quite safely assume that was the price. But in my case I bought two different shares at the same time from the same person, and you would have never a way to know what pays what. That's why the only workaround is probably to offer the possibility to manually specify what the price was.
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 09, 2012, 07:11:48 AM
#17
Small annoying issue: buying shares directly from the issuer (via "transfer" option) makes their price appear as 0, and so 100% profit.
Should in some way recognise the tansfers as payments; maybe the only way is guess, and then offer the option to manually confirm the price for those shares, saving it as local storage.
I get you point, but solving this sounds like a tough one.
And I don't have any of such shares so I wouldn't be able to test it.

sr. member
Activity: 252
Merit: 250
July 07, 2012, 06:34:41 AM
#16
Small annoying issue: buying shares directly from the issuer (via "transfer" option) makes their price appear as 0, and so 100% profit.
Should in some way recognise the tansfers as payments; maybe the only way is guess, and then offer the option to manually confirm the price for those shares, saving it as local storage.
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 02, 2012, 09:53:28 AM
#15
You can try the current version 1.0.2 - the depth chart should be improved.
legendary
Activity: 2053
Merit: 1356
aka tonikt
July 02, 2012, 05:19:30 AM
#14
Do you do firefox extensions too ?
No - no experience with firefox extensions whatsoever.
Pages:
Jump to: