|
Q26 ALPHA-TRADING SYSTEM
|
Functions | |
| bytes | make_msg (text) |
| str | make_field (val) |
| str | make_field_handle_empty (val) |
| tuple | read_msg (bytes buf) |
| tuple | read_fields (bytes buf) |
Variables | |
| logger = logging.getLogger(__name__) | |
Copyright (C) 2019 Interactive Brokers LLC. All rights reserved. This code is subject to the terms and conditions of the IB API Non-Commercial License or the IB API Commercial License, as applicable.
| str alphatrading.trading.trader.ibapi.comm.make_field | ( | val | ) |
adds the NULL string terminator
| bytes alphatrading.trading.trader.ibapi.comm.make_msg | ( | text | ) |
adds the length prefix
| tuple alphatrading.trading.trader.ibapi.comm.read_msg | ( | bytes | buf | ) |
first the size prefix and then the corresponding msg payload