![]() For other Debian-based distributions, try using the one for Debian Jessie. Aug jhilik While the inborn nature of taking care of family, friends and work keeps them busy, most women forget to take care of their own health or are too ignorant to bother. The APT repository officially supports Debian, Mint, and Ubuntu only. Cancer Awareness Program An Initiative by InSync within Office Premises. Source packages are not available, only binaries.įile manager integration will be added when Insync is run. Here is a list of codenames for ubuntu, debian, and mint For example Ubuntu 12.04 is precise Replace with your Linux distro: ubuntu, debian, mint Replace with your Linux distro codename. STEP 2: Create a file /etc/apt//insync.list with the following contentĭeb non-free contrib $ sudo apt-key adv -keyserver hkp://:80 -recv-keys ACCAF35C If the previous command did not work, use this instead: $ sudo apt-key adv -keyserver -recv-keys ACCAF35C STEP 1: Add our public GPG key to allow apt to authenticate the Insync repository These steps are kept for reference in case of issues. i guess the downfall of using ib.trades is that if the session restarts that any order filled during the downtime won't be available? Is there a better or easier way then the sample code below.Installing the insync package will add the repository entry automatically. So any order placed within the beginning of the interval are either filled (partially or full) or canceled by either the end of the current interval or beginning of next interval (probably easier). I want to capture the fills after the first X mins after the order placed and then adjust any orders that are unfilled or partially filled but all within the interval (30 mins). ![]() I guess I can store the order_ids of the orders placed for the interval and iterate over ib.trades using that list of order_ids? I wanted he execution details to update an external file/database. Using ib.trades will give me all the trades for the session? I can't use openTrades because i'm assuming that will only show trades that haven't been filled. Thanks Ewald i guess for loop through ib.openOrders and cancelOrder(o) would do the trick to close anything still opened.but i realized i forgot to mention I want to capture the fill details of the orders submitted for the specific interval and cancel the rest after the interval is over. Is this correct? Any thoughts on how to do this in a more elegant way? However, from looking at the code it seems these would get called on a different thread than my main event loop, and I would have to marshal them to my main loop using something like python's synchronized queue. The mentor assists the mentee in settling down within the organization by. It is a vital program which enlightens the mentee with the approach of the professional or rather the departmental procedure they are required to follow in the company. For both of these, it looks like I can use the setCallback function for the "orderStatus" and "execDetails" events. InSync involves in Mentor Programs which help towards the knowledge-building aspects of the workforce. The reason is that as soon as I get a fill, my strategy places a new order at a different price. In-Synch Systems exists to deliver data-driven records management solutions and support services that enable law enforcement agencies to easily solve crimes. I'd like to get a notification when there is a fill instead of polling the Trade object for fills. So I'd like to call placeOrder and have the return value be either that the order was submitted or it was cancelled (because of insufficient margin, etc.) 2. When placing an order I'd like the placeOrder function to wait until it gets an acknowledgement back from IB that the order has been accepted or rejected. There are two things I'm trying to figure out how to do: 1. On Sat, at 2:24 AM, wrote: Hi, I've been using the library and it works great, it has simplified my code significantly. ![]() For both of these, it looks like I can use the setCallback function for the "orderStatus" and "execDetails" events. ![]() The reason is that as soon as I get a fill, my strategy places a new order at a different price. ![]() Hi, I've been using the library and it works great, it has simplified my code significantly. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |