Bitcoin Forum

Bitcoin => Project Development => Topic started by: Nefario on May 03, 2011, 05:14:07 AM



Title: Beta GLBSE stock market Open for trading
Post by: Nefario on May 03, 2011, 05:14:07 AM
Due to wrestling with accounting problems caused by premature usage of the exchange we will be launching in about 4 hours(I've got meatspace things to attend to first).

Some points, to stop people spamming the exchange listing things there will be a charge of 1btc to list(may lower this afterwards), the first 20 ticker symbols are free (ones taken already, UBX leaving 19 remaining).

After that there will be a 5btc charge for ticker symbols.

There are no transaction fees ATM except to withdraw, which is 0.01btc to pay the transaction servers processing fee.

Minimum withdrawal is 1btc (plus 0.01btc charge, so needs 1.01btc in account).

Anyone who has an account already pelase back up your keys, which are located:
Windows:C:/Documents and Settings/Username/.blackmarket4.rsa
Linux:~/.blackmarket4.rsa

Running register again will overwrite these keys, and once gone you lose everything in your account!

Once the exchange is up and running I will spend time helping anyone who wants to list to do so.

Please see the terms and conditions at http://glbse.com/terms.html

Shares for BitcoinGlobal will not be listed yet as we haven't worked out full terms of our share contract.

regards, Nefario.


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 03, 2011, 01:41:04 PM
Beta of glbse is open for trading.

Any issues just pm or emial me, my email is the contact field at http://glbse.com


Title: Re: Beta GLBSE stock market Open for trading
Post by: kseistrup on May 03, 2011, 01:54:01 PM
Linux:~/.blackmarket4.rsa

Mine's called “~/.blackmarket3.rsa” — should I rename it, or is everything cool?

Cheers,


Title: Re: Beta GLBSE stock market Open for trading
Post by: Anonymous on May 03, 2011, 02:23:51 PM
Linux:~/.blackmarket4.rsa

Mine's called “~/.blackmarket3.rsa” — should I rename it, or is everything cool?

Cheers,

Mine was the same. Anyway I truecrypted the file in a backup just to be on the safe side. :)


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 03, 2011, 06:09:07 PM
If there are any problems just try renaming it to blackmarket4.rsa


Title: Re: Beta GLBSE stock market Open for trading
Post by: kiba on May 03, 2011, 06:12:30 PM

When will we see fancy charts or an API that bitcoincharts can use to create fancy charts?


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 03, 2011, 06:28:36 PM

When will we see fancy charts or an API that bitcoincharts can use to create fancy charts?

Haha, good one.

But seriously, we'll have to wait, I'm adding functionallity and fixing bugs as fast as I can.

Just went live with this, which was scary for me, I'm terrified of there being some accounting or security bug.

Charts are not my first priority, but it's something that will happen probably in about 2 months I'd guess.


Title: Re: Beta GLBSE stock market Open for trading
Post by: BioMike on May 03, 2011, 07:14:50 PM
Just went live with this, which was scary for me, I'm terrified of there being some accounting or security bug.

I had the same with Operation Fabulous. Took me a month before I had a proper sleep again.


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 03, 2011, 07:20:07 PM
Just went live with this, which was scary for me, I'm terrified of there being some accounting or security bug.

I had the same with Operation Fabulous. Took me a month before I had a proper sleep again.

Thats what I have to look forward to? Great  ::)


Title: Re: Beta GLBSE stock market Open for trading
Post by: jimbobway on May 04, 2011, 03:29:52 AM
I am installing this...it was a very hard install...attempting to register but it stalls.


Title: Re: Beta GLBSE stock market Open for trading
Post by: cuddlefish on May 04, 2011, 04:23:37 AM
Downtime? All requests to the server hang forever.
 :-[


Title: Re: Beta GLBSE stock market Open for trading
Post by: Cryptoman on May 04, 2011, 04:51:28 AM
Downtime? All requests to the server hang forever.
 :-[

It's working fine for me.  Nefario, this is really impressive.  Hats off to you.  I hope to have some time to try it out towards the weekend.


Title: Re: Beta GLBSE stock market Open for trading
Post by: ColdHardMetal on May 04, 2011, 04:52:50 AM
It was hanging for me before, but it seems to be working now.


Title: Re: Beta GLBSE stock market Open for trading
Post by: S3052 on May 04, 2011, 04:57:20 AM
After installing all the programs from setup as described, I tried to run the market
with blackmarket.py

Then I got the error:

"Traceback <most recent call last>:
 File "C....\blackmarket.py, line 10, in <module>
   from M2Crypto.util import passphrase_callback as prompt_password
Import Error: No module named M2Crypto.util"

can anyone help?


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 04, 2011, 05:04:50 AM
It seems that from time to time the server (the software, not the machine itself) freezes, sometimes completely not letting up other times for a while. I don't know why, haven't had a chance to investigate (which is what I will be doing).

I'll also need to build a script to monitor the server and "reset" it when it chokes.


Title: Re: Beta GLBSE stock market Open for trading
Post by: Tawsix on May 04, 2011, 05:21:06 AM
I tried making a ticker, it told me not enough funds.  Did all 20 free tickers already get used up?


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 04, 2011, 05:41:31 AM
I tried making a ticker, it told me not enough funds.  Did all 20 free tickers already get used up?

Before you can register a ticker, you need to create an asset. I've set the fee for creating an asset at 1btc to stop people just throwing any kind of crap up there. There are still 18 free tickers available.

So to recap:
1)bmc.py deposit   (you need to deposit at least 1btc to create an asset)
2)bmc.py new-asset file-to-be-asset
3)bmc.py ticker asset_id ticker_symbol

You can see everything that's listed on the exchange here.

http://dev.glbse.com/cgi-bin/list


Title: Re: Beta GLBSE stock market Open for trading
Post by: cuddlefish on May 04, 2011, 05:47:13 AM
Nefario, read your PMs


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 04, 2011, 10:01:54 AM
Nefario, read your PMs

Done and done.


Title: Re: Beta GLBSE stock market Open for trading
Post by: kokjo on May 04, 2011, 10:26:27 AM
After installing all the programs from setup as described, I tried to run the market
with blackmarket.py

Then I got the error:

"Traceback <most recent call last>:
 File "C....\blackmarket.py, line 10, in <module>
   from M2Crypto.util import passphrase_callback as prompt_password
Import Error: No module named M2Crypto.util"

can anyone help?
you nedd M2crypto: http://chandlerproject.org/Projects/MeTooCrypto#Downloads


Title: Re: Beta GLBSE stock market Open for trading
Post by: S3052 on May 04, 2011, 09:08:48 PM
After installing all the programs from setup as described, I tried to run the market
with blackmarket.py

Then I got the error:

"Traceback <most recent call last>:
 File "C....\blackmarket.py, line 10, in <module>
   from M2Crypto.util import passphrase_callback as prompt_password
Import Error: No module named M2Crypto.util"

can anyone help?
you nedd M2crypto: http://chandlerproject.org/Projects/MeTooCrypto#Downloads

kokjo,
I went to the link, which one should I install?
thanks for the help in advance


Title: Re: Beta GLBSE stock market Open for trading
Post by: kokjo on May 05, 2011, 05:55:39 AM
After installing all the programs from setup as described, I tried to run the market
with blackmarket.py

Then I got the error:

"Traceback <most recent call last>:
 File "C....\blackmarket.py, line 10, in <module>
   from M2Crypto.util import passphrase_callback as prompt_password
Import Error: No module named M2Crypto.util"

can anyone help?
you nedd M2crypto: http://chandlerproject.org/Projects/MeTooCrypto#Downloads

kokjo,
I went to the link, which one should I install?
thanks for the help in advance
it depends of what version of python you are using. and what OS you are using.
so if you are using python 2.7 and windows 32 bit(vista, xp...) you should download: http://chandlerproject.org/pub/Projects/MeTooCrypto/M2Crypto-0.21.1.win32-py2.7.msi

but thats maybe not the case... you could be using python 2.6 or MacOSX or Linux, or whatever...


