feat(stock): screener API 헬퍼 7개
This commit is contained in:
@@ -695,3 +695,12 @@ export const getReviewHistory = (limit = 4) =>
|
|||||||
export const bulkPurchase = ({ draw_no, tier_mode, sets, amount }) =>
|
export const bulkPurchase = ({ draw_no, tier_mode, sets, amount }) =>
|
||||||
apiPost('/api/lotto/purchase/bulk', { draw_no, tier_mode, sets, amount });
|
apiPost('/api/lotto/purchase/bulk', { draw_no, tier_mode, sets, amount });
|
||||||
|
|
||||||
|
// ---- Stock Screener ----
|
||||||
|
export const getScreenerNodes = () => apiGet ('/api/stock/screener/nodes');
|
||||||
|
export const getScreenerSettings = () => apiGet ('/api/stock/screener/settings');
|
||||||
|
export const saveScreenerSettings = (body) => apiPut ('/api/stock/screener/settings', body);
|
||||||
|
export const runScreener = (body) => apiPost('/api/stock/screener/run', body);
|
||||||
|
export const refreshScreenerSnap = () => apiPost('/api/stock/screener/snapshot/refresh');
|
||||||
|
export const listScreenerRuns = (limit = 30) => apiGet (`/api/stock/screener/runs?limit=${limit}`);
|
||||||
|
export const getScreenerRun = (id) => apiGet (`/api/stock/screener/runs/${id}`);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user