ib_async:Interactive Brokers API客户端的异步实现

时间:2024-06-08 01:40:08
【文件属性】:

文件名称:ib_async:Interactive Brokers API客户端的异步实现

文件大小:62KB

文件格式:ZIP

更新时间:2024-06-08 01:40:08

python trading-api apache-license-2 interactive-brokers Python

Interactive Brokers API客户端的异步实现。 设计 该库是由于对ib_api和ibridgepy的质量感到沮丧而ibridgepy 。 这些库是官方IB C ++ / Java客户端库的直接端口,因此,在Python世界中不太适合。 相反, ib_async是从最终用户的角度设计的。 它试图易于使用和易于学习。 目前,该库尚未尝试完成功能。 相反,它尝试很好地实现常用功能。 例子 获取仪器: import ib_async client = ib_async . IBClient () client . connect ( '127.0.0.1' , 4001 , 100 ) # 100 is the client_id. instrument = client . get_instrument_by_id ( 'US0378331005' , 'ISIN' )


【文件预览】:
ib_async-master
----MANIFEST.in(17B)
----ib_async()
--------functionality()
--------bar.py(2KB)
--------tick_types.py(10KB)
--------instrument.py(14KB)
--------utils.py(1KB)
--------errors.py(5KB)
--------execution.py(2KB)
--------__init__.py(1KB)
--------event.py(4KB)
--------protocol.py(16KB)
--------order.py(18KB)
--------protocol_versions.py(1KB)
--------messages.py(6KB)
----tox.ini(1KB)
----LICENSE(10KB)
----setup.py(962B)
----README.md(3KB)
----tests()
--------test_client.py(2KB)
--------test_func_market_data.py(3KB)
--------test_func_instrument_details.py(5KB)
--------test_func_matching_symbols.py(1KB)
--------test_func_current_time.py(397B)
--------test_func_market_depth.py(2KB)
--------utils.py(6KB)
--------test_instrument.py(2KB)
--------__init__.py(0B)
--------test_func_executions.py(3KB)
--------test_func_tick_by_tick.py(3KB)
--------test_protocol.py(8KB)
--------test_func_position.py(2KB)
--------test_utils.py(1KB)
--------test_func_orders.py(7KB)
--------test_bar.py(961B)
--------test_func_realtime_bars.py(3KB)
--------test_event.py(3KB)
----.gitignore(67B)
----.coveragerc(524B)

网友评论