Re: About commissionReport.realizedPNL
Hi,Bart,
Thanks for your help.
It's a way to calculate realized PnL by adding dailyPnL.
Do you use this method by calculating yourself?
--
------
Forex trader
David Liao
By
david03kimo@...
·
#49752
·
|
Re: How to automatically accept (or disable) the paper trading notification?
I don't know enough about dockers, so I'll try Despair's suggestion for now. Thanks for your help anyway!
By
Bryce Turner
·
#49751
·
|
Re: How to automatically accept (or disable) the paper trading notification?
Great, thank you very much for your help, Despair!
By
Bryce Turner
·
#49750
·
|
Re: Best method for getting level 2 market depth snapshots on a large number of equities
Thanks for the response Jurgen, really appreciate it. Everything you said
about the cancellation requests makes sense to me.
How long does it take to grab a snapshot for 30 instruments?
>
On
By
Colin Bowers
·
#49749
·
|
Re: About commissionReport.realizedPNL
The various options for PNL feeds are described in Profit And Loss (P&L) ( https://interactivebrokers.github.io/tws-api/pnl.html )
Jürgen
By
Jürgen Reinold
·
#49748
·
|
Re: Best method for getting level 2 market depth snapshots on a large number of equities
I would have used the same approach and cannot see a way to do it differently. How long does it take to grab a snapshot for 30 instruments?
When you are done with a snapshot it will take a while for
By
Jürgen Reinold
·
#49747
·
|
Re: About commissionReport.realizedPNL
Thanks,I think your quick example is exact what I want.
I'd like to know what callback function do you use to get realizedPNL without?commission reports?
--
------
Forex trader
David Liao
By
david03kimo@...
·
#49746
·
|
Re: No historical market data for AAL/STK@VALUE Last 1d
When you say "I'm retrieving the contract object fresh" are you talking about reqContractDetails? If so, how many contracts does the request return?
When I ask for AAL:STOCK (no other fields
By
Jürgen Reinold
·
#49745
·
|
Best method for getting level 2 market depth snapshots on a large number of equities
Hi all.
As most probably know, even if paying for extra streams, there is a hard limit of around 10 market depth streams that can be open at any one time. If I wanted to see a snapshot of level 2
By
Colin Bowers
·
#49744
·
|
No historical market data for AAL/STK@VALUE Last 1d
Hi Everyone,
I'm receiving this error callback when making an historical data request for AAL:
"No historical market data for AAL/STK@VALUE Last 1d"? (error code 162)
I can't work out what's going
By
David Walker
·
#49743
·
|
Re: reqPositionsMulti does not work as intended
To add, my goal is to tag orders with different modelCodes in order to keep positions apart. For example. If I buy 100 shares of Apple with modelCode "Strategy1" and short 100 shares of Apple with
By
Dojo321
·
#49742
·
|
reqPositionsMulti does not work as intended
I am having trouble with the C# API requesting positions via reqPositionsMulti with a modelCode. When I query with an empty string I get all open positions, however, when I populate modelCode with a
By
Dojo321
·
#49741
·
|
Re: opt out from: Secure Login required for trading
Thanks. Sounds like IB is moving towards 2fa. Guess it is time to bite the bullet. I was just I was hoping IB would do something more algo trading friendly, but of course any solution has
By
ajn
·
#49740
·
|
Re: Duplicate Order ID
Hello Folks,
thanks a lot for your help again. I don't want to use more of your time. I have a workaround that works for me with creating a contract object. Its time for me now to figure out how i
By
Metrodus79
·
#49739
·
|
Re: Duplicate Order ID
You should not have to create all that code in order to use a contract object you received from reqContractDetails. And you should be able to use the entire object without having to copy individual
By
Jürgen Reinold
·
#49738
·
|
Re: Duplicate Order ID
I think the best for you is to get the excel file which comes with the IB
API and do some tests in their code.
What you have now developed I can not check if it is valid or it will work.
I started
By
joanmarcel119
·
#49737
·
|
Suggestions on how to deal with blocking pop up from TWS (like last week)
Hi all,
Last week, I suddenly had this blocking pop-up from TWS asking me to read a document and confirm it. The message was about some rewritten parts in a particular agreement. The problem is, that
By
Raoul Suurmeijer
·
#49736
·
|
Re: Duplicate Order ID
Hello joanmarcel119, hello Jürgen
I'm not anymore sure if the the request for the IBApi.EClient.reqContractDetails (
By
Metrodus79
·
#49735
·
|
Re: Duplicate Order ID
There is no point in deleting it – it has already been sent out to all the members (the vast majority) who receive posts via email.
Just post again with the complete message, and you can add a
By
Richard L King
·
#49734
·
|
Re: Duplicate Order ID
As you mentioned: " *I think the object "contract" out of
the
By
joanmarcel119
·
#49731
·
|