자산 현황 및 자동매매 페이지 제거:
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 11m20s
Some checks failed
Build Push and Restart Compose / deploy (push) Failing after 11m20s
- `/templates/pages/asset.html`, `/templates/pages/autotrade.html` HTML 템플릿 삭제. - `/static/js/asset.js`, `/static/js/autotrade.js` 클라이언트 스크립트 제거. - 관련 함수 및 초기화 로직 삭제 (자산 조회 및 자동매매 기능 비활성화).
This commit is contained in:
@@ -92,6 +92,11 @@ func (h *AutoTradeHandler) GetPositions(w http.ResponseWriter, r *http.Request)
|
||||
jsonResponse(w, h.svc.GetPositions())
|
||||
}
|
||||
|
||||
// GetTrades GET /api/autotrade/trades — 종료된 거래 내역
|
||||
func (h *AutoTradeHandler) GetTrades(w http.ResponseWriter, r *http.Request) {
|
||||
jsonResponse(w, h.svc.GetTrades(100))
|
||||
}
|
||||
|
||||
// GetLogs GET /api/autotrade/logs — 최근 로그 (?level=action 이면 debug 제외)
|
||||
func (h *AutoTradeHandler) GetLogs(w http.ResponseWriter, r *http.Request) {
|
||||
logs := h.svc.GetLogs()
|
||||
|
||||
Reference in New Issue
Block a user