Find Jobs
Hire Freelancers

API Connection & Page Functionality

$40 CAD

Teljesítve
Kiadva ekkor: körülbelül 6 évvel ezelőtt

$40 CAD

Teljesítéskor fizetve
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.
Projektazonosító: 16121642

A projektről

2 ajánlat
Távolról teljesíthető projekt
Aktiválva: 6 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
Neki odaítélve:
Felhasználó avatár
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 1 napon belül
4,9 (18 értékelés)
4,4
4,4
2 szabadúszó adott átlagosan $43 CAD összegű árajánlatot erre a munkára
Felhasználó avatár
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 10 napon belül
5,0 (7 értékelés)
3,7
3,7

Az ügyfélről

CANADA zászlója
Toronto, Canada
5,0
3
Fizetési mód hitelesítve
Tagság kezdete: jan. 21, 2018

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.