Dukascopy
 
 
Wiki JStore Search Login

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

    Submit JForex API function requests in this forum only.
    Off topics are strictly forbidden.

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

Please support IChart.setInstrument
 Post subject: Please support IChart.setInstrument Post rating: 0   New post Posted: Wed 19 Feb, 2014, 05:16 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Please why do you deprecate IChart.setInstrument ?

Consider supporting it, please.

I know you have some strategic direction here, but
it appears we are forced to use standalone API
clients, multiple clients and multiple logins, to achieve what
should be simple objectives through simple
Strategy modules we could run locally within
the JForex platform framework.

If you are concerned with Strategy modules
having "too much power", then
why can't we have a permissions-based system
where Strategies are granted permissions to do
things like switch charts, select instruments for
charts which they create, and so on...

When the strategy is run, user can be prompted
whether to grant the permission to the Strategy
module.

When we have to write standalone API systems,
we have to duplicate functions which should be
easily accessible from within the JForex platform.
I've written my share of complex standalone clients,
but only when it's a really big project. For small
things I'd like to write simple Strategies and run
them locally within the JForex platform framework.

Can't there be a simple permissions framework
which permits Strategy modules do perform certain
functions, rather than just to deprecate them and
thus force us to write standalone clients?

When we write standalone clients we have to
manage connection/reconnection logic, login and
captcha logic, run a distinct separate process,
manage chart attributes, and a whole host of
things which the JForex platform already offers,
if only we could simply plug our Strategy in
and run it, thus leveraging the platform.

Does anybody else feel this way?

HyperScalper


 
 Post subject: Re: Please support IChart.setInstrument Post rating: 0   New post Posted: Wed 19 Feb, 2014, 13:36 
User avatar

User rating: 164
Joined: Mon 08 Oct, 2012, 10:35
Posts: 676
Location: NetherlandsNetherlands
Hi,

I myself not writing standalone clients, but I understand your frustration.
I am pretty sure Support will consider what you have explained there, and/or explain the reason of their decision about setIntrument().


 
 Post subject: Re: Please support IChart.setInstrument Post rating: 0   New post Posted: Fri 21 Feb, 2014, 09:58 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
We are going to implement:
IChart.setFocus();
IChart.setFeedDescriptor();


 
 Post subject: Re: Please support IChart.setInstrument Post rating: 0   New post Posted: Mon 24 Feb, 2014, 05:41 
User avatar

User rating: 98
Joined: Mon 23 Jul, 2012, 02:02
Posts: 656
Location: United States, Durham, NC
Thank you. Temporarily I tried to use IChart.setInstrument(...).

It's deprecated, but also it doesn't seem to work. API 2.9.5.1

I'd very much like simply to IChart.setInstrument, but to
keep the chart attributes as they are. As my remote
HyperBots open and close positions, I'd like to be able to
switch to the appropriate charts locally to view the
ongoing trades. Simple requirement but, just
to implement it with a simple Strategy, I have to
jump through hurdles.....

I'm not an expert on charts and attributes, but once I have
the theme set up, and a few indicators, all I'd like to do is
to be able to switch it to another instrument. After all,
I created the chart, why can't I set the instrument to
a different one? Hope IChart.setFeedDescriptor(...) will do that.

This from a "normal" JForex Strategy, so that I don't have to
write yet another standalone API client please... Your
IChart.setFeedDescriptor(...) I hope will achieve this.

Thanks for all your support.
HyperScalper


 
 Post subject: Re: Please support IChart.setInstrument Post rating: 0   New post Posted: Mon 25 May, 2015, 07:48 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The new functions will be available with the next API release.


 
 Post subject: Re: Please support IChart.setInstrument Post rating: 0   New post Posted: Tue 26 May, 2015, 23:21 
User avatar

User rating: 0
Joined: Fri 10 Oct, 2014, 00:35
Posts: 58
Location: New Zealand, Auckland
API Support wrote:
The new functions will be available with the next API release.


Thank you, this is very good news for me.

Cheers
Tony


 

Jump to:  

cron
  © 1998-2024 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