日志展示优化
This commit is contained in:
@@ -25,9 +25,9 @@ class BitmartFuturesTransaction:
|
|||||||
|
|
||||||
self.page: ChromiumPage | None = None
|
self.page: ChromiumPage | None = None
|
||||||
|
|
||||||
self.api_key = "a0fb7b98464fd9bcce67e7c519d58ec10d0c38a8"
|
self.api_key = "6104088c65a68d7e53df5d9395b67d78e555293a"
|
||||||
self.secret_key = "4eaeba78e77aeaab1c2027f846a276d164f264a44c2c1bb1c5f3be50c8de1ca5"
|
self.secret_key = "a8b14312330d8e6b9b09acfd972b34e32022fdfa9f2b06f0a0a31723b873fd01"
|
||||||
self.memo = "合约交易"
|
self.memo = "me"
|
||||||
|
|
||||||
self.contract_symbol = "ETHUSDT"
|
self.contract_symbol = "ETHUSDT"
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ class BitmartFuturesTransaction:
|
|||||||
self.last_open_time = None # 上次开仓时间
|
self.last_open_time = None # 上次开仓时间
|
||||||
self.last_open_kline_id = None # 上次开仓所在 K 线 id,同一根 K 线只允许开仓一次
|
self.last_open_kline_id = None # 上次开仓所在 K 线 id,同一根 K 线只允许开仓一次
|
||||||
|
|
||||||
self.leverage = "100" # 高杠杆(全仓模式下可开更大仓位)
|
self.leverage = "40" # 高杠杆(全仓模式下可开更大仓位)
|
||||||
self.open_type = "cross" # 全仓模式
|
self.open_type = "cross" # 全仓模式
|
||||||
self.risk_percent = 0 # 未使用;若启用则可为每次开仓占可用余额的百分比
|
self.risk_percent = 0 # 未使用;若启用则可为每次开仓占可用余额的百分比
|
||||||
self.open_avg_price = None # 开仓价格
|
self.open_avg_price = None # 开仓价格
|
||||||
@@ -901,4 +901,4 @@ class BitmartFuturesTransaction:
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
BitmartFuturesTransaction(bit_id="f2320f57e24c45529a009e1541e25961").action()
|
BitmartFuturesTransaction(bit_id="62f9107d0c674925972084e282df55b3").action()
|
||||||
|
|||||||
Reference in New Issue
Block a user