I need a small script to "SNIPE" (place an auction bid in the last 10 seconds of the auction), some actions in a site using Fairmarket software.
The site always use time auctions, so we always know when the action is going to end.
So I want to select some items from the auction and have them as SNIPE items, I will assing a MAXIUM BID for each ITEM. Then the program will check every day or every time I request in what price is now the ITEM.
When the time is going to be over, 5 minutes before it close, the program will check the price of the ITEMS, if the price is lower than my MAXIUM BID, it keeps active...
10 Seconds(or any time I can specify) before the ITEMS are going to close the bid, the system checks the actual PRICE, and if it is lower than my MAXIUM BID, then the program automatically BIDs for me in each ITEM that is available, so I win the BID.
I need to assing some variables to each SNIPE Item:
- The date and time where is going to end the bid
- The MAXIUM BID that I can afford for that item
- The incremental amount, this sets in wich amounts the automatic bid will increase the the bid price. For example, if I assing a 100 value for this, and one item have a price of $ 3,000, then the program will BID 3,100.
The site runs under ASP programing, is identical to [login to view URL] uses the same URL actions and FORMS it´s the same engine.
I need it for a LINUX box, preferably in PHP & MySQL, or something that I can run in the box.