Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

currency conversion

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    currency conversion

    Hi,

    Is there a way to get the current Ask/Bid/Close[0] of a difference currency other than the one that the strategy is currently operating on, WITHOUT having to add a new data series.

    eg. a strategy is currently running on EUR/CHF. The code needs to be able to know the current value of USDCHF (without adding a new data period multicurrency/multitimeframe, as I only need to check this value once per day... assuming that the markets are not going to be trading +/- 5% per day in the near future!)

    I'm sure that I could probably do a web request to yahoo, but it seems to be a bit of a waste of time considering I would actually be connected to a realtime currency broker...

    cheers,
    sysimp

    #2
    Hello,

    This is not supported.

    The only way to do this is by adding the instrument by following these multi-instrument instructions:
    DenNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 03-31-2026, 09:41 PM
    1 response
    81 views
    1 like
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    42 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    64 views
    2 likes
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    68 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    55 views
    0 likes
    Last Post CarlTrading  
    Working...
    X