jarvisx17 commited on
Commit
7b35777
·
verified ·
1 Parent(s): 8447fa2

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -96,7 +96,7 @@ async def get_stocks_data(ticker: str = Query(..., description="Enter your stock
96
 
97
  # Get signal data
98
  @app.get('/signal', response_model=SIGNAL, responses={200: {"description": "Successful response", "content": {"application/json": {"example": signal_response_example}}}})
99
- async def get_stock_signal(index: str = Query(..., description="Enter your index name from [nifty, nifty-bank]", example='nifty')):
100
  try:
101
  response = fetcher.realtime_signal(index)
102
  if response:
 
96
 
97
  # Get signal data
98
  @app.get('/signal', response_model=SIGNAL, responses={200: {"description": "Successful response", "content": {"application/json": {"example": signal_response_example}}}})
99
+ async def get_stock_signal(index: str = Query(..., description="Enter your index name from [nifty, banknifty]", example='nifty')):
100
  try:
101
  response = fetcher.realtime_signal(index)
102
  if response: