diff --git a/vnpy/gateway/bybit/bybit_gateway.py b/vnpy/gateway/bybit/bybit_gateway.py index 78461aee..5ffae272 100644 --- a/vnpy/gateway/bybit/bybit_gateway.py +++ b/vnpy/gateway/bybit/bybit_gateway.py @@ -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: