-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionThis message is deprecated and won't be processed since 7.7.
It is deprecated because of new multi-account concept. With the new multi-account concept, there are no trading mode anymore.
Now, trading could be either enabled or disabled from the Trading Control Panel.
To enable/disable trading via the API If the trading is enabled, both CHART and DOM trading is enabled.
To enable trading, the account for trading must be selected.
To disable trading, the account for trading must be deselected.for a few reasons: it's not safe to use without user code wrapping and seems not used by any add-on developers, so it's not supported any more
-
Deprecated FieldsFieldDescriptioneach instrument can have its own primary account, and the provider should not set the primary account. For now, it still can be used since TCP selected accounts are synchronized among all instruments for the same provider.because displayed name and account id should be set with
AccountInfo. UseBalanceInfo.accountIdinstead.
-
Deprecated MethodsMethodDescriptionprimary can be selected for each instrument separately from GUI. So for the same provider there can be multiple primary accounts. Use
AccountListManager.getSelectedAccountForAlias(String)instead.useAccountListManager.getAccountsByProvider(String)instead. This method is deprecated because of deprecation of primary account concept.primary can be selected for each instrument separately from GUI. So now the same account can be primary for one instrument and not primary for another.primary account concept is now deprecated. Now it's possible to select and change accounts for each instrumentprimary account concept is now deprecated. Now it's possible to select and change accounts for each instrument, so you need to check it for each instrument separately.primary can be selected for each instrument separately from GUI. So now the same account can be primary for one instrument and not primary for another.UseBalanceInfoBuilder.getAccountId()()} insteadUseBalanceInfoBuilder.setAccountId(String)instead
-
Deprecated ConstructorsConstructorDescriptionuse
AccountInfo(String, String, String, boolean)instead. Deprecated because id is supposed to be unique and should not be used as a summary (displayed name).useAccountInfoBuilder(String, String)instead. Deprecated because isPrimary should be always set to false. SeeeAccountInfo.isPrimary.becauseAccountInfoshould be used instead ofBalanceInfo.accountName. UseBalanceInfo(List, String)instead.useInstrumentInfo.BuilderinsteaduseInstrumentInfo.BuilderinsteaduseInstrumentInfo.Builderinsteadvelox.api.layer1.data.SimpleOrderSendParameters(String, boolean, int, OrderDuration, double, double) UseAbstractSingleOrderSendParametersBuilderinsteadUseAbstractSingleOrderSendParametersBuilderinsteadUseStatusInfoBuilderinsteadUseStatusInfoBuilderinsteadThis constructor does not provide the full functionalityUse
Layer1ApiSoundAlertMessage.BuilderinsteadUse
Layer1ApiSoundAlertCancelMessageinstead
-
Deprecated Enum Constants
Layer1ApiNotReloadedOnSettingsChangeinstead.Although the generator will still work after restarting the addon, if you implement this interface, classloader for this generator will be closed, which could raise a
ClassNotFoundException