Keyboard Shortcuts
Likes
- Twsapi
- Messages
Search
Re: Wrong requested positions
¿ªÔÆÌåÓýThis group is targeted at the TWSAPI implementations provided by IBKR, so your question is really out of scope and you're quite likely not to get any other replies, but you never know ¨C there may be another IB4m user who can help. ? It might be helpful if you explain what is wrong with the contents of the M_position matrix. ? I suggest you also follow the 'Getting More Help' link on the IB4m GitHub repository, if you haven't already done so: that's likely to be a more targeted audience. ? Richard King TWSAPI Group Owner and Moderator ? ? From: [email protected] <[email protected]> On Behalf Of domme83@...
Sent: 13 August 2021 10:01 To: [email protected] Subject: [TWS API] Wrong requested positions ? Hi,
Why does this happen? Best Regards. |
Wrong requested positions
Hi,
I use MatLab with IB4m to get IB messages via API. I have a problem when I request my positions via API using the following code:
Sometimes the M_position matrix is ??wrong even if I wait a few minutes after the execution of all the orders.Why does this happen? Best Regards. |
Re: TickByTick data outage during the night?
Nick
I just checked and on the ES I am seeing empty (15min) bars from 4:40 to 7:00 Eastern Time inclusive.
toggle quoted message
Show quoted text
On 8/12/2021 4:31 PM, ´³¨¹°ù²µ±ð²Ô Reinold via groups.io wrote:
So here is a new one for me. Did anyone else experience TickByTick data outage during the night? |
Re: TickByTick data outage during the night?
Now that is interesting, Kevin. Thank you for sharing.
toggle quoted message
Show quoted text
My TWS 981.2w just had the daily restart(we do that at 16:45 Chicago Time) and
´³¨¹°ù²µ±ð²Ô On Thu, Aug 12, 2021 at 05:06 PM, Kevin wrote:
Hello |
TickByTick data outage during the night?
So here is a new one for me. Did anyone else experience TickByTick data outage during the night?
All evidence indicates that trading took place normally and, for example, "Volume" and "RtTradeVolume" market data ticks agree that just over 24,000 ESU1 contracts traded during that time frame. I cannot find any error messages or warnings, no TWS disconnects, no Market Data Farm warnings, ... The exact time frame was [1628756782601, 1628767570816] just shy of exactly 3hrs
|
Re: Forex vs stocks
Rob, wouldn't micro futures increase the cost of transactions by a
toggle quoted message
Show quoted text
significant amount over trader equivalent amount of e-minis? On Wed, Aug 11, 2021 at 10:22 PM RobDawg35 <rob.sandberg26@...> wrote:
|
Re: Forex vs stocks
Nick
It's worth differentiating between the cash market (what is usually called forex) and currency futures.
toggle quoted message
Show quoted text
With the cash market each broker makes their own market so each broker is a separate market. Currency futures trade at an exchange like stocks so everyone sees the same prices. On 8/11/2021 6:59 PM, corneliu maftuleac wrote:
Forex market is decentralized, way more complex, sometimes random and there are a lot of brokers that literally rip users off. |
Re: Forex vs stocks
Except cases when you exchange one currency on another,
forex trading usually have higher costs for client and more interesting to broker (than clients trading futures or buying and holding stocks). So brokers more interested to advertise and promote forex (and doing it in countries with loose regulation) But broker statistics tell that 70-90% of investors loose money on Forex, so your chances here are much lower than on stock market, probably. |
Re: Forex vs stocks
Do micro futures, it's more fun. Although, meeting somebody at a bar and telling them you're a "forex trader" does have a nice ring to it... On Wed, Aug 11, 2021 at 10:02 PM mark M <write2mark1@...> wrote:
|
Re: Forex vs stocks
I should second Corneliu and add that stocks and futures are much safer to algo trade than forex? I have no experience with forex On Wed, Aug 11, 2021, 3:59 PM corneliu maftuleac <corneliu.maftuleac@...> wrote: Forex market is decentralized, way more complex, sometimes random and there are a lot of brokers that literally rip users off. |
Re: Excel
Yes. I have used Excel to develop VBA based (ActiveX API) trading system which takes data, analyses and sends orders to TWS.?
The main issues you can expect are 1. Excel will go into unresponsive state when any script is running.? 2. Parallel processing is not achievable easily I have a system in place which trades twice in a day.? Thanks Pratik |
Re: Forex vs stocks
aussie_dan
I'm a relative noob when it comes to algo trading, but I've been working on a US small caps stock algo for about 8 months now.
it's not a pure algo - I need to manually select the stocks I want the algo to trade each day - but trading decisions and risk management are all automated so far I've been able to make it very profitable in backtesting, on over 12 months worth of data, but still working on profitability IRL? I provide this background to respond to your questions: first of all, forex provides a focused set of pairs (instruments) to backtest an algo on, and forex is widely considered the "fairest" market and therefore ripe for technical analysis to actually work on a consistent basis. just a couple reasons why I think most algo traders focus on fx? but to answer your second question, I do truly believe similar benefits can be obtained by an algo trading stocks. in my short time focusing on US small caps, I've identified very common patterns that occur on a regular basis that have informed my various strategies. the problem I have is addressing what I call the "edge cases", i.e. the uncommon, but still repeated patterns that occur.? now having said all of that, I've just now turned (half) my attention to forex to try to start discovering and implementing strategies in an algo. but I know I have a long road ahead of me. |
Re: Excel
Paul Kranz
Does anyone use Excel to trade with TWS API? Paul sends... On Wed, Aug 11, 2021, 2:07 AM Mikhail Ershov <misha-ershov@...> wrote: It's different technologies of exchanging data with Excel. |
Re: 700% financing charges on a self funding portfolio
Yes, way off topic! :-D Curious to see how the aforementioned conflict is resolved...? Thanks Am Di., 10. Aug. 2021 um 22:42?Uhr schrieb JR via <TwsApiOnGroupsIo=[email protected]>: Fascinating but probably way off topic for our TWS API group. |