Title: Re: Beta GLBSE stock market Open for trading
Post by: markm on May 05, 2011, 07:01:43 AM
I use Fedora Core 14, so I just needed to do "yum install m2crypto".

-MarkM-


Title: Re: Beta GLBSE stock market Open for trading
Post by: S3052 on May 05, 2011, 08:17:45 PM
After installing all the programs from setup as described, I tried to run the market
with blackmarket.py

Then I got the error:

"Traceback <most recent call last>:
 File "C....\blackmarket.py, line 10, in <module>
   from M2Crypto.util import passphrase_callback as prompt_password
Import Error: No module named M2Crypto.util"

can anyone help?
you nedd M2crypto: http://chandlerproject.org/Projects/MeTooCrypto#Downloads

kokjo,
I went to the link, which one should I install?
thanks for the help in advance
it depends of what version of python you are using. and what OS you are using.
so if you are using python 2.7 and windows 32 bit(vista, xp...) you should download: http://chandlerproject.org/pub/Projects/MeTooCrypto/M2Crypto-0.21.1.win32-py2.7.msi

but thats maybe not the case... you could be using python 2.6 or MacOSX or Linux, or whatever...

Thanks for the efforts.
I have windows 64bit and installed python 2.7
The key issue is that no OpenSSl can be installed on this machine. I tried already 5 different versions. I would love to see whats wrong.


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 14, 2011, 03:26:03 AM

$ python2.6 bmc.py balance
Enter passphrase:
 
balance --:-- 25000000
$ python2.6 bmc.py withdraw 25000000 MYADDRESS
Enter passphrase:

balance --:-- balance_error
result --:-- True

$ python2.6 bmc.py balance
Enter passphrase:
Problem: Your account doesn't balance, you may have deposited funds, please try again in a few minutes,if this problem continues please inform the administrator

Even after two confirmations.

Best regards,
Casper


With regards inputing numbers to the client (and what it prints out) I'll change that to mBTC (e.g. 0.75btc=750mBTC).

Your account should be working now.


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 14, 2011, 05:38:10 PM
Market down for bug fixing.


Title: Re: Beta GLBSE stock market down for bug fixing
Post by: Nefario on May 14, 2011, 07:19:15 PM
Open again, will go down for an hour or two tomorrow.


Title: Re: Beta GLBSE stock market down for bug fixing
Post by: Ryland R. Taylor-Almanza on May 14, 2011, 10:29:01 PM
Open again, will go down for an hour or two tomorrow.
^1000th post. Congratulations!


