Hello! I am quite new to programming Java, so I apologize for any silly questions that might arise.
I am using Intellij IDEA to write my code and this far I hadn't had any issues, but now when I tried new type of feed (range bars), I don't get the output that I am supposed to in my console. All I get is this:
2014-11-10 19:15:14.027 INFO Main - Connecting...
2014-11-10 19:15:15.187 INFO AuthorizationClient - Selecting the best server...
2014-11-10 19:15:21.402 INFO AuthorizationClient - retry count = 1, properties request time = 2014-11-10 19:15:21
2014-11-10 19:15:21.884 INFO AuthorizationClient - retry count = 1, properties response time = 2014-11-10 19:15:21
2014-11-10 19:15:22.054 WARN FeedDataProvider - JStore is disabled for the current user
2014-11-10 19:15:27.391 WARN WLabelData - White Label Image is not received
2014-11-10 19:15:27.391 INFO Main - Connected
2014-11-10 19:15:27.391 INFO Main - Subscribing instruments...
2014-11-10 19:15:30.536 INFO Main - Downloading data
2014-11-10 19:15:37.825 INFO Main - Starting strategy
2014-11-10 19:15:37.861 INFO Main - Strategy started: 1
2014-11-10 19:15:37.937 WARN WLabelData - White Label Image is not received
2014-11-10 19:15:45.949 INFO Main - Strategy stopped: 1
Process finished with exit code 0
I used your
https://www.dukascopy.com/wiki/files/SingleSimpleFeedTest.java simple strategy just to test the feed, but for some reason I don't get the info that should come after each new bar but when I run it through JForex platform everything works fine - I get all the info I am supposed to like this for each new bar:
17:22:21 range bar completed: StartTime: 2014-11-04 08:20:21.030 EndTime: 2014-11-04 08:22:40.449 O: 1.25064 C: 1.25067 H: 1.25067 L: 1.25047 V: 490.52 FEC: 231 of feed: FeedDescriptor [dataType=PRICE_RANGE_AGGREGATION, instrument=EUR/USD, offerSide=Ask, period=7 Days, priceRange=TWO_PIPS, ]
I didn't change anything in the code (just the package on the very top to match mine). Could someone please enlighten me in regards to this minor problem I am having? Also what should I take in consideration if I am writing and testing my strategies in IntelliJ IDEA compared to JForex platform, I thought it should be the same thing, but apparently it's not.
Thanks in advance!