import { apiRequest } from "@/lib/queryClient";

export async function startStrategy(data) {
  const res = await apiRequest("POST", "/strategy/start", data);
  return res.json();
}

export async function stopStrategy() {
  const res = await apiRequest("POST", "/strategy/stop");
  return res.json();
}

export async function getStrategyStatus() {
  const res = await apiRequest("GET", "/strategy/status");
  return res.json();
}
