I stop ibg overnight to prevent issues. I restarted it today, logged in when prompted using the IB app. I ran some code that uses the positions HTTP endpoint and was surprised to see only a list of positions that correspond to trades I did yesterday and which were closed out at the end of the session. Additionally a couple of positions that are in that IB account long-term do not show up in the list of positions. So is blotter only concerned with positions that originated from QR? And why is it remembering these old positions?
Here is the output when I run blotter from the cli:
jupyter:/codeload $ quantrocket blotter positions
Account,OrderRef,Sid,Quantity
U4296736,FIBBG0024QY1Y6opening,FIBBG0024QY1Y6,2612
U4296736,FIBBG0024TG624opening,FIBBG0024TG624,4746
U4296736,FIBBG014HVF3N5opening,FIBBG014HVF3N5,5182
U4296736,FIBBG014HVGDK5opening,FIBBG014HVGDK5,13333
jupyter:/codeload $ quantrocket ibg status
ibg1:
status: running
thanks
George Coles