网上很多, 首先写一个test.c的源码 int add(int a, int b) { return a + b; } import ctypes as c libc = c.cdll.LoadLibrary('/home/zhaodao/ffb_workspace/ctypes学习/test.so')...
自己写的C函数?那就相当于python调用C/C++,python是粘合剂语言,肯定可以的,tqsdk是开源的
{'order_id': 'ff7e8beda8e2b41c4355afe00aab6106', 'exchange_order_id': '', 'exchange_id': 'SHFE', 'instrument_id': 'rb2001', 'direction': 'BUY', 'offset': 'OPEN', 'volume_orign': 1, 'volume_left': 1, 'limit_price':...