Title: Re: Beta GLBSE stock market Open for trading
Post by: FooDSt4mP on May 15, 2011, 12:03:07 AM
Due to wrestling with accounting problems caused by premature usage of the exchange we will be launching in about 4 hours(I've got meatspace things to attend to first).

Can you please use floating point numbers for currency like all other Bitcoin clients rather than the very confusing huge integers?

E.g. 0.75 rather than 75000000.

750 mBTC would be fine too IMO.

Best regards,
Casper




No, no, no, no, no.  Never using floating point when dealing with anything of value.  Every floating point number is an approximation, and errors quickly pile up.  Use fixed point.  However, I would hope Nefario already knows this.


Title: Re: Beta GLBSE stock market Open for trading
Post by: xf2_org on May 15, 2011, 12:21:02 AM
No, no, no, no, no.  Never using floating point when dealing with anything of value.  Every floating point number is an approximation, and errors quickly pile up.  Use fixed point.  However, I would hope Nefario already knows this.

The presence of a decimal does not necessarily imply floating point.  SQL and all the major programming languages support fixed point decimals, and these types are widely used in banking and finance to store money.



Title: Re: Beta GLBSE stock market Open for trading
Post by: FooDSt4mP on May 15, 2011, 12:36:35 AM
No, no, no, no, no.  Never using floating point when dealing with anything of value.  Every floating point number is an approximation, and errors quickly pile up.  Use fixed point.  However, I would hope Nefario already knows this.

The presence of a decimal does not necessarily imply floating point.  SQL and all the major programming languages support fixed point decimals, and these types are widely used in banking and finance to store money.




I know this.  Look at what I quoted.  He specifically says "floating point".  I said use fixed point.


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 15, 2011, 06:49:25 AM

No, no, no, no, no.  Never using floating point when dealing with anything of value.  Every floating point number is an approximation, and errors quickly pile up.  Use fixed point.  However, I would hope Nefario already knows this.

I think I'm vaguely aware of it...you know....because it's all done in 64bit integers.

I would like to move to a fixed point decimal representation on the client only(input/output, easier on the eyes), on the market feed (http://twitter.com/#!/GLBSE) it will remain 64bit integers, and internally it will be represented as 64bit integers.

I even had to re-write the json parsing library to deal with the return values from bitcoind's json, the library was converting them to floating point numbers, rewrote it to convert straight into fixed point decimal, and then 64bit integers.


Title: Re: Beta GLBSE stock market Open for trading
Post by: cuddlefish on May 15, 2011, 07:49:44 AM

I would like to move to a fixed point decimal representation on the client only(input/output, easier on the eyes), on the market feed (http://twitter.com/#!/GLBSE) it will remain 64bit integers, and internally it will be represented as 64bit integers.


If you're using Django for the server, check out contrib.humanize. It's awesome and basically made for this.


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 15, 2011, 09:44:41 AM

I would like to move to a fixed point decimal representation on the client only(input/output, easier on the eyes), on the market feed (http://twitter.com/#!/GLBSE) it will remain 64bit integers, and internally it will be represented as 64bit integers.


If you're using Django for the server, check out contrib.humanize. It's awesome and basically made for this.

Servers in ruby  :P


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 16, 2011, 11:22:39 AM
Voting has now been added to GLBSE

Get the latest client code from gitorious(git users git://gitorious.org/black-market/black-market-client.git),everyone without git can get it here as a gzip file (https://gitorious.org/black-market/black-market-client/archive-tarball/master).

As the issuer of an asset you must:

FILE is the text of what you will have your shareholders vote on(your motion), and save it as a textfile(example, motion.txt).

ASSET-ID is either the full asset id or it's ticker symbol

DATE is the day that you want the voting to finish (that is the date it stops, not one day after), it's format is dd-mm-yy dd being day, mm being month, yy being year.


bmc.py new-vote ASSET-ID FILE DATE

You can see the id's of all the open motions of assets you posses with:

bmc.py motions

You can get the details of any motion by using the motions id:

bmc.py motion MOTION-ID

You can vote on a motion with:

bmc.py vote MOTION-ID CHOICE

where choice is either the words yes or no, you can change your vote as many times as you like before the motion closes.

You can get the status of a motions vote with:

bmc.py tally MOTION-ID

Transfering or selling shares and voting

If you have an asset where you have voted on a motion, and you then sell or transfer those assets, the corresponding votes will be removed, and the new owner will now have the voting ability.

If you experience any problems (errors for example) please let me know either on this thread, by pm'ing me or emailing me (doctor.nefario@gmail.com)

Please be patient if you don't recieve a quick reply, I'm probably sleeping (I'm on Beijing time).

Nefario.




Title: Re: Beta GLBSE stock market Open for trading
Post by: codemojo on May 31, 2011, 03:02:02 PM
Hey, are you guys still looking for coders?


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 31, 2011, 03:15:26 PM
Hey, are you guys still looking for coders?

Yes and no.

No as in not right now, we've got enough coders.

But yes as in we still have a number of projects that are rolling out, begining to or will begin shortly.

What's your skillset?(everything not just programming).


Title: Re: Beta GLBSE stock market Open for trading
Post by: codemojo on May 31, 2011, 03:35:43 PM
What's your skillset?(everything not just programming).

Please see the email I've sent.


Title: Re: Beta GLBSE stock market Open for trading
Post by: Nefario on May 31, 2011, 04:35:39 PM
What's your skillset?(everything not just programming).

Please see the email I've sent.

Got it, will reply tomorrow. It's late here.