Author

Topic: [WIP] BitcoinTalk Auctioneer: Auction Helper (Read 911 times)

hero member
Activity: 700
Merit: 500
April 22, 2013, 02:08:44 AM
#2
Great idea!
hero member
Activity: 560
Merit: 517
BitcoinTalk Auctioneer

Tired of manually, and tirelessly counting all those bids in the Auction sub-forum?  I am too!  So, I slapped together some code to help with the process of summarizing the current winning bids:

http://bitcoin-talk-auctioneer.appspot.com/

---------------------------------------------

Beautifying CSV Formatted Bids
You can specify the CSV formatted active bids, and it will spit out something like this:

NameQuantityPriceRemaining
VJain101.05390
rottenchris101.05380
Line151.05365
Melbustus201.04345
SilentSonicBoom11.04344
obom29101.03334
Haibi101.03324
gog11001.03224
lagmo301.02194
fpgaminer101.02184
Rodyland201.02164
batcoin101.02154
twobits201.02134
furuknap111.02123
aahzmundus751.0148
penta481.010
penta21.01-2
imsaguy251.01-27
caoxg1001.01-127
qwk301-157
acayne1001-257
hephaist0s111-268
maxmint101-278
punin1001-378


This part of the website is working quite well.  I used it in this auction to give fairly frequent updates.  The downside is, someone still has to monitor the posts to collect the CSV formatted bids.

NOTE: bids must be CSV formatted like so:
Code:
name,quantity,bid

For example:
Code:
qwk,30,1
acayne,100,1
hephaist0s,11,1
maxmint,10,1
punin,100,1
aahzmundus,75,1.01
penta,50,1.01
imsaguy,25,1.01
caoxg,100,1.01
lagmo,30,1.02
fpgaminer,10,1.02
obom29,10,1.03
Rodyland,20,1.02
batcoin,10,1.02
Haibi,10,1.03
twobits,20,1.02
gog1,100,1.03
furuknap,11,1.02
Melbustus,20,1.04
SilentSonicBoom,1,1.04
VJain,10,1.05
rottenchris,10,1.05
Line,15,1.05


---------------------------------------------

Automatic Summary
This tool can also attempt to figure out active bids automatically, given a URL to the thread.  This feature is a Work-In-Progress and it requires posters in the thread to follow some guidelines:

1) Bids should be submitted like so: "10 @ 1.045" which means "I want 10 pieces of what you're selling, and will pay 1.045 for each."
2) To cancel a bid, post "cancel 10 @ 1.045". This will cancel all of your previous bids that match that quantity and price.
3) Bids and cancels must not be formatted in anyway (no bolding, italics, etc), and must be on their own line in the post.  i.e. "Change to 10 @ 1.8" is not recognized.
4) There are no automatic bid replacements or cancels.  Posters must cancel previous bids if they so desire.

If posters follow those guidelines, it should work.  However, I'm still tinkering and testing it, so let me know what bugs you run into.  Also, it doesn't watch the date/time yet, so it will include bids posted after the auction's end.

Enjoy!
Jump to: