9574623388dfba805c2b34f6b234d94a2b7666ba,QUANTAXIS/QAMarket/tdxRealBroker.py,,,#,198
Before Change
if __name__ == "__main__":
import os
api = TDXBroker(endpoint="http://10.11.5.175:10092/api",
enc_key=b"4f1cf3fec4c84c84", enc_iv=b"0c78abc083b011e7")
//api = TdxTradeApi(endpoint="http://10.11.5.175:10092/api")
print("---Ping---")
result = api.ping()
print(result)
After Change
import os
print("这是测试代码, 下面需要输入的 key/iv在ini中自己查找, account 和password是自己的账户密码 ")
api = TDXBroker(endpoint="http://10.11.5.175:10092/api",
enc_key=bytes(input("enc_key"),encoding="utf-8"), enc_iv=bytes(input("enc_iv"),encoding="utf-8"))
print("---Ping---")
result = api.ping()
print(result)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 9574623388dfba805c2b34f6b234d94a2b7666ba
Time: 2019-01-21
Author: yutiansut@qq.com
File Name: QUANTAXIS/QAMarket/tdxRealBroker.py
Class Name:
Method Name:
Project Name: OpenMined/PySyft
Commit Name: 01a8518cc2e2f58f88612efad844b6085c149d51
Time: 2020-08-19
Author: me@madhavajay.com
File Name: tests/syft/core/io/location/specific_test.py
Class Name:
Method Name: test_binary_deserialization
Project Name: OpenMined/PySyft
Commit Name: 01a8518cc2e2f58f88612efad844b6085c149d51
Time: 2020-08-19
Author: me@madhavajay.com
File Name: tests/syft/core/io/location/specific_test.py
Class Name:
Method Name: test_binary_serialization