This project received 9 bids from talented freelancers with an average bid price of $21 USD.

Get free quotes for a project like this
Employer working
Skills Required
Project Budget
$10 - $30 USD
Total Bids
Project Description

make my script work:

function mcx_trade($pair,$buy,$amt,$price) {
// API settings
$sk = '9x1jYoVRMt1N';

// our curl handle (initialize if required)
static $ch = null;
if (is_null($ch)) {
$ch = curl_init();
//curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
//curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; Cryptsy API PHP client; '.php_uname('s').'; PHP/'.phpversion().')');
$adr = "[url removed, login to view]".$sk."&cur=".$pair."&buy=".$buy."&amt=".$amt."&price=".$price."&enabled=1" ;
curl_setopt($ch, CURLOPT_URL, $adr);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);

// run the query
$res = curl_exec($ch);
//$ord = new SimpleXmlElement($res);
if ($res === false) throw new Exception('Could not get reply: '.curl_error($ch));

mcx_trade('LTC',1,[url removed, login to view],[url removed, login to view]);


Looking to make some money?

  • Set your budget and the timeframe
  • Outline your proposal
  • Get paid for your work

Hire Freelancers who also bid on this project

    • Forbes
    • The New York Times
    • Time
    • Wall Street Journal
    • Times Online