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()

After Change


if __name__ == "__main__":
    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---")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

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: tensorlayer/tensorlayer
Commit Name: bf78b94b2907fbcd5740e35a7b21ea2c434e380d
Time: 2019-02-27
Author: jingqing.zhang15@imperial.ac.uk
File Name: examples/text_generation/tutorial_generate_text.py
Class Name:
Method Name: main_restore_embedding_layer


Project Name: inspirehep/magpie
Commit Name: e4488b9b68416439a226b48b74c22ae84c129db1
Time: 2016-02-10
Author: jan.stypka@cern.ch
File Name: magpie/api.py
Class Name:
Method Name: batch_train