master
This commit is contained in:
@@ -243,12 +243,12 @@ class NSEIndexConstituents(AsyncNSEBase):
|
||||
"totTradedVol": symbol["totalTradedVolume"],
|
||||
"totTradedVal": symbol["totalTradedValue"],
|
||||
"prevClose": symbol["previousClose"],
|
||||
"change": symbol["change"],
|
||||
"pctChange": symbol["pChange"],
|
||||
"chg": symbol["change"],
|
||||
"pChg": symbol["pChange"],
|
||||
"yearHigh": symbol["yearHigh"],
|
||||
"yearLow": symbol["yearLow"],
|
||||
"pctChange30d": symbol["perChange30d"],
|
||||
"pctChange365d": symbol["perChange365d"],
|
||||
"pChg30d": symbol["perChange30d"],
|
||||
"pChg365d": symbol["perChange365d"],
|
||||
"ffmc": symbol["ffmc"]
|
||||
} for symbol in raw_json["data"] if symbol["priority"] == 0
|
||||
]
|
||||
|
||||
+1776
-1168
File diff suppressed because it is too large
Load Diff
+1196
-1196
File diff suppressed because it is too large
Load Diff
@@ -182,14 +182,14 @@ class NSEIndexMaster(AsyncNSEBase):
|
||||
"low": idx["low"],
|
||||
"close": idx["last"],
|
||||
"prevClose": idx["previousClose"],
|
||||
"pctChange": idx["percentChange"],
|
||||
"pChg": idx["percentChange"],
|
||||
"yearHigh": idx["yearHigh"],
|
||||
"yearLow": idx["yearLow"],
|
||||
"advances": idx.get("advances"),
|
||||
"declines": idx.get("declines"),
|
||||
"unchanged": idx.get("unchanged"),
|
||||
"pctChange30d": idx["perChange30d"],
|
||||
"pctChange365d": idx["perChange365d"]
|
||||
"pChg30d": idx["perChange30d"],
|
||||
"pChg365d": idx["perChange365d"]
|
||||
} for idx in raw_json["data"]
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user