Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Detecting API vs Client at runtime environment
 Post subject: Detecting API vs Client at runtime environment Post rating: 0   New post Posted: Fri 09 Dec, 2011, 11:03 

User rating: 0
Joined: Tue 22 Nov, 2011, 12:47
Posts: 130
Location: United States,
hi,

Is there a way through the API to detect what is the runtime environment (API vs Client),

Currently I'm using an ugly workaround by catching a NoSuchMethodError on history.getRangeBars...

Thanks,
888.


 
 Post subject: Re: Detecting API vs Client at runtime environment Post rating: 0   New post Posted: Fri 09 Dec, 2011, 15:13 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Not in the current API implementation.


 

Jump to:  

  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com