Bitcoin Forum
April 25, 2024, 02:20:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
  Print  
Author Topic: GLBSE 2.0 open for testing  (Read 51712 times)
Nefario (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 512


GLBSE Support support@glbse.com


View Profile WWW
March 20, 2012, 01:05:25 AM
 #121

dividends (after fees) are wrong

10 btc dividends result in 8.93712 btc paid to shareholders.

affected release 18/Mar (guess who forgot to increment counter? wink)

btw if you want to pay dividends visit the asset view page .../asset/view/TICKER
& click pay dividends

the only option to pay dividends is "how much you gonna spend on this?"
easy (and slightly not working)


Hmm, thats an intersting bug. The fee is supposed to be 0.5%, that is a weird number which is also quite wrong. I'm wondering how it arrived at this number, as everything is dealt with using integers.

Let pretend the counter is 20th march for the next couple of minutes  Tongue


PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
"This isn't the kind of software where we can leave so many unresolved bugs that we need a tracker for them." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714054802
Hero Member
*
Offline Offline

Posts: 1714054802

View Profile Personal Message (Offline)

Ignore
1714054802
Reply with quote  #2

1714054802
Report to moderator
mila
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile
March 20, 2012, 01:14:33 AM
Last edit: March 20, 2012, 04:06:06 AM by mila
 #122

dividends (after fees) are wrong

10 btc dividends result in 8.93712 btc paid to shareholders.

affected release 18/Mar (guess who forgot to increment counter? wink)

btw if you want to pay dividends visit the asset view page .../asset/view/TICKER
& click pay dividends

the only option to pay dividends is "how much you gonna spend on this?"
easy (and slightly not working)



Hmm, thats an intersting bug. The fee is supposed to be 0.5%, that is a weird number which is also quite wrong. I'm wondering how it arrived at this number, as everything is dealt with using integers.

did you try multiple application of a fee? like applying the fee multiple times? seems to be 2 times applied fee at first glance.
check your SYN1 dividends table, I repeated it 5 times to be sure that it's wrong. good news is it's consistently wrong so probably a sw error.

your ad here:
Nefario (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 512


GLBSE Support support@glbse.com


View Profile WWW
March 20, 2012, 01:47:27 AM
 #123

I've made a couple of updates to try to fix this bug.

Cancelled all orders and reset the account reserve to 0.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
mila
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile
March 20, 2012, 04:05:24 AM
 #124

can't reproduce the dividend bug

@Nefario interesting update on dividend bug, I could pay correct dividends of 99.5% of debited amount and could not reproduce the wrong and silly numbers reported earlier. it was probably also flawed testcase and the lack of bitcoin history (equivalent to 1.0 bitcoin history).

solution: not an issue. the dividends were paid properly (verified several times since test case updated). I was reading the wrong parts of the screen when looking for written traces of the payment.
the field Dividend history was changed after each payment but it was not dividend paid but dividend received.
from the account of asset manager on page /portfolio in table fees paid is always the right amount calculated (0.5%)
and from the account of asset manager on page /asset/view/TICKER in field Dividend payments all entries are correct (show data like)
2012-03-20 00:37   6.965   668   0.01042664
2012-03-20 02:22   9.95   668   0.0148952
2012-03-20 03:39   9.95   668   0.0148952
2012-03-20 03:43   9.95   1001   0.00994005

probably I should sleep as well a bit more. I wondered already if a payment of dividends can be cross-manageable across assets.
now I go and properly cancel the bug note in previous posts.

in the meantime I drafted this piece of howto https://sourceforge.net/p/glbseguide/blog/2012/03/user-20-how-to-register--transfer-account-from-10/

your ad here:
mila
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile
March 20, 2012, 04:16:44 AM
Last edit: March 21, 2012, 08:51:57 PM by mila
 #125

I've made a couple of updates to try to fix this bug.

Cancelled all orders and reset the account reserve to 0.

I confirm after cancelling buy order the reserve is correctly updated

It is also correctly updated the total reserve after first buy order is created
(even if on form load it showed 0 reserved and an existing buy order, which was expected after the account reserve was reset)

can be closed. also my other tests with reserved btc succeeded
edit: except for btc kept in reserve if buy order price > actual buy price

your ad here:
OgNasty
Donator
Legendary
*
Offline Offline

Activity: 4718
Merit: 4225


Leading Crypto Sports Betting & Casino Platform


View Profile WWW
March 21, 2012, 08:45:02 PM
Last edit: March 21, 2012, 09:10:09 PM by OgNasty
 #126

A major item is the inclusion of fees, as in trading fees.
Trade fees will be paid for by the seller, 1%
Default asset creation fee is 8btc.
There will also be dividend fees, when a dividend is paid out, planning 0.5%

Nefario.

I wanted to give my 2 satoshis on this.  I do not agree with the decision to charge a dividend fee.  It is not in the best interests of my shareholders or the users of your site.  It is also not a standard practice for brokerages and I feel it should not be put in place.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
JL421
Hero Member
*****
Offline Offline

Activity: 812
Merit: 510


View Profile
March 21, 2012, 09:11:49 PM
 #127

A major item is the inclusion of fees, as in trading fees.
Trade fees will be paid for by the seller, 1%
Default asset creation fee is 8btc.
There will also be dividend fees, when a dividend is paid out, planning 0.5%

Nefario.

I wanted to give my 2 satoshis on this.  I do not agree with the decision to charge a dividend fee.  It is not in the best interests of my shareholders or the users of your site.  It is also not a standard practice for brokerages and I feel it should not be put in place.

I would also like to second this, and I'd say more, but more doesn't really need to be said.
DeaDTerra
Donator
Legendary
*
Offline Offline

Activity: 1064
Merit: 1000



View Profile
March 21, 2012, 09:20:22 PM
 #128

A major item is the inclusion of fees, as in trading fees.
Trade fees will be paid for by the seller, 1%
Default asset creation fee is 8btc.
There will also be dividend fees, when a dividend is paid out, planning 0.5%

Nefario.

I wanted to give my 2 satoshis on this.  I do not agree with the decision to charge a dividend fee.  It is not in the best interests of my shareholders or the users of your site.  It is also not a standard practice for brokerages and I feel it should not be put in place.

I would also like to second this, and I'd say more, but more doesn't really need to be said.
I agree, I would rather then having the fees added in trading/dividends to have the fees when you deposit/withdraw. That way you do not discourage trading and higher volumes, already we have quite big spreads on GLBSE.
//DeaDTerra
labestiol
Sr. Member
****
Offline Offline

Activity: 434
Merit: 251


View Profile
March 21, 2012, 09:31:02 PM
 #129

I'm a total newb about stock markets other than bitcoin, how are the fees distributed usually ?

1BestioLC7YBVh8Q5LfH6RYURD6MrpP8y6
OgNasty
Donator
Legendary
*
Offline Offline

Activity: 4718
Merit: 4225


Leading Crypto Sports Betting & Casino Platform


View Profile WWW
March 21, 2012, 09:41:49 PM
 #130

I'm a total newb about stock markets other than bitcoin, how are the fees distributed usually ?

Typically, trading fees are all that would apply.  Since the GLBSE acts as an exchange and a brokerage, an asset creation fee is also acceptable, in my opinion.

..Stake.com..   ▄████████████████████████████████████▄
   ██ ▄▄▄▄▄▄▄▄▄▄            ▄▄▄▄▄▄▄▄▄▄ ██  ▄████▄
   ██ ▀▀▀▀▀▀▀▀▀▀ ██████████ ▀▀▀▀▀▀▀▀▀▀ ██  ██████
   ██ ██████████ ██      ██ ██████████ ██   ▀██▀
   ██ ██      ██ ██████  ██ ██      ██ ██    ██
   ██ ██████  ██ █████  ███ ██████  ██ ████▄ ██
   ██ █████  ███ ████  ████ █████  ███ ████████
   ██ ████  ████ ██████████ ████  ████ ████▀
   ██ ██████████ ▄▄▄▄▄▄▄▄▄▄ ██████████ ██
   ██            ▀▀▀▀▀▀▀▀▀▀            ██ 
   ▀█████████▀ ▄████████████▄ ▀█████████▀
  ▄▄▄▄▄▄▄▄▄▄▄▄███  ██  ██  ███▄▄▄▄▄▄▄▄▄▄▄▄
 ██████████████████████████████████████████
▄▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▄
█  ▄▀▄             █▀▀█▀▄▄
█  █▀█             █  ▐  ▐▌
█       ▄██▄       █  ▌  █
█     ▄██████▄     █  ▌ ▐▌
█    ██████████    █ ▐  █
█   ▐██████████▌   █ ▐ ▐▌
█    ▀▀██████▀▀    █ ▌ █
█     ▄▄▄██▄▄▄     █ ▌▐▌
█                  █▐ █
█                  █▐▐▌
█                  █▐█
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▀█
▄▄█████████▄▄
▄██▀▀▀▀█████▀▀▀▀██▄
▄█▀       ▐█▌       ▀█▄
██         ▐█▌         ██
████▄     ▄█████▄     ▄████
████████▄███████████▄████████
███▀    █████████████    ▀███
██       ███████████       ██
▀█▄       █████████       ▄█▀
▀█▄    ▄██▀▀▀▀▀▀▀██▄  ▄▄▄█▀
▀███████         ███████▀
▀█████▄       ▄█████▀
▀▀▀███▄▄▄███▀▀▀
..PLAY NOW..
Nefario (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 512


GLBSE Support support@glbse.com


View Profile WWW
March 21, 2012, 10:03:53 PM
 #131

Quote
I agree, I would rather then having the fees added in trading/dividends to have the fees when you deposit/withdraw.

We only had withdrawal fees on GLBSE1.0 to cover the fee's paid to the network for processing the transaction, it's a tiny amount and was never a source of income(to balance our books and the wallet).

Exchanges have trade fees, that's the exchange business model, and GLBSE has been the exception only in that we've not charged anything over new asset fees (and those were there to discourage spam/scam assets, remember initially it was free).

The fact is GLBSE has been running off it's own capital for more than a year at this point, and "revenue" doesn't come close to covering costs, for 1 months of charts.glbse.com it cost ~25BTC.

Other costs include hosting, advertising, development etc.

I'll reconsider having fees on dividends for the time being, but keep in mind it all depends on how well GLBSE sustains itself (never mind make a profit) on the soon to be introduced fee system. If we can't get into the black then there isn't going to be a GLBSE.

Not to worry though we've still got about a year worth of runway left, and 2.0 is changing everything.

Nefairo

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
stochastic
Hero Member
*****
Offline Offline

Activity: 532
Merit: 500


View Profile
March 21, 2012, 10:30:20 PM
 #132

Quote
I agree, I would rather then having the fees added in trading/dividends to have the fees when you deposit/withdraw.

We only had withdrawal fees on GLBSE1.0 to cover the fee's paid to the network for processing the transaction, it's a tiny amount and was never a source of income(to balance our books and the wallet).

Exchanges have trade fees, that's the exchange business model, and GLBSE has been the exception only in that we've not charged anything over new asset fees (and those were there to discourage spam/scam assets, remember initially it was free).

The fact is GLBSE has been running off it's own capital for more than a year at this point, and "revenue" doesn't come close to covering costs, for 1 months of charts.glbse.com it cost ~25BTC.

Other costs include hosting, advertising, development etc.

I'll reconsider having fees on dividends for the time being, but keep in mind it all depends on how well GLBSE sustains itself (never mind make a profit) on the soon to be introduced fee system. If we can't get into the black then there isn't going to be a GLBSE.

Not to worry though we've still got about a year worth of runway left, and 2.0 is changing everything.

Nefairo

I think a dividend fee is not a bad idea.  Other than that it is either charging a listing fee once or monthly.  Nefario could also be charging buyers a flat fee or a percentage of their equity purchases.  I think the former would not be a bad option as it basically is doing the same thing as a dividend fee but not with those words.  The latter would keep people from trading which is what you want them to do on GLBSE.

Introducing constraints to the economy only serves to limit what can be economical.
Nefario (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 512


GLBSE Support support@glbse.com


View Profile WWW
March 22, 2012, 04:41:06 AM
 #133

Latest updates and bugfixes are here. version march22

Fixed mail message bug where clicking on a message in the outbox caused an error.

Have added protection against CSRF.

Are we still having issues with the BTC reserve going down after orders are processed?

Last big push guys, database hasn't been reset so your accounts should all be there.


PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
mila
Sr. Member
****
Offline Offline

Activity: 462
Merit: 250



View Profile
March 22, 2012, 07:08:48 AM
Last edit: March 22, 2012, 10:11:19 AM by mila
 #134

Are we still having issues with the BTC reserve going down after orders are processed?
yes. see user ne@nada.va

gui/design remark/wish: can the "Account showing:" be visible on every page while user is logged in?

currently it's only visible in 'Portfolio' and I think it even changes while I click on the assets and different other pages and often loose track which account I am using. that would be huge usability improvement (keep the Account showing: in header on all pages)

also I miss a summary 'Bitcoin history' view in the 2.0. got used to it and it's easier to read than the tables with partial info (fees paid, trades, etc). just my next 2 satoshi on the subject.

also zero volume trades are still possible : (

your ad here:
abbeytim
Sr. Member
****
Offline Offline

Activity: 438
Merit: 250


View Profile
March 22, 2012, 11:57:37 AM
 #135

i know this may be off topic but i sent you a pm nefarius i deposited 26+ bitcoins the other day and never got them

also i just deposited another 6+ bitcoins and havent received them either my user id is

User Id:111f990e606b6015bd915e3c8dbc42450080416d31f5d74ef353d8b4ed9f5d72

could you look into it for me  i sent you a pmwith more info on the first deposit

thankyou
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
March 22, 2012, 12:48:39 PM
 #136

Hi,

tried to sign up on dev.glbe.com

got an error, has to do with csrf.

I save the error page: http://pastebin.com/yQ2bmnGx (too big for a screenshot)



PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
Nefario (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 512


GLBSE Support support@glbse.com


View Profile WWW
March 22, 2012, 03:08:19 PM
 #137

Hi,

tried to sign up on dev.glbe.com

got an error, has to do with csrf.

I save the error page: http://pastebin.com/yQ2bmnGx (too big for a screenshot)




Thanks for that, I'll get that one taken care of in a couple of hours. To use CSRF protection I needed to add a tag to every single form, I thought I had gotten them all, oh well this is what testing is for.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
Nefario (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 512


GLBSE Support support@glbse.com


View Profile WWW
March 22, 2012, 03:14:00 PM
 #138

Are we still having issues with the BTC reserve going down after orders are processed?
yes. see user ne@nada.va

gui/design remark/wish: can the "Account showing:" be visible on every page while user is logged in?

currently it's only visible in 'Portfolio' and I think it even changes while I click on the assets and different other pages and often loose track which account I am using. that would be huge usability improvement (keep the Account showing: in header on all pages)

also I miss a summary 'Bitcoin history' view in the 2.0. got used to it and it's easier to read than the tables with partial info (fees paid, trades, etc). just my next 2 satoshi on the subject.

also zero volume trades are still possible : (

I'll add the account showing(and the username) to all pages, good idea.
I've got to hunt down that reserve bug- thats the big one for today.
I'll tackle zero volume trades as well.

I'm planning to just have one chronological view of all transactions, and where fee's would be tied to the transactions they're on. For the time being it's all split into different sections.

Thanks for the testing.


PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
molecular
Donator
Legendary
*
Offline Offline

Activity: 2772
Merit: 1019



View Profile
March 22, 2012, 04:54:40 PM
 #139

I'm planning to just have one chronological view of all transactions, and where fee's would be tied to the transactions they're on. For the time being it's all split into different sections.

A good idea!

EDIT: can you drop a line here when signup should work so I can help testing?

PGP key molecular F9B70769 fingerprint 9CDD C0D3 20F8 279F 6BE0  3F39 FC49 2362 F9B7 0769
Nefario (OP)
Hero Member
*****
Offline Offline

Activity: 602
Merit: 512


GLBSE Support support@glbse.com


View Profile WWW
March 22, 2012, 06:37:02 PM
 #140

I'm planning to just have one chronological view of all transactions, and where fee's would be tied to the transactions they're on. For the time being it's all split into different sections.

A good idea!

EDIT: can you drop a line here when signup should work so I can help testing?

Fixed that bug, actually it highlighted a vulnerability. New accounts can be created.

Focusing now on the BTC reserve bug now.

PGP key id at pgp.mit.edu 0xA68F4B7C

To get help and support for GLBSE please email support@glbse.com
Pages: « 1 2 3 4 5 6 [7] 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 »
  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!