Re: Entry that triggers OCO with TP and SL
Here's one of mine. Can't figure out how to fix the indents though.
def place_trailing_oca_bracket_order ( self , order_details ):
"""
Place a bracket-type OCA order with a trailing stop loss and an
By
wordd
·
#53652
·
|
Re: reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
This is a pretty tall ask, ajn. You send 2,000++ lines of source code that you ask us to run. That will generally require us to read and understand the code before we can even consider running against
By
Jürgen Reinold
·
#53651
·
|
reqMktData callbacks are missing data with gateway 10.30 and 10.31 sporadically, works fine with 10.19 and older gateways/TWS
Dear Twsapi experts,
Since 10.30 gateway/tws looks like reqMktData cannot be relied upon and I am often not getting the data I am asking for. And I am talking about basic bid/ask/last etc data for
By
ajn
·
#53650
·
|
Entry that triggers OCO with TP and SL
Would anyone have a template for the following order:
Entry that triggers OCO for Take Profit and Stop Loss?
Regards,
Javed
By
ebtrader
·
#53649
·
|
Re: Best Practices for Pulling Stock Data Efficiently with APIs
There is currently no subscription option that I am aware of that permits more than 50 API *requests* per second (cumulative for all clients that are connected to the same IBGW/TWS). There is no limit
By
Jürgen Reinold
·
#53648
·
|
Re: Best Practices for Pulling Stock Data Efficiently with APIs
/g/twsapi/message/49248
"I submit 50 every 1015ms. ?A list of messages is managed by a thread that also maintains a list of timestamps for the last 50 submitted. ?I haven't had a
By
jy.yngbld@...
·
#53647
·
|
Re: IB Gateway freezes sometimes.
Besides contacting IBKR support, I would also say to run a memtest86+ and rule out bad RAM memory sticks.
By
mov_ebpesp
·
#53646
·
|
Generic ticks
Hi, there are several Market Data column types available in TWS for which I don't see corresponding generic tick types. Are the tick types supported by the API only a subset of the TWS types?
The
By
peteraspiro@...
·
#53645
·
|
Re: IB Gateway freezes sometimes.
Ok, I'll contact the IBKR support team and see what they can do.? Thanks for the help.
By
Axelord
·
#53644
·
|
Re: IB Gateway freezes sometimes.
We are meandering out of scope for our group here (TWS API and the client side) and you need to take this up with IBKR support. Your problem needs to be investigated by someone with detailed knowledge
By
Jürgen Reinold
·
#53643
·
|
Re: IB Gateway freezes sometimes.
Above is the strace log for the ibgateway when it shuts down.
By
Axelord
·
#53642
·
|
Re: IB Gateway freezes sometimes.
[pid 22669] 23:45:32.685913 futex(0x7fea0405a328, FUTEX_WAKE_PRIVATE, 1 <unfinished ...>
[pid ?8211] 23:45:32.685988 futex(0x7fe87c4e3254, FUTEX_WAIT_PRIVATE, 37, NULL <unfinished ...>
[pid 22670]
By
Axelord
·
#53641
·
|
Re: IB Gateway freezes sometimes.
Sometimes it freezes and sometimes it just shut down and didn't restart.
By
Axelord
·
#53640
·
|
Re: IB Gateway freezes sometimes.
What Gateway does during this daily activity is to close itself down, and then restart itself. Was Gateway able to close down? Or did it freeze during this step?
By
J G
·
#53639
·
|
Re: IB Gateway freezes sometimes.
How much RAM on the VM. Check if you’re using the swap.
By
tbrown122387@...
·
#53638
·
|
Retrieving last trade quotation side from api
I am trying to subscribe to the following last trade information from the API.
- last price
- last size
- last timestamp
- last quotation side
I have only managed to receive the first 3 information
By
hitchens23 <zhuangan91@...>
·
#53637
·
|
Re: IB Gateway freezes sometimes.
yes, I did set the auto daily restart to this time, but looks it didn't restart for some reason?
By
Axelord
·
#53636
·
|
Re: IB Gateway freezes sometimes.
The log file shows: at 23:42:10 is it detected that there is no ping response to the ushmds server. A lot of messages result from this loss to the data server.
Then the log file shows at 23:45:00 that
By
J G
·
#53635
·
|
Re: IB Gateway freezes sometimes.
Have you [poked around](https://www.google.com/search?q=strace+hung+process) w/ [strace](https://www.man7.org/linux/man-pages/man1/strace.1.html)?
By
buddy
·
#53634
·
|
Re: IB Gateway freezes sometimes.
Attached is the tail of the gateway log from one day the application freezes, can you tell anything wrong?
By
Axelord
·
#53633
·
|