├── LICENSE ├── README.md ├── classes ├── __init__.py ├── account_data.py ├── gateway_interface.py ├── json_send_data.py ├── market_data.py ├── order_data.py ├── position_data.py ├── socket_client.py └── socket_commands.py ├── examples ├── __init__.py ├── send_limit_order.py ├── send_market_order.py ├── stream_account_updates.py ├── stream_market_data.py ├── stream_order_updates.py └── stream_positions.py └── screenshots ├── order_book.png └── spread_monitor.png /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/README.md -------------------------------------------------------------------------------- /classes/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'jamesma' 2 | -------------------------------------------------------------------------------- /classes/account_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/classes/account_data.py -------------------------------------------------------------------------------- /classes/gateway_interface.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/classes/gateway_interface.py -------------------------------------------------------------------------------- /classes/json_send_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/classes/json_send_data.py -------------------------------------------------------------------------------- /classes/market_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/classes/market_data.py -------------------------------------------------------------------------------- /classes/order_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/classes/order_data.py -------------------------------------------------------------------------------- /classes/position_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/classes/position_data.py -------------------------------------------------------------------------------- /classes/socket_client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/classes/socket_client.py -------------------------------------------------------------------------------- /classes/socket_commands.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/classes/socket_commands.py -------------------------------------------------------------------------------- /examples/__init__.py: -------------------------------------------------------------------------------- 1 | __author__ = 'jamesma' 2 | -------------------------------------------------------------------------------- /examples/send_limit_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/examples/send_limit_order.py -------------------------------------------------------------------------------- /examples/send_market_order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/examples/send_market_order.py -------------------------------------------------------------------------------- /examples/stream_account_updates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/examples/stream_account_updates.py -------------------------------------------------------------------------------- /examples/stream_market_data.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/examples/stream_market_data.py -------------------------------------------------------------------------------- /examples/stream_order_updates.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/examples/stream_order_updates.py -------------------------------------------------------------------------------- /examples/stream_positions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/examples/stream_positions.py -------------------------------------------------------------------------------- /screenshots/order_book.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/screenshots/order_book.png -------------------------------------------------------------------------------- /screenshots/spread_monitor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hftstrat/The-Gateway-code-samples/HEAD/screenshots/spread_monitor.png --------------------------------------------------------------------------------