Merhaba
Binance futures de küçük meblağlarla al-sat yapmak istiyorum.Fakat elimde kodu ne yaptıysam çalıştıramadım.Yardım edermisiniz

<?php 

// Binance API anahtarlarınız
$apiKey = 'Api_key';
$apiSecret = 'Api_secret';

// API endpoint ve parametreleri
$endpoint = 'https://fapi.binance.com/fapi/v1/order';
$params = [
     'timestamp' => round(microtime(true) * 1000),
     'symbol' => "BTCUSDT",
     'side' => "BUY",
     'type' => "LIMIT",
     'price' => "35000",
     'quantity' => "0.5",
];

// İmza oluşturma
$queryString = http_build_query($params);
$signature = hash_hmac('sha256', $queryString, $apiSecret);
$params['signature'] = $signature;

// Binance API'ye istek yapma
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $endpoint . '?' . http_build_query($params));
curl_setopt($ch, CURLOPT_HTTPHEADER, ['X-MBX-APIKEY: ' . $apiKey]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
$response = curl_exec($ch);
curl_close($ch);

// Pozisyon bilgilerini kontrol etme
$data = json_decode($response, true);

print_r($data);



 ?>
Kodu yapay zekaya yaptırdım.