[Add] general request header for BybitGateway
This commit is contained in:
parent
a56c37b3af
commit
5753b87c31
@ -187,6 +187,8 @@ class BybitRestApi(RestClient):
|
||||
"""
|
||||
Generate ByBit signature.
|
||||
"""
|
||||
request.headers = {"Referer": "vn.py"}
|
||||
|
||||
if request.method == "GET":
|
||||
api_params = request.params
|
||||
if api_params is None:
|
||||
|
Loading…
Reference in New Issue
Block a user