Re: [racket-users] Advice for porting Interactive Brokers API to Racket

2019-07-14 Thread evdubs
Thanks for the feedback. I will check to see if there's some way to query for capabilities, but I doubt it, given the client code. The client code does most of this version checking in one class, so that seems localized enough and I think it will be straight forward. Maybe if I stumble on a

Re: [racket-users] Advice for porting Interactive Brokers API to Racket

2019-07-11 Thread Greg Hendershott
Some systems provide a way to query for a capability: COM has QueryInterface, Racket dynamic-require, Emacs fboundp, and so on. When such a query method is available, you can simply ask for the thing you need or prefer. If it's available, great. If not, act appropriately: Fail, or use your own

[racket-users] Advice for porting Interactive Brokers API to Racket

2019-07-10 Thread evdubs
Hi, I am currently investigating the effort required to port the Interactive Brokers Client API to Racket. In general, there is not much complexity in the client; it establishes an open socket, builds byte buffers to send to the server,