I've seen this question posted several times in the interal development forums and thus wanted to provide a quick example of how this can be achieved in python in no time.
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
First, note that all we're doing is connecting to the relevant X_TRADER com object, so all of the below still applies:
https://www.tradingtechnologies.com/documents/user%20documents/xtapi_classreference_v7.7.8_dg.pdf
Here is the full python code that would result in a subscription to a crude oil March13 future:
If you have X_TRADER Pro up and running this will yield something like: