eshan6704 commited on
Commit
74c83cf
·
verified ·
1 Parent(s): c116ca7

Update app/router.py

Browse files
Files changed (1) hide show
  1. app/router.py +12 -0
app/router.py CHANGED
@@ -51,6 +51,18 @@ SCREENER_MAP = {
51
 
52
  }
53
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  # -------------------------------------------------------
55
  # STOCK handler
56
  # -------------------------------------------------------
 
51
 
52
  }
53
 
54
+ # -------------------------------------------------------
55
+ # Request model
56
+ # -------------------------------------------------------
57
+ class FetchRequest(BaseModel):
58
+ mode: str
59
+ req_type: str
60
+ name: str = ""
61
+ date_start: str = ""
62
+ date_end: str = ""
63
+
64
+
65
+
66
  # -------------------------------------------------------
67
  # STOCK handler
68
  # -------------------------------------------------------