Resetting utils subtree.
This commit is contained in:
@@ -216,7 +216,9 @@ async def capture_eq_eod_data(
|
||||
backoff_seconds = 0.5,
|
||||
backoff_multiplier = 1.1
|
||||
)
|
||||
if not nse_response.success: return success
|
||||
if not nse_response.success:
|
||||
no_context_printer(nse_response.method, nse_response.url, nse_response.httpCode)
|
||||
return success
|
||||
|
||||
# Build the query and data content:
|
||||
query_str = (
|
||||
@@ -290,7 +292,9 @@ async def capture_fo_eod_data(
|
||||
backoff_seconds = 0.5,
|
||||
backoff_multiplier = 1.1
|
||||
)
|
||||
if not nse_response.success: return success
|
||||
if not nse_response.success:
|
||||
no_context_printer(nse_response.method, nse_response.url, nse_response.httpCode)
|
||||
return success
|
||||
|
||||
# Build the query and data content:
|
||||
query_str = (
|
||||
@@ -465,14 +469,14 @@ if __name__ == "__main__":
|
||||
"-e", "--eq",
|
||||
dest = "eq",
|
||||
action = "store_true",
|
||||
help = "Whether, or not, you want to capture equity data.",
|
||||
help = "To enable equity data capture.",
|
||||
default = False
|
||||
)
|
||||
parser.add_argument(
|
||||
"-f", "--fo",
|
||||
dest = "fo",
|
||||
action = "store_true",
|
||||
help = "Whether, or not, you want to capture F&O (derivatives) data.",
|
||||
help = "To enable derivatives data capture.",
|
||||
default = False
|
||||
)
|
||||
args = parser.parse_args()
|
||||
|
||||
Reference in New Issue
Block a user