[Add] general request header for BybitGateway

This commit is contained in:
vn.py 2019-11-11 13:58:31 +08:00
parent a56c37b3af
commit 5753b87c31

View File

@ -187,6 +187,8 @@ class BybitRestApi(RestClient):
""" """
Generate ByBit signature. Generate ByBit signature.
""" """
request.headers = {"Referer": "vn.py"}
if request.method == "GET": if request.method == "GET":
api_params = request.params api_params = request.params
if api_params is None: if api_params is None: