Moving Average Package

zcsoka
Posts: 290
Joined: Thu Dec 19, 2019 7:50 pm
Has thanked: 2 times
Been thanked: 28 times

Re: Moving Average Package

Post by zcsoka » Thu Jul 15, 2021 8:04 pm

Dear Daniel, 

No, the calculation on the backfilled data is a newer feature in the Bookmap API, this addon does not leverage it yet. If you are interested, I can prepare a version and test it with you. Please let me know which datafeed you are using. (DXFeed requires the package being signed and the signature process might take some time, so the turnaround time might be longer).
 

daniel_weiss
Posts: 5
Joined: Thu Jul 15, 2021 3:52 pm

Re: Moving Average Package

Post by daniel_weiss » Fri Jul 16, 2021 11:51 am

Hi Zoli, that's fantastic news!  This was a dealbreaker for me actually. I use DXFeed, and in this small cap world, traders don't know what they may be trading 5 minutes from now, so having ema's with backfill is a must. I would love to test it with you. Please let me know how to proceed. I have some related ideas for you as well, that are simple to implement, and will have a wide appeal with our trading group! 

zcsoka
Posts: 290
Joined: Thu Dec 19, 2019 7:50 pm
Has thanked: 2 times
Been thanked: 28 times

Re: Moving Average Package

Post by zcsoka » Fri Jul 16, 2021 12:03 pm

Dear Daniel,

I have attached the new test package:

mapackage-1.0.2.jar
(66.55 KiB) Downloaded 518 times

Please remove the current add-on and add it based on this package. Please remark, that it is not allowed for DXFeed yet, it can be signed in any hour from now. I will notify you as soon as it is signed, please test it and give me feedback.

canudropit2
Posts: 3
Joined: Tue Nov 17, 2020 8:39 pm

Re: Moving Average Package

Post by canudropit2 » Fri Jul 16, 2021 12:14 pm

i would like to test out the backfill data as well
 

daniel_weiss
Posts: 5
Joined: Thu Jul 15, 2021 3:52 pm

Re: Moving Average Package

Post by daniel_weiss » Fri Jul 16, 2021 12:32 pm

will do

daniel_weiss
Posts: 5
Joined: Thu Jul 15, 2021 3:52 pm

Re: Moving Average Package

Post by daniel_weiss » Mon Jul 19, 2021 10:48 am

Hi Zoli, I tried to use the addon, but it says that
"most of the api modules are not allowed for this instrument etc," I am unsure how to get back to a demo account where the trial api would be enabled.  Please advise.

zcsoka
Posts: 290
Joined: Thu Dec 19, 2019 7:50 pm
Has thanked: 2 times
Been thanked: 28 times

Re: Moving Average Package

Post by zcsoka » Mon Jul 19, 2021 4:24 pm

Hi Daniel,

As I mentioned, I need Bookmap to sign the packages for DXFeed, they did not do it yet, I mentioned that I would notify you when it is done.

zcsoka
Posts: 290
Joined: Thu Dec 19, 2019 7:50 pm
Has thanked: 2 times
Been thanked: 28 times

Re: Moving Average Package

Post by zcsoka » Tue Jul 20, 2021 4:26 pm

Dear All, 

The package was signed for DXFeed, please restart your Bookmap and try again. Let me know the result.
Please remark, that it works only with Bookmap 7.2 + versions.

Kind Regards,

Zoltan

canudropit2
Posts: 3
Joined: Tue Nov 17, 2020 8:39 pm

Re: Moving Average Package

Post by canudropit2 » Wed Jul 21, 2021 3:03 pm

keeps throwing error codes


java.lang.NoSuchMethodError: velox.api.layer1.simplified.Api.registerIndicator(Ljava/lang/String;Lvelox/api/layer1/messages/indicators/Layer1ApiUserMessageModifyIndicator$GraphType;DZZ)Lvelox/api/layer1/simplified/Indicator;
    at com.zoli.api.mapackage.indicators.EMAIndicator.initialize(EMAIndicator.java:104)
    at velox.api.layer1.simplified.InstanceWrapper.start(InstanceWrapper.java:120)
    at velox.api.layer1.simplified.SimplifiedL1ApiLoader.startForInstrument(SimplifiedL1ApiLoader.java:355)
    at velox.api.layer1.simplified.SimplifiedL1ApiLoader.lambda$onStrategyCheckboxEnabled$4(SimplifiedL1ApiLoader.java:333)
    at velox.api.layer1.layers.Layer1ApiInjectorRelay.injectSynchronously(SourceFile:57)
    at velox.api.layer1.simplified.SimplifiedL1ApiLoader.onStrategyCheckboxEnabled(SimplifiedL1ApiLoader.java:328)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at velox.bookmap.dl$b.invoke(SourceFile:64)
    at com.sun.proxy.$Proxy32.onStrategyCheckboxEnabled(Unknown Source)
    at velox.bookmap.Fb.a(SourceFile:680)
    at velox.bookmap.Fb.a(SourceFile:386)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
    at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:308)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.Component.processMouseEvent(Component.java:6533)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
    at java.awt.Component.processEvent(Component.java:6298)
    at java.awt.Container.processEvent(Container.java:2236)
    at java.awt.Component.dispatchEventImpl(Component.java:4889)
    at java.awt.Container.dispatchEventImpl(Container.java:2294)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
    at java.awt.Container.dispatchEventImpl(Container.java:2280)
    at java.awt.Window.dispatchEventImpl(Window.java:2746)
    at java.awt.Component.dispatchEvent(Component.java:4711)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
    at java.awt.EventQueue$4.run(EventQueue.java:731)
    at java.awt.EventQueue$4.run(EventQueue.java:729)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
    at velox.bookmap.Pi.dispatchEvent(SourceFile:70)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
 

canudropit2
Posts: 3
Joined: Tue Nov 17, 2020 8:39 pm

Re: Moving Average Package

Post by canudropit2 » Wed Jul 21, 2021 3:11 pm

i removed the old one....restarted bm and installed the new one and just error codes when i try to enable it
 

Post Reply