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 charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    61 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    148 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    162 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    98 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    286 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X