gofinance / ib

Pure Go interface to Interactive Brokers IB API
386 stars 120 forks source link

dockerize #4

Closed creack closed 9 years ago

creack commented 9 years ago

Dockerize the tests. Depends on Docker.

Allow for make test to automatically starts everything and run self contained tests. Also includes small changes to allow to specify the test server IP.

creack commented 9 years ago

@benalexau any idea how to avoid the socat hack? Default value for listen is supposed to be listen from everywhere, also tried with 0.0.0.0, but with no luck.

dsouzae commented 9 years ago

Not sure how to change the defaults, probably need to experiment. You can manually add IP through the menus.
Configure is save to an xml file in ~/Jts//ibg.xml (file is updated when IBG exits).

Here is an example where it adds it in to the xml file.

        <ApiSettings ...>
                <ListOfStrings varName="trustedIPAddresses">
                        <String>127.0.0.1</String>
                        <String>10.0.0.5</String>
                </ListOfStrings>
       ...