From 4127f1cc5dca65172181af551ca12234500d3594 Mon Sep 17 00:00:00 2001 From: "vn.py" Date: Tue, 2 Jul 2019 14:07:38 +0800 Subject: [PATCH] [Del] remove unecessary encoding comment --- vnpy/api/rest/rest_client.py | 2 -- vnpy/api/websocket/websocket_client.py | 2 -- vnpy/gateway/alpaca/alpaca_gateway.py | 1 - vnpy/gateway/bitfinex/bitfinex_gateway.py | 1 - vnpy/gateway/bitmex/bitmex_gateway.py | 4 +--- vnpy/gateway/femas/femas_gateway.py | 4 +--- vnpy/gateway/futu/futu_gateway.py | 1 - vnpy/gateway/oes/oes_gateway.py | 1 - vnpy/gateway/okex/okex_gateway.py | 1 - vnpy/gateway/okexf/okexf_gateway.py | 1 - vnpy/gateway/onetoken/onetoken_gateway.py | 1 - vnpy/gateway/tiger/tiger_gateway.py | 1 - 12 files changed, 2 insertions(+), 18 deletions(-) diff --git a/vnpy/api/rest/rest_client.py b/vnpy/api/rest/rest_client.py index c2083688..dd36a503 100644 --- a/vnpy/api/rest/rest_client.py +++ b/vnpy/api/rest/rest_client.py @@ -1,5 +1,3 @@ -# encoding: UTF-8 - import sys import traceback from datetime import datetime diff --git a/vnpy/api/websocket/websocket_client.py b/vnpy/api/websocket/websocket_client.py index 84596a34..870d87a4 100644 --- a/vnpy/api/websocket/websocket_client.py +++ b/vnpy/api/websocket/websocket_client.py @@ -1,5 +1,3 @@ -# encoding: UTF-8 - import json import ssl import sys diff --git a/vnpy/gateway/alpaca/alpaca_gateway.py b/vnpy/gateway/alpaca/alpaca_gateway.py index 036708c3..b9df4b32 100644 --- a/vnpy/gateway/alpaca/alpaca_gateway.py +++ b/vnpy/gateway/alpaca/alpaca_gateway.py @@ -1,4 +1,3 @@ -# encoding: UTF-8 """ Author: vigarbuaa """ diff --git a/vnpy/gateway/bitfinex/bitfinex_gateway.py b/vnpy/gateway/bitfinex/bitfinex_gateway.py index 832c2969..ecec31d3 100644 --- a/vnpy/gateway/bitfinex/bitfinex_gateway.py +++ b/vnpy/gateway/bitfinex/bitfinex_gateway.py @@ -1,4 +1,3 @@ -# encoding: UTF-8 """ Author: vigarbuaa """ diff --git a/vnpy/gateway/bitmex/bitmex_gateway.py b/vnpy/gateway/bitmex/bitmex_gateway.py index 444f85b2..e5af3082 100644 --- a/vnpy/gateway/bitmex/bitmex_gateway.py +++ b/vnpy/gateway/bitmex/bitmex_gateway.py @@ -1,6 +1,4 @@ -# encoding: UTF-8 -""" -""" +"""""" import hashlib import hmac diff --git a/vnpy/gateway/femas/femas_gateway.py b/vnpy/gateway/femas/femas_gateway.py index 47f80fbb..2fd6a4e8 100644 --- a/vnpy/gateway/femas/femas_gateway.py +++ b/vnpy/gateway/femas/femas_gateway.py @@ -1,6 +1,4 @@ -# encoding: UTF-8 -""" -""" +"""""" from datetime import datetime diff --git a/vnpy/gateway/futu/futu_gateway.py b/vnpy/gateway/futu/futu_gateway.py index 2f45adbe..895be70a 100644 --- a/vnpy/gateway/futu/futu_gateway.py +++ b/vnpy/gateway/futu/futu_gateway.py @@ -1,4 +1,3 @@ -# encoding: UTF-8 """ Please install futu-api before use. """ diff --git a/vnpy/gateway/oes/oes_gateway.py b/vnpy/gateway/oes/oes_gateway.py index fd763782..9ed76ddf 100644 --- a/vnpy/gateway/oes/oes_gateway.py +++ b/vnpy/gateway/oes/oes_gateway.py @@ -1,4 +1,3 @@ -# encoding: UTF-8 """ Author: nanoric """ diff --git a/vnpy/gateway/okex/okex_gateway.py b/vnpy/gateway/okex/okex_gateway.py index ba7a2f80..5ea47268 100644 --- a/vnpy/gateway/okex/okex_gateway.py +++ b/vnpy/gateway/okex/okex_gateway.py @@ -1,4 +1,3 @@ -# encoding: UTF-8 """ """ diff --git a/vnpy/gateway/okexf/okexf_gateway.py b/vnpy/gateway/okexf/okexf_gateway.py index 26c1c87a..b1212682 100644 --- a/vnpy/gateway/okexf/okexf_gateway.py +++ b/vnpy/gateway/okexf/okexf_gateway.py @@ -1,4 +1,3 @@ -# encoding: UTF-8 """ Author: qqqlyx """ diff --git a/vnpy/gateway/onetoken/onetoken_gateway.py b/vnpy/gateway/onetoken/onetoken_gateway.py index e6af5faa..bd586eb3 100644 --- a/vnpy/gateway/onetoken/onetoken_gateway.py +++ b/vnpy/gateway/onetoken/onetoken_gateway.py @@ -1,4 +1,3 @@ -# encoding: UTF-8 """ """ diff --git a/vnpy/gateway/tiger/tiger_gateway.py b/vnpy/gateway/tiger/tiger_gateway.py index c7796782..cfbead5e 100644 --- a/vnpy/gateway/tiger/tiger_gateway.py +++ b/vnpy/gateway/tiger/tiger_gateway.py @@ -1,4 +1,3 @@ -# encoding: UTF-8 """ Author: KeKe Please install tiger-api before use.