For some reason apiCall("SubmitTrade", array( 'Type'=> "Buy", 'Market'=> $type, 'Rate'=> $row["BUY"], 'Amount'=> $val ) ); doesn't want to buy keeps telling me the trade size is too small. when it the same values work on the site... any insight would be helpful.