Re: reqPositions avgCost prices muliplier?
I did not see your post until I hit send on mine, Glenn. "Position" is a generic concept that needs to work across a wide range of different instruments and, therefore, needs to be independent of
By
J¨¹rgen Reinold
·
#48869
·
|
checking and reconnnecting python script after tws shutdown (or auto-restart)
Hi there, I am a newbie struggling with the reconnection of my python script after tws auto restarts (or manual restart for that matter). I know similar questions have been asked before and I am
By
movais996@...
·
#48868
·
|
Re: reqPositions API returns nothnig
Crow, Today, reqContractDetails() is returning no data for me at all - was working yesterday and before.? Tried all sorts of debugging to no avail - wonder if someone else is having the same issue.?
By
tjisana
·
#48867
·
|
Re: reqPositions avgCost prices muliplier?
It sounds like you equate the cost of purchasing the futures contract with the price quotation for the contract. That is where the disconnect is. So let's take the GC you mentioned in your initial
By
J¨¹rgen Reinold
·
#48866
·
|
Re: reqPositions avgCost prices muliplier?
While I understand (and agree) that "positions" are potentially the result of a series of trades, there is a discrepancy between what IB shows as price for the position and what it reports through
By
Glenn
·
#48865
·
|
Re: Fix Pegged order type?
I have seen it when I have used a Adjustable Trail Stop Order - So usually when I submit a bracket order, I adjust my stop order such that after the price moves a certain amount in my direction, I
By
rajeshh
·
#48864
·
|
Re: reqPositions avgCost prices muliplier?
The purpose of reqPositions is to give you the quantity and the average cost for each position in your account. Seemingly, it does exactly that for stocks, options, etc., but not for Futures. As you
By
Jenzi
·
#48863
·
|
reqPositions API returns nothnig
I have been using the reqPositions API for a long time, but it seems to have stopped working today. From the IB Gateway, I see this message with logging turned on: [AWT-EventQueue-0] - Positions were
By
Crow
·
#48862
·
|
Fix Pegged order type?
Does anyone know what this order type means? I haven¡¯t been able to find any info in any of IB¡¯s user guides/help docs.
By
Kcking
·
#48861
·
|
Re: Multiple Algos on Linked Accounts
Hi Glenn. Thats pretty much what I am looking for! I guess I can simply use linked accounts and trade different strategies! Thanks everyone for all your inputs!
By
nagabrahmam9@...
·
#48860
·
|
Re: reqPositions avgCost prices muliplier?
Not sure I agree. Prices are related to executions, not to positions. The current "position" is the end-point of possibly a long series of trades (buy, sell, different prices, different quantities)
By
J¨¹rgen Reinold
·
#48859
·
Edited
|
Re: reqPositions avgCost prices muliplier?
Thanks for the answer. Just tested, reqExecutions(avgPrice) and there they are transmitting the executed price. They definitely should provide the option to obtain that in reqPositions. Looks like
By
Jenzi
·
#48858
·
|
Re: Multiple Algos on Linked Accounts
I presently have 5 linked accounts at IB that share one data subscription and can be accessed by one username log-in. Positions in each account are independent, so it would be possible to hold both a
By
Glenn
·
#48857
·
|
Re: reqPositions avgCost prices muliplier?
For whatever reason, in reqPositions, IB provides the $$ value of futures contracts, not the executed price. I do the math myself after getting the value, but I'd be delighted to learn if IB provides
By
Glenn
·
#48856
·
|
Re: Multiple Algos on Linked Accounts
Yup, log-in is definitely usernames ¡ª I use a password manager so honestly didn¡¯t notice. Sorry. JG¡¯s response was definitely clear and helpful. Good luck with your trading.
By
Gilbert <gilbertjr@...>
·
#48855
·
|
Re: Multiple Algos on Linked Accounts
Hi J G, Yes, the whole conversation is all over the place. And yes, I have the same setup as you, but not sure whether its going to work or not. I guess I will just have to try it! Gilbert, you can't
By
nagabrahmam9@...
·
#48854
·
|
reqPositions avgCost prices muliplier?
Hello Everyone, i am using Python API and TWS 981.3. When i send reqPositions, i receive avgCost prices with a multiplier. Print Statement: API Log: 19:53:48:206 ->
By
Jenzi
·
#48853
·
|
Re: Multiple Algos on Linked Accounts
It appears to me that this entire conversation is hampered by different interpretations of the words "linked accounts". I see some replies implying that it means that you have two usernames, each with
By
J G
·
#48852
·
|
Re: Multiple order price condition
Thanks ds-avatar, this is very helpful, I see what I was doing not right.
By
Ketan
·
#48851
·
|
Re: Multiple order price condition
You need to create and attach separate condition objects for each, well, condition, of which there would be two in your study, with their own Price's, IsMore's and whatnot. They way you programmed it
By
ds-avatar
·
#48850
·
|