Replies: 3 comments 4 replies
-
I have some ETFs in the same account I use for futures trading.
Why do you ask?
…On Sun, Jul 17, 2022, 6:08 AM emretezel ***@***.***> wrote:
Hi Rob, everyone,
For those who run pysystemtrade fully automated in production using IB,
and if you also happen to have ETF positions away from the futures system,
do you have two accounts - one for pysystemtrade futures and one for
everything else? Are such accounts totally separate or are they linked,
such as one of them being master account?
Best,
Emre
—
Reply to this email directly, view it on GitHub
<#700>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3JWKQ6P4DXVQHZTX4NR6TVUQAWTANCNFSM53ZXNPAQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I think I read your question to quickly when I posted my first answer. I will add to my answer that it is based on interpreting your question as asking - has anyone gotten a second account to do discrete trading. Here is a modified answer, clarifying the residual P&L part; ETF's are a separate asset class, and so pysystemtrade does not get confused about positions not registered in the db. Only impact I can think of for the pysystemtrade system is; the residual in calculation in the P&L report. My understanding is that profit is calculated using position and price data from pysystemtrade db. At the same time a control calculation is done where the system basically checks what IBKR's profit calculation is. The difference between the two is the residual mentioned in the report. I actually have thought about doing a separate IBKR account in case I wanted to do discretionary trading in futures. That would impact the above mentioned. Of course I assume that you could setup a strategy in pysystemtrade that is basically a placeholder for discretionary trades - so each time you do one, you would enter the trade under this strategy. |
Beta Was this translation helpful? Give feedback.
-
Yes. Not just in the case of dividends, but the current market value of
the ETF will be included in the trading capital.
In my case, that is what I want.
Pysystemtrade does have a configuration for production_capital_method.
Full is the default, but there is also half and fixed. See
https://github.com/robcarver17/pysystemtrade/blob/master/docs/production.md#capital
.
You could probably write a custom method that would exclude the market
value of your ETFs.
…On Sun, Jul 17, 2022 at 2:32 PM emretezel ***@***.***> wrote:
If the ETFs pay a cash dividend on a day, wouldn't the futures system
think the capital is now higher, given there is more cash in the account?
—
Reply to this email directly, view it on GitHub
<#700 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AA3JWKRRRJ44YQB3FFN5LM3VUR3YBANCNFSM53ZXNPAQ>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
Hi Rob, everyone,
For those who run pysystemtrade fully automated in production using IB, and if you also happen to have ETF positions away from the futures system, do you have two accounts - one for pysystemtrade futures and one for everything else? Are such accounts totally separate or are they linked, such as one of them being master account?
Best,
Emre
Beta Was this translation helpful? Give feedback.
All reactions