Find Jobs
Hire Freelancers

API Connection & Page Functionality

$40 CAD

Completed
Posted about 6 years ago

$40 CAD

Paid on delivery
I have a simple UI that requires connection to the Cryptopia API. Information on the private and public APIs can be found here: [login to view URL] When a coin is entered into the form (if the trading pair is LTC/BTC, then LTC is the coin) and the form is submitted, the script must do the following: 1) Check the available balance of the coin (availableBalance) in the wallet balances. 2) If there is no availableBalance, the page should output the alert "No LTC available." in red. 3) If there is an availableBalance, go to step #4. 4) Check the price that the coin was purchased at (purchasePrice) in the trade history. 5) Calculate how much of it (exit1amount) must be sold at 200% (exit1price) of the purchasePrice to equal the minimum trade amount of 0.00050101 BTC. 6) Place a limit order via the API for that exit1amount at exit1price, and output the information on the page once the trade has been posted successfully, i.e. "Limit order created: 8.13 LTC @ 0.001 BTC = 0.00050101." 7) Then calculate how much of it (exit2amount) must be sold at 300% (exit2price) of the purchasePrice to equal the minimum trade amount of 0.00050101 BTC. 8) Place a limit order via the API for that exit2amount at exit2price, and output the information on the page once the trade has been posted successfully. 9) Continue in this manner until there is no more available balance for that coin, at which time it should output the availableBalance as zero, i.e. "LTC balance available: 0". I expect this to take no more than a few hours to create. I will provide the UI and this will be run locally from my MAMP. Page should not need to refresh and no database is required.
Project ID: 16121642

About the project

2 proposals
Remote project
Active 6 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
Awarded to:
User Avatar
Hi I have read the project details and i am interested in working with you on this project. I am having 7+ years of programming experience in Javascript, PHP, NodeJS, Python, C# .NET and have worked with many similar projects in the past. I can easily create this within a span of few hours :)
$40 CAD in 1 day
4.9 (18 reviews)
4.4
4.4
2 freelancers are bidding on average $43 CAD for this job
User Avatar
hello i understand your requirements and i can do your work with quality and with your full satisfaction as i m expert in this work. Please send me details in my inbox so we can start it
$45 CAD in 10 days
5.0 (7 reviews)
3.7
3.7

About the client

Flag of CANADA
Toronto, Canada
5.0
3
Payment method verified
Member since Jan 21, 2018

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.