Pages:
Author

Topic: . - page 14. (Read 67488 times)

hero member
Activity: 532
Merit: 500
June 14, 2012, 05:27:53 PM

...It'd be nice if after x time, trading was locked so even if his script take 30 seconds to execute, someone's not slipping another order in.

That does not sound good.  Single bonds are being auctioned off starting at a certain time.  If I came into the room and offerred more than the next person, then by auction rules I am entitled to receive that bond.
legendary
Activity: 2053
Merit: 1356
aka tonikt
June 14, 2012, 05:23:52 PM
Nef was asked multiple times for:
* Placing buy/sell orders at certain times in advance
* Paying dividends at certain times in advance
* Calling back bonds at certain times in advance
GLBSE 2.0 is just what it it.
It deals with our assets, it requires good security practices, so you cannot just add features on daily basis.
I completely understand the guy that he doesn't want to change the code every day - its just dangerous.
Bitcoinica did chnage the code too often - and look what happened.

But the API they gave for buying and selling - it's brilliant. Very easy to use!
So just use it, scheduling the simple scripts at your own PC.

Though, sometimes it happens that there are connection errors, or the site is just down, or something - and then a single shot of a curl command may fail, and you need to repeat...
So please keep that in mind while getting on the bus Smiley
vip
Activity: 574
Merit: 500
Don't send me a pm unless you gpg encrypt it.
June 14, 2012, 05:21:25 PM
The option to place an order at a given, precise time, should be in the trading platform itself. That's the only way of doing it right. Anybody has asked Nefario if he plans to implement it?

That we have asked for.  I've not heard when it will be done.

Well, in the meantime, a guy pushing a button or a computer firing some simple script is almost equally imprecise...

Exactly.  Leave as is and wait the 2 weeks or whatever it will take until he's got the real solution.  It'd be nice if after x time, trading was locked so even if his script take 30 seconds to execute, someone's not slipping another order in.
hero member
Activity: 532
Merit: 500
June 14, 2012, 05:20:52 PM
or he can just get the buy button ready, watch his computer tick, and click.

Wasn't it stated earlier that missing a bus because it is late is worse than waiting a for a late bus?

Are you naive enough to think that just because its scripted its going to magically happen on :00?  

It will if it is written correctly.

The very things that can happen with humans can happen with computers.  Part of the reason things haven't fired correctly in the past is because GLBSE is choking.  A script won't fix that.

The script won't fix the time it takes in GLBSE to process the orders, but it will remove human error from the time it takes to manually click the sell button.
legendary
Activity: 2618
Merit: 1007
June 14, 2012, 05:20:14 PM
Nef was asked multiple times for:
* Placing buy/sell orders at certain times in advance
* Paying dividends at certain times in advance
* Calling back bonds at certain times in advance

I think he knows and I think he's swamped in work + support questions atm. Hopefully he finds some time to do some development work on GLBSE, the recent API for outstanding shares was a great start!


You don't need git, it was just used as an example. Simply google "curl" and your preferred platform (windows, linux, os-x, freeBSD...) and you'll find an executable.

I bet my GLBSE bot is more precise than anyone pushing buttons...
sr. member
Activity: 325
Merit: 250
Our highest capital is the Confidence we build.
June 14, 2012, 05:19:15 PM
The option to place an order at a given, precise time, should be in the trading platform itself. That's the only way of doing it right. Anybody has asked Nefario if he plans to implement it?

That we have asked for.  I've not heard when it will be done.

Well, in the meantime, a guy pushing a button or a computer firing some simple script is almost equally imprecise...
hero member
Activity: 518
Merit: 500
June 14, 2012, 05:17:31 PM
What happens when the lag changes?
I don't think a few seconds, this or that way, really matters, since (from what I saw) it still takes at least 20 seconds for the GLBSE engine to process all the transaction, after all.

That's an important point - having the exchange rattle through the transactions takes time.  

Also, as a bus, I only have one stop to make.

(and now I'm going to have to look up "Git" install thing)
vip
Activity: 574
Merit: 500
Don't send me a pm unless you gpg encrypt it.
June 14, 2012, 05:16:56 PM
or he can just get the buy button ready, watch his computer tick, and click.

Wasn't it stated earlier that missing a bus because it is late is worse than waiting a for a late bus?

Are you naive enough to think that just because its scripted its going to magically happen on :00?  

It will if it is written correctly.

The very things that can happen with humans can happen with computers.  Part of the reason things haven't fired correctly in the past is because GLBSE is choking.  A script won't fix that.
vip
Activity: 574
Merit: 500
Don't send me a pm unless you gpg encrypt it.
June 14, 2012, 05:16:10 PM
The option to place an order at a given, precise time, should be in the trading platform itself. That's the only way of doing it right. Anybody has asked Nefario if he plans to implement it?

That we have asked for.  I've not heard when it will be done.
hero member
Activity: 532
Merit: 500
June 14, 2012, 05:15:45 PM
or he can just get the buy button ready, watch his computer tick, and click.

Wasn't it stated earlier that missing a bus because it is late is worse than waiting a for a late bus?

Are you naive enough to think that just because its scripted its going to magically happen on :00?  

It will if it is written correctly.
sr. member
Activity: 325
Merit: 250
Our highest capital is the Confidence we build.
June 14, 2012, 05:15:15 PM
The option to place an order at a given, precise time, should be in the trading platform itself. That's the only way of doing it right. Anybody has asked Nefario if he plans to implement it?
vip
Activity: 574
Merit: 500
Don't send me a pm unless you gpg encrypt it.
June 14, 2012, 05:14:26 PM
or he can just get the buy button ready, watch his computer tick, and click.

Wasn't it stated earlier that missing a bus because it is late is worse than waiting a for a late bus?

Are you naive enough to think that just because its scripted its going to magically happen on :00?  
legendary
Activity: 2053
Merit: 1356
aka tonikt
June 14, 2012, 05:14:10 PM
What happens when the lag changes?
I don't think a few seconds, this or that way, really matters, since (from what I saw) it still takes at least 20 seconds for the GLBSE engine to process all the transaction, after all.
hero member
Activity: 532
Merit: 500
June 14, 2012, 05:13:05 PM
or he can just get the buy button ready, watch his computer tick, and click.

Wasn't it stated earlier that missing a bus because it is late is worse than waiting a for a late bus?
vip
Activity: 574
Merit: 500
Don't send me a pm unless you gpg encrypt it.
June 14, 2012, 05:10:07 PM
or he can just get the buy button ready, watch his computer tick, and click.
legendary
Activity: 2053
Merit: 1356
aka tonikt
June 14, 2012, 05:08:49 PM
I don't use APIs - I could probably learn
It's really trivial - I tell you.

You can test it first - just enable the API key and then run:
Code:
curl -d "quantity=3000&price=100000000&ticker=PPT.D" "https://glbse.com/api/market/sell/AAA/BBBBBBBBBBBBBBBBBBBBBBBBBB"
(replacing AAA with "API ID" and BBBBB with "API Key")

You can test it up front, using a different ticker and some high price - then you will see the order going to your "Sell Orders" - means it worked.

and "curl" is linux?

Actually, my lecturers in Compsci did their stuff in the 50's and 60's and I originally learnt programming around 1980, and by the time I got to my undergrad degree we had a mix of main-frames and networked terminals to use (the Burroughs 48 bit processor was something else).  IBM XTs were just making their presence felt.  MS Word 3.0 would fit nicely on a 360kb floppy allowing you to save your work on the second drive (woo hoo).
Well... and I thought I was old Smiley

curl is basically available on any platform - you can find a windows build as well.
In fact it's a part of many different packages - i.e. if you install Git, you will also find curl.exe in its bin folder.

And, what I didn't mention, since GLBSE uses SSL, you will probably need to add the command line switch to ignore the certificate checking.
If you run it the first time and it fails, it will give you a hint of what the switch is called - I don't remember now, I have it in some curlrc file which I cannot find now Smiley
hero member
Activity: 532
Merit: 500
June 14, 2012, 05:06:26 PM
Just google it, curl is a command line program (there are also Windows versions) that is used to interact with webservers. You can then (with Windows) put the line posted above in a batch file and have the task scheduler call the batch file at exactly the time you specify. If you learned how to use computers back then, this should anyways be kinda familiar... Wink

To find out about lag, you can try to put up test orders at 99999 BTC or so and check how long it takes until they show up (maybe 1-2 seconds I guess?) so you can then issue the sell order at xx:59:59 to have it at exactly yy:00:00

What happens when the lag changes?
legendary
Activity: 2618
Merit: 1007
June 14, 2012, 05:05:01 PM
Just google it, curl is a command line program (there are also Windows versions) that is used to interact with webservers. You can then (with Windows) put the line posted above in a batch file and have the task scheduler call the batch file at exactly the time you specify. If you learned how to use computers back then, this should anyways be kinda familiar... Wink

To find out about lag, you can try to put up test orders at 99999 BTC or so and check how long it takes until they show up (maybe 1-2 seconds I guess?) so you can then issue the sell order at xx:59:59 to have it at exactly yy:00:00
hero member
Activity: 532
Merit: 500
June 14, 2012, 05:01:58 PM
hero member
Activity: 518
Merit: 500
June 14, 2012, 04:54:43 PM
I don't use APIs - I could probably learn
It's really trivial - I tell you.

You can test it first - just enable the API key and then run:
Code:
curl -d "quantity=3000&price=100000000&ticker=PPT.D" "https://glbse.com/api/market/sell/AAA/BBBBBBBBBBBBBBBBBBBBBBBBBB"
(replacing AAA with "API ID" and BBBBB with "API Key")

You can test it up front, using a different ticker and some high price - then you will see the order going to your "Sell Orders" - means it worked.

and "curl" is linux?

Actually, my lecturers in Compsci did their stuff in the 50's and 60's and I originally learnt programming around 1980, and by the time I got to my undergrad degree we had a mix of main-frames and networked terminals to use (the Burroughs 48 bit processor was something else).  IBM XTs were just making their presence felt.  MS Word 3.0 would fit nicely on a 360kb floppy allowing you to save your work on the second drive (woo hoo).
Pages:
Jump to: