Find Jobs
Hire Freelancers

CurrentPrice and MinimumBid Functions for Auction Site

$15-20 USD

Closed
Posted over 21 years ago

$15-20 USD

Paid on delivery
I am looking for an algorythm, similar to what eBay has to determine the current price and minimum bid for an auction item. Attached you will find 3 functions in VBScript: GetMinimumBid GetCurrentPrice GetBidStep These functions need to work with multiple items and multiple bids and need to return the correct amount. The attached functions (GetMinimumBid and GetCurrentPrice) already work if there's a fixed "bid step" amount. But I now want to make the bid step a function of the current price. The problem is, right now the current price is a function that takes the bid step as a parameter. It should work like this sample auction: 1) Start price is $100, Quantity = 2 2) Bid step according to the table = 2.50 3) No bids -- Current price = 100 4) No bids -- Minimum bid = 100 ----------------------------- 5) 1 Bid -- Current price = 100 6) 1 Bid -- Minimum bid = 100 ----------------------------- 7) 2 Bids -- Current price = 100 8) 2 Bids -- Minimum bid = 102.50 ----------------------------- 9) 3 Bids -- Current price = 102.50 10) 3 Bids -- Minimum bid = 102.50 ----------------------------- 11) 4 Bids -- Current price = 102.50 12) 4 Bids -- Minimum bid = 105 ----------------------------- 13) 5 Bids -- Current price = 105 14) 5 Bids -- Minimum bid = 105 ----------------------------- 15) 6 Bids -- Current price = 105 16) 6 Bids -- Minimum bid = 107.50 ----------------------------- and so on... the bid step should auto adjust according to the current price. It should also work with 1 item, etc. Take eBay as a reference. You need some math to be able to do this. I need this functions fixed ASAP. Thanks. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased. ## Platform ASP/VBScript ## Deadline information ASAP
Project ID: 2878611

About the project

6 proposals
Remote project
Active 21 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
6 freelancers are bidding on average $14 USD for this job
User Avatar
See private message.
$17 USD in 14 days
5.0 (36 reviews)
4.6
4.6
User Avatar
See private message.
$17 USD in 14 days
4.8 (11 reviews)
4.6
4.6
User Avatar
See private message.
$17 USD in 14 days
4.6 (60 reviews)
4.5
4.5
User Avatar
See private message.
$8.50 USD in 14 days
5.0 (7 reviews)
2.9
2.9
User Avatar
See private message.
$17 USD in 14 days
0.0 (0 reviews)
0.0
0.0
User Avatar
See private message.
$8.50 USD in 14 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of GERMANY
Munich, Germany
5.0
31
Payment method verified
Member since May 17, 2001

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.