Dukascopy Support Board
http://www.dukascopy.com/swiss/english/forex/jforex/forum/

Please support IChart.setInstrument
http://www.dukascopy.com/swiss/english/forex/jforex/forum/viewtopic.php?f=83&t=50820
Page 1 of 1

Author:  hyperscalper [ Wed 19 Feb, 2014, 05:16 ]
Post subject:  Please support IChart.setInstrument

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

Author:  tcsabina [ Wed 19 Feb, 2014, 13:36 ]
Post subject:  Re: Please support IChart.setInstrument

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().

Author:  API Support [ Fri 21 Feb, 2014, 09:58 ]
Post subject:  Re: Please support IChart.setInstrument

We are going to implement:
IChart.setFocus();
IChart.setFeedDescriptor();

Author:  hyperscalper [ Mon 24 Feb, 2014, 05:41 ]
Post subject:  Re: Please support IChart.setInstrument

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

Author:  API Support [ Mon 25 May, 2015, 07:48 ]
Post subject:  Re: Please support IChart.setInstrument

The new functions will be available with the next API release.

Author:  Jellybean [ Tue 26 May, 2015, 23:21 ]
Post subject:  Re: Please support IChart.setInstrument

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

  Page 1 of 1