PureBytes Links
Trading Reference Links
|
Hello
entered all currencies in "Preferences->Currencies" (using dynamic)
entered all base currencies in "Symbol->Information->Currency(field)"
for all symbols
using the following values:
RoundLotSize = 1
MarginDeposit = -2; //due to IB margin requirement of 2%
TickSize = 0.0001; // 0.01 for JPY based pairs
PointValue = 1;
basecurrency is USD, and "Futures mode" is applied.
Everything goes fine for straight USD crosses. However, when using
other crosses, it seems the entryFxRate/exitFxRate adjustment is
applied only to the profit (in base currency) of the trade.
However, as I understand entering a non USD cross in
InteractiveBroker - say Buy 100K of EURCHF, what you are really doing
is entering a long of 100K in EUR - and a short of whatever 100K EUR
amounts to in CHF. (this seem verified in the "non base currency
values" on the IB account overview). So when exiting a EURCHF trade,
it would seem the profit should be adjusted by the ratio of
entryFxRate/exitFxRate applied to the CHF portion of the trade.
Of cause, my setup can be wrong, so that it just appears that the
enry/exitFxRate's are applied to the EURCHF profit in the trade. Or
I've misunderstood how the profit from nonbase currency pairs is
calculated in IB, so the fxRate adjustment really should only be
applied to the profit.
Anybody who can help by verifying the above assumption - and who can
tell what the correct setup for AB, IB and eSignal is to make it work?
Regards
Jens Tiedemann
------------------------------------
Please note that this group is for discussion between users only.
To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com
For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:amibroker-digest@xxxxxxxxxxxxxxx
mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|