eshan6704 commited on
Commit
e16114b
·
verified ·
1 Parent(s): 5830813

Update yahooinfo.py

Browse files
Files changed (1) hide show
  1. yahooinfo.py +1 -1
yahooinfo.py CHANGED
@@ -11,7 +11,7 @@ import traceback
11
  # ==============================
12
  def yfinfo(symbol):
13
  try:
14
- t = yf.Ticker(symbol)
15
  info = t.info
16
  if not info or not isinstance(info, dict):
17
  return {}
 
11
  # ==============================
12
  def yfinfo(symbol):
13
  try:
14
+ t = yf.Ticker(symbol+".NS")
15
  info = t.info
16
  if not info or not isinstance(info, dict):
17
  return {}