Monday 11 December 2017

ज़ोर्नेक्स एपीआई इतिहास


JoftUtils Dukascopy से JForex API के साथ काम करने के लिए उपयोगकर्ता के अनुकूल, मजबूत और उपयोगी उपकरण का एक संग्रह है। इस लाइब्रेरी का उद्देश्य बोझल बॉयलरप्लेट कोडिंग से बचने और एपीआई काम करने का एक आसान तरीका है। क्या किया जा सकता है की एक छोटी सूची है: एक सरल और घोषणात्मक तरीके से आदेश निर्माण, बदलना और बंद करना बनाना विभिन्न स्रोतों से मुद्राओं और उपकरणों को जोड़ना एक साधन से दूसरे में परिवर्तित करना एक क्रिया में कार्रवाई और कॉलबल्स को एक पंक्ति में एक पंक्ति में स्वचालित रीकनेक्ट करना स्टैंडअलोन एपीआई के लिए समर्थन सभी सुविधाओं और HowTos के लिए विकी होम देखें JoftUtils पूरी तरह से जावा 8 पर निर्भर है, इसलिए यह जावा के संस्करणों के साथ संगत नहीं है। एलटी 8 वर्तमान में, जेफोनेटयूटील्स को MavenCentral या किसी अन्य ऑनलाइन भंडार पर होस्ट नहीं किया गया है (बाद में किया जाएगा)। अपने प्रोजेक्ट में लाइब्रेरी का उपयोग करने के लिए आपको इसे रिलीज़ पृष्ठ से प्राप्त करना होगा। यहां आपको दो संस्करण मिलते हैं: JForexUtilsUberJar -.jar फ़ाइल में सभी निर्भरताएं शामिल हैं JForexUtils -.jar फ़ाइल में कोई भी निर्भरताएं शामिल नहीं हैं, इससे अपने संकुल को निर्यात किया जाता है ताकि आप ओएसजीआई परिवेश में फ़ाइल का उपयोग कर सकें बग्स और डिस्कशनशन विधि का विवरण getTimeOfLastTick अंतिम टिक का समय देता है निर्दिष्ट साधन के लिए प्राप्त 1 अगर कोई टिकटिक अभी तक प्राप्त नहीं हुआ तो रिटर्न 1। मापदंडों: साधन - टिक के साधन रिटर्न: आखिरी टिक या 1 का समय नहीं मिला यदि कोई टिकट नहीं मिला तो फेंकता है: JFException - जब उपकरण सक्रिय नहीं होता है (मंच में नहीं खोला जाता है) getTimeOfLastTick निर्दिष्ट साधन के लिए प्राप्त अंतिम टिक का समय देता है। 1 अगर कोई टिकटिक अभी तक प्राप्त नहीं हुआ तो रिटर्न 1। पैरामीटर्स: वित्तीय संस्थान - टिक का साधन रिटर्न: आखिरी टिक या -1 का समय नहीं मिला यदि कोई टिकट नहीं मिला तो फेंकता है: JFException - जब उपकरण सक्रिय नहीं है (मंच में नहीं खोला जाता है) getLastTick निर्दिष्ट उपकरण के लिए अंतिम टिक रिटर्न पैरामीटर: उपकरण - उपकरण का टिक रिटर्न: टिक फेंकता है: JFException - जब उपकरण सक्रिय नहीं है (मंच में नहीं खोला जाता है) getLastTick निर्दिष्ट उपकरण के लिए अंतिम टिक देता है पैरामीटर्स: वित्तीय साधन - टिक का साधन रिटर्न: टिक फेंकता है: JFException - जब उपकरण सक्रिय नहीं है मंच में) getStartTimeOfCurrentBar निर्दिष्ट उपकरण और अवधि के लिए वर्तमान बार (बार वर्तमान में ticks से उत्पन्न) का प्रारंभ समय देता है यदि इस उपकरण के लिए कोई टिकट नहीं मिला है, तो वापस -1 मिलता है पैरामीटर: उपकरण - बार की अवधि - बार की अवधि रिटर्न: चालू पट्टी या 1 का प्रारंभ समय यदि कोई टिकटिक प्राप्त नहीं होता है फेंकता है: JFException - जब अवधि समर्थित नहीं है या उपकरण सक्रिय नहीं है (मंच में नहीं खोला गया है) GetStartTimeOfCurrentBar निर्दिष्ट उपकरण और अवधि के लिए वर्तमान बार (बार वर्तमान में ticks से उत्पन्न बार) का प्रारंभ समय देता है यदि इस उपकरण के लिए कोई टिकट नहीं मिला है, तो वापस -1 मिलता है पैरामीटर: वित्तीय अवधि - बार की अवधि - बार की अवधि रिटर्न: वर्तमान बार या -1 का कोई प्रारंभिक समय नहीं मिला यदि कोई टिकट नहीं मिला तो फेंकता है: JFException - जब अवधि समर्थित नहीं है या उपकरण सक्रिय नहीं है (मंच में नहीं खोला गया है) निर्दिष्ट साधन, अवधि और पक्ष के लिए बार लौटता है, जो शिफ्ट पैरामीटर में उल्लिखित बार में नंबर के लिए समय-समय पर स्थानांतरित होता है, 0 - वर्तमान बार (वर्तमान में टिक से उत्पन्न होता है), 1 - पिछले बार (आखिरी बार बनाई गई बार) यदि कोई बार नहीं है उस स्थिति में भरी हुई है, फिर फ़ंक्शन रिक्त स्थान देता है। पिछले एक घंटे की पट्टी पर विचार करें पैरामीटर्स: बार - बार की अवधि के साधन - बार की अवधि - बार शिफ्ट की बोली या पूछना पक्ष - वर्तमान बार से घूरने वाले समय में मोमबत्ती की संख्या। 1 - पिछला बार, 2 - वर्तमान बार शून्य से 2 बार और इसी प्रकार रिटर्न: बार या शून्य यदि कोई बार लोड नहीं होता है फेंकता है: JFException - जब अवधि समर्थित नहीं होती है या उपकरण सक्रिय नहीं है (प्लेटफ़ॉर्म में नहीं खोला गया है) निर्दिष्ट उपकरण के लिए रिटर्न बार , अवधि और तरफ, जो कि शिफ्ट पैरामीटर, 0 - वर्तमान बार (वर्तमान में टिक्कों से उत्पन्न), 1 - पिछले बार (आखिरी बार बनाई गई बार) में उल्लिखित बार में नंबर के लिए समय में वापस स्थानांतरित हो जाता है। अगर उस स्थिति में कोई बार लोड नहीं होता है, फिर फ़ंक्शन रिटर्न नल पिछले एक घंटे के बार प्राप्त करने पर विचार करें पैरामीटर्स: वित्तीय आविष्कार - बार की अवधि - बार की अवधि - बार शिफ्ट की बोली या पूछना पक्ष - वर्तमान बार से घूरने वाले समय में वापस मोमबत्ती की संख्या। 1 - पिछली बार, 2 - वर्तमान बार शून्य से 2 बार और इसी प्रकार रिटर्न: बार या शून्य यदि कोई बार लोड नहीं होता है फेंकता है: JFException - जब अवधि समर्थित नहीं होती है या उपकरण सक्रिय नहीं है (मंच में नहीं खोला गया है) स्थानीय से टिक पृष्ठभूमि में कैश स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजा जाने के बाद, टिक की सूचनाओं को कॉल करने के तरीकों से टैक्स वापस आ जाएंगे। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग प्रगति के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है लोडिंग प्रगतिशील। लोडिंग (बूलीयन, लंबी, लंबी, लंबी) लोड हो जाने पर या त्रुटि के परिणामस्वरूप बुलाया जाता है इस पद्धति में दो मुख्य उद्देश्यों हैं: एक को स्मृति में उन सभी को रखे बिना बहुत सारी टिकियाँ लोड करना है, और दूसरा अतुल्यकालिक प्रक्रिया है, आखिरी दिनों का विश्लेषण करने पर विचार करें - औसत पूछ मूल्य और अधिकतम बोली पैरामीटर की गणना: उपकरण - साधन समय से अंतराल की शुरूआत - जिसके लिए टिक्स को लोड किया जाना चाहिए - समय अंतराल के अंत समय के लिए, जिसके लिए टैक्स को लोड किया जाना चाहिए। यदि समय के साथ टिक होता है तो पैरामीटर में समय के बराबर होता है तो यह अच्छी तरह से लोड हो जाएगा tickListener - लोड किए गए अनुरोधों के बारे में डेटा प्राप्त करता है प्रगति - लोडिंग प्रक्रिया को नियंत्रित करने के लिए इस्तेमाल किया गया फेंकता: JFException - डेटा के लिए आंतरिक अनुरोध बनाने पर कुछ त्रुटि तब होती है जब पढ़ा जाता है ticks पृष्ठभूमि में स्थानीय कैश से स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजा जाने के बाद, टिक की सूचनाओं को कॉल करने के तरीकों से टैक्स वापस आ जाएंगे। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग प्रगति के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है लोडिंग प्रगतिशील। लोडिंग (बूलीयन, लंबी, लंबी, लंबी) लोड हो जाने पर या त्रुटि के परिणामस्वरूप बुलाया जाता है इस पद्धति में दो मुख्य उद्देश्यों हैं: एक को स्मृति में उन सभी को रखे बिना बहुत सारी चीजों को लोड करना है, और दूसरा एसिंक्रोनस प्रोसेसिंग है, आखिरी दिनों का विश्लेषण करने पर विचार करें - औसत पूछ मूल्य और अधिकतम बोली की गणना: वित्तीय विशेषज्ञ - साधन समय से अंतराल की शुरूआत - जिसके लिए टिक्स को लोड किया जाना चाहिए - समय अंतराल के अंत समय के लिए, जिसके लिए टैक्स को लोड किया जाना चाहिए। यदि समय के साथ टिक होता है तो पैरामीटर में समय के बराबर होता है तो यह अच्छी तरह से लोड हो जाएगा tickListener - लोड किए गए अनुरोधों के बारे में डेटा प्राप्त प्रगति - लोडिंग प्रक्रिया को नियंत्रित करने के लिए इस्तेमाल किया गया फेंकता: JFException - डेटा के लिए आंतरिक अनुरोध बनाने पर कुछ त्रुटि तब होती है जब पढ़ा जाता है ticks पृष्ठभूमि में स्थानीय कैश से स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजे जाने के बाद, टिक की सूची में कॉलिंग पद्धति के द्वारा टिक्स वापस आ जाएगा। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग रद्द करने के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है LoadingProgressListener. loadingFinished (बूलियन, लंबी, लंबी, लंबी) कहा जाता है जब लोडिंग समाप्त हो गई है या त्रुटि के परिणामस्वरूप इस विधि के दो मुख्य उद्देश्य हैं: एक है उन सभी को स्मृति में रखे बिना बहुत सारी टिकियाँ लोड करें, और दूसरी एसिंक्रोनस प्रोसेसिंग पैरामीटर: उपकरण - टीक नंबर के साधन --OfOneSecondIntervalsBefore - इससे पहले लोड करने के लिए और टाइकों का एक दूसरा अंतराल समय पैरामीटर संख्या में विनिर्दिष्ट पिछले एक सेकंड टिक अंतराल के समय - समयOfOneSecondIntervals पैरामीटर से पहले एक दूसरे टिक अंतराल के समय और समय पहले पहले एक सेकंड टिक अंतराल संख्या के साथ निर्दिष्ट अवधिऑफ़ऑनसेकंडइंटरवल्सअफॉर्म पैरामीटर संख्याऑफ़ऑन सेकंडऑनलाइनअंतर - कितना एक सेकंड टिक अंतराल के बाद लोड करने के लिए ) में निर्दिष्ट समय के साथ एक दूसरी टिक अंतराल समय पैरामीटर tickListener - लोड किए गए अनुरोधों के बारे में डेटा प्राप्त करता है प्रगति - लोडिंग की प्रगति को नियंत्रित करने के लिए इस्तेमाल किया गया फेंकता है: JFException - जब कुछ त्रुटियां होती हैं तो पृष्ठभूमि में स्थानीय कैश से टिक जाता है। स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजे जाने के बाद, टिक की सूची में कॉलिंग पद्धति के द्वारा टिक्स वापस आ जाएगा। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग रद्द करने के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है LoadingProgressListener. loadingFinished (बूलियन, लंबी, लंबी, लंबी) कहा जाता है जब लोडिंग समाप्त हो गई है या त्रुटि के परिणामस्वरूप इस विधि के दो मुख्य उद्देश्य हैं: एक है उन सभी को स्मृति में रखे बिना बहुत सारी टिकियां लोड करें, और दूसरी एसिंक्रोनस प्रोसेसिंग पैरामीटर्स: वित्तीय आविष्कार - टिक्श नंबर के वित्तीय साधनऑफ़ऑनसेकंड इंटरवल्स - इससे पहले लोड करने के लिए और समय में निर्दिष्ट समय के साथ टिक्सेस के एक दूसरे अंतराल को शामिल करने के लिए कितने एक दूसरे अंतराल पैरामीटर समय - समय में निर्धारित अंतिम एक सेकंड टिक अंतराल के समय numberOfOneSecondIntervals पैरामीटर से पहले एक दूसरे टिक अंतराल के समय और समय पहले पहले एक सेकंड टिक अंतराल संख्या के साथ निर्दिष्ट अवधिऑफ़ऑनसेकंडइनर्वर्वअधिक पैरामीटर संख्याऑफ़ऑनसेकंडइंटरवल्सअफर्ट - कितना एक सेकंड टिक अंतराल के बाद लोड करने के लिए (नहीं सहित) एक दूसरे टिक अंतराल बुद्धि h समय निर्दिष्ट समय पैरामीटर में tickListener - अनुरोधित ticks लोडिंग के बारे में डेटा प्राप्त करता है प्रगति - लोडिंग प्रगति को नियंत्रित करने के लिए उपयोग किया गया फेंकता: JFException - जब कुछ त्रुटियां होती हैं पृष्ठभूमि में स्थानीय कैश से रीड बार। स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजा जाने के बाद, बारलाइस्टर में विधि कॉल करके बार वापस आ जाएगा। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग रद्द करने के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है LoadingProgressListener. loadingFinished (बूलियन, लंबी, लंबी, लंबी) कहा जाता है जब लोडिंग समाप्त हो गई है या त्रुटि के परिणामस्वरूप इस विधि के दो मुख्य उद्देश्य हैं: एक है उन्हें स्मृति में सभी को रखे बिना कई बार लोड करें, और दूसरा एसिंक्रोनस प्रोसेसिंग है पिछले हफ्तों 1 मिनट की सलाखों के विश्लेषण पर विचार करें - अर्थात् औसत बंद कीमत और अधिकतम बार आकार पैरामीटर: उपकरण - सलाखों की अवधि के साधन - अवधि सलाखों के किनारे से - बार अंतराल की शुरूआत जिसके लिए सलाखों को लोड किया जाना चाहिए। निर्दिष्ट अवधि के लिए बार का सटीक शुरुआती समय होना चाहिए। GetBarStart (अवधि, लंबी) विवरण देखें यदि आप पट्टी के लिए बार शुरू करने का समय चाहते हैं जिसमें विशिष्ट समय शामिल होता है - समय अंतराल के समाप्ति समय जिसके लिए सलाखों को लोड किया जाना चाहिए। लोड हो रहा है यह आखिरी बार का शुरुआती समय है। एलिसनर - अनुरोधित सलाखों के बारे में डेटा लोड कर रहा है प्रगति - लोडिंग की प्रक्रिया को नियंत्रित करने के लिए इस्तेमाल किया गया है फेंकता है: JFException - जब अवधि समर्थित नहीं होती है या निर्दिष्ट अवधि के लिए समय अंतराल वैध नहीं है इसे देखें: getBarStart (Period , लंबे) पृष्ठभूमि में स्थानीय कैश से बार पढ़ता है। स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजा जाने के बाद, बारलाइस्टर में विधि कॉल करके बार वापस आ जाएगा। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग रद्द करने के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है LoadingProgressListener. loadingFinished (बूलियन, लंबी, लंबी, लंबी) कहा जाता है जब लोडिंग समाप्त हो गई है या त्रुटि के परिणामस्वरूप इस विधि के दो मुख्य उद्देश्य हैं: एक है उन सभी को स्मृति में रखने के बिना कई बार लोड करें, और दूसरा एसिंक्रोनस प्रोसेसिंग है पिछले हफ्ते 1 मिनट की सलाखों के विश्लेषण पर विचार करें - अर्थात् औसत बंद कीमत और अधिकतम बार आकार पैरामीटर की गणना करें: वित्तीय विशेषज्ञ - बार की अवधि - उपकरण की अवधि सलाखों के किनारे से - बार अंतराल की शुरूआत जिसके लिए सलाखों को लोड किया जाना चाहिए। निर्दिष्ट अवधि के लिए बार का सटीक शुरुआती समय होना चाहिए। GetBarStart (अवधि, लंबी) विवरण देखें यदि आप पट्टी के लिए बार शुरू करने का समय चाहते हैं जिसमें विशिष्ट समय शामिल होता है - समय अंतराल के समाप्ति समय जिसके लिए सलाखों को लोड किया जाना चाहिए। लोड हो रहा है यह आखिरी बार का शुरुआती समय है। एलिसनर - अनुरोधित सलाखों के बारे में डेटा लोड कर रहा है प्रगति - लोडिंग की प्रक्रिया को नियंत्रित करने के लिए इस्तेमाल किया गया है फेंकता है: JFException - जब अवधि समर्थित नहीं होती है या निर्दिष्ट अवधि के लिए समय अंतराल वैध नहीं है इसे देखें: getBarStart (Period , लंबे) पृष्ठभूमि में स्थानीय कैश से बार पढ़ता है। स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजा जाने के बाद, बारलाइस्टर में विधि कॉल करके बार वापस आ जाएगा। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग रद्द करने के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है LoadingProgressListener. loadingFinished (बूलियन, लंबी, लंबी, लंबी) कहा जाता है जब लोडिंग समाप्त हो गई है या त्रुटि के परिणामस्वरूप इस विधि के दो मुख्य उद्देश्य हैं: एक है उन्हें स्मृति में सभी को रखे बिना कई बार लोड करें, और दूसरा एसिंक्रोनस प्रोसेसिंग है पिछले हफ्तों 1 मिनट की सलाखों के विश्लेषण पर विचार करें - अर्थात् औसत बंद कीमत और अधिकतम बार आकार पैरामीटर: उपकरण - सलाखों की अवधि के साधन - अवधि सलाखों के बार की ओर - बार फ़िल्टरिंग पद्धति को फ़िल्टर करें - से फ़िल्टर करें - उस समय के अंतराल की शुरूआत जिसके लिए सलाखों को लोड किया जाना चाहिए निर्दिष्ट अवधि के लिए बार का सटीक शुरुआती समय होना चाहिए। GetBarStart (अवधि, लंबी) विवरण देखें यदि आप पट्टी के लिए बार शुरू करने का समय चाहते हैं जिसमें विशिष्ट समय शामिल होता है - समय अंतराल के समाप्ति समय जिसके लिए सलाखों को लोड किया जाना चाहिए। लोड हो रहा है यह आखिरी बार का शुरुआती समय है। एलिसनर - अनुरोधित सलाखों के बारे में डेटा लोड कर रहा है प्रगति - लोडिंग की प्रक्रिया को नियंत्रित करने के लिए इस्तेमाल किया गया है फेंकता है: JFException - जब अवधि समर्थित नहीं होती है या निर्दिष्ट अवधि के लिए समय अंतराल वैध नहीं है इसे देखें: getBarStart (Period , लंबे) पृष्ठभूमि में स्थानीय कैश से बार पढ़ता है। स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजा जाने के बाद, बारलाइस्टर में विधि कॉल करके बार वापस आ जाएगा। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग रद्द करने के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है LoadingProgressListener. loadingFinished (बूलियन, लंबी, लंबी, लंबी) कहा जाता है जब लोडिंग समाप्त हो गई है या त्रुटि के परिणामस्वरूप इस विधि के दो मुख्य उद्देश्य हैं: एक है उन सभी को स्मृति में रखने के बिना कई बार लोड करें, और दूसरा एसिंक्रोनस प्रोसेसिंग है पिछले हफ्ते 1 मिनट की सलाखों के विश्लेषण पर विचार करें - अर्थात् औसत बंद कीमत और अधिकतम बार आकार पैरामीटर की गणना करें: वित्तीय विशेषज्ञ - बार की अवधि - उपकरण की अवधि सलाखों के बार की ओर - बार फ़िल्टरिंग पद्धति को फ़िल्टर करें - से फ़िल्टर करें - उस समय के अंतराल की शुरूआत जिसके लिए सलाखों को लोड किया जाना चाहिए निर्दिष्ट अवधि के लिए बार का सटीक शुरुआती समय होना चाहिए। GetBarStart (अवधि, लंबी) विवरण देखें यदि आप पट्टी के लिए बार शुरू करने का समय चाहते हैं जिसमें विशिष्ट समय शामिल होता है - समय अंतराल के समापन समय जिसके लिए सलाखों को लोड किया जाना चाहिए। लोड हो रहा है यह आखिरी बार का शुरुआती समय है। एलिसनर - अनुरोधित सलाखों के बारे में डेटा लोड कर रहा है प्रगति - लोडिंग की प्रक्रिया को नियंत्रित करने के लिए इस्तेमाल किया गया है फेंकता है: JFException - जब अवधि समर्थित नहीं होती है या निर्दिष्ट अवधि के लिए समय अंतराल वैध नहीं है इसे देखें: getBarStart (Period , लंबे) पृष्ठभूमि में स्थानीय कैश से बार पढ़ता है। स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजा जाने के बाद, बारलाइस्टर में विधि कॉल करके बार वापस आ जाएगा। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग रद्द करने के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है LoadingProgressListener. loadingFinished (बूलियन, लंबी, लंबी, लंबी) कहा जाता है जब लोडिंग समाप्त हो गई है या त्रुटि के परिणामस्वरूप इस विधि के दो मुख्य उद्देश्य हैं: एक है 100% 1 मिनट की सलाखों का विश्लेषण करने के लिए - औसत करीब कीमत की गणना और अधिकतम बार आकार पैरामीटर: उपकरण - सलाखों की अवधि के साधन - सलाखों की अवधि बार फिल्टर की तरफ - इससे पहले मोमबत्तियों के नंबरों को फ़िल्टर करने की अनुमति देता है- पहले कैंबोल्स से पहले और मोमबत्तियों को समय के समय में निर्दिष्ट समय के साथ लोड करने के लिए समय-समय पर अंतिम मोमबत्तियों के समय में निर्दिष्ट करेंऑफ़ कैंडल पैरामीटर से पहले या मोमबत्ती के पहले समय पहले मोमबत्ती संख्या के साथ उल्लिखित अवधिऑफ़ कैंडलअनुमतिमान पैरामीटर संख्याऑफ़ कैंडलअधिक - कितने मोमबत्तियाँ मोमबत्ती (शामिल नहीं) के बाद लोड करने के लिए टाइम पैरामीटर बार में निर्दिष्ट समय के साथ - सूचीकर्ता - अनुरोधित सलाखों के लोडिंग के बारे में डेटा प्राप्त करता है प्रगति - लोडिंग की प्रक्रिया को नियंत्रित करने के लिए इस्तेमाल किया गया फेंकता: JFException - जब अवधि समर्थित नहीं होती है या निर्दिष्ट अवधि के लिए समय अंतराल वैध नहीं है यह भी देखें: getBarStart (अवधि, लंबा) पृष्ठभूमि में स्थानीय कैश स्थानीय कैश से किसी डेटा को पढ़ने के लिए इंतजार नहीं करने वाले डेटा के लिए अनुरोध बनाने के बाद विधि तेजी से लौटाता है। आंतरिक अनुरोध भेजा जाने के बाद, बारलाइस्टर में विधि कॉल करके बार वापस आ जाएगा। LoadingProgressListener लोड हो रहा है रद्द करने और इसकी विधि लोडिंग रद्द करने के बारे में प्रतिक्रिया प्राप्त करने के लिए उपयोग किया जाता है LoadingProgressListener. loadingFinished (बूलियन, लंबी, लंबी, लंबी) कहा जाता है जब लोडिंग समाप्त हो गई है या त्रुटि के परिणामस्वरूप इस विधि के दो मुख्य उद्देश्य हैं: एक है 100% 1 मिनट की सलाखों का विश्लेषण करने के लिए - औसत करीब कीमत और अधिकतम बार आकार पैरामीटर्स की गणना करने पर गौर करें - सलाखों की अवधि - बार की अवधि के साधन - वित्तीय आविष्कार - सलाखों की अवधि बार फिल्टर की तरफ - इससे पहले मोमबत्तियों के नंबरों को फ़िल्टर करने की अनुमति देता है- पहले कैंबोल्स से पहले और मोमबत्तियों को समय के समय में निर्दिष्ट समय के साथ लोड करने के लिए समय-समय पर अंतिम मोमबत्तियों के समय में निर्दिष्ट करेंऑफ़ कैंडल पैरामीटर से पहले या मोमबत्ती के पहले समय पहले मोमबत्ती संख्या के साथ उल्लिखित अवधिऑफ़ कैंडलअधिक पैरामीटर संख्याऑफ़ कैंडलअधिक - कितने मोमबत्तियों के बाद लोड करने के लिए ) समय पैरामीटर बार में निर्दिष्ट समय के साथ मोमबत्ती की सूची - अनुरोधित सलाखों के लोडिंग के बारे में डेटा प्राप्त करता है प्रगति - लोडिंग की प्रगति को नियंत्रित करने के लिए इस्तेमाल किया गया है फेंकता: JFException - जब अवधि समर्थित नहीं होती है या निर्दिष्ट अवधि के लिए समय अंतराल वैध नहीं है यह भी देखें: getBarStart (अवधि, लंबा) रिटर्न निर्दिष्ट साधन और समय अंतराल के लिए ticks जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। क्योंकि सभी डेटा को स्मृति में लोड किया जाता है, इस विधि को सावधानी के साथ बहुत अधिक डेटा नहीं लोड करने के लिए उपयोग किया जाना चाहिए जो आउटऑफमोमररी अपवाद पैरामीटर को जन्म दे सकती है: साधन - से टिक्स के साधन - समय अंतराल के प्रारंभ के लिए जिसके लिए टिक्स को लोड किया जाना चाहिए - समय अंतराल के अंत समय के लिए जो ticks लोड किया जाना चाहिए। यदि समय के साथ टिक होता है तो पैरामीटर में समय के बराबर होता है तो यह उतना ही लोड हो जाएगा रिटर्न: लोड किए गए टिक फेंकता है: JFException - जब डेटा लोड करते समय कुछ त्रुटि आती है निर्दिष्ट उपकरण और समय अंतराल के लिए टिकी देता है जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। क्योंकि सभी डेटा को स्मृति में लोड किया जाता है, इस विधि को सावधानी के साथ बहुत अधिक डेटा नहीं लोड करने के लिए उपयोग किया जाना चाहिए जो आउटऑफमोमररी एक्सपेशेशन पैरामीटर को जन्म दे सकती है: वित्तीय इन्स्ट्रीम - से टिक्स के साधन - समय अंतराल के प्रारंभ के लिए जिसके लिए टिक्स को लोड किया जाना चाहिए - समय अंतराल के अंत समय के लिए जो ticks लोड किया जाना चाहिए। यदि समय के साथ टिक होता है तो पैरामीटर में समय के बराबर होता है तो यह उतना ही लोड हो जाएगा रिटर्न: लोड किए गए टिक फेंकता है: JFException - जब डेटा लोड करते समय कुछ त्रुटि आती है निर्दिष्ट उपकरण, समय और गणना के लिए टिकी देता है जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। चूंकि सभी डेटा को स्मृति में लोड किया जाता है, इसलिए इस विधि को सावधानी के साथ बहुत अधिक डेटा लोड न करने के लिए उपयोग किया जाना चाहिए जो आउटऑफममेरी अपवाद पैरामीटर को जन्म दे सकती है: उपकरण - टाइक्स संख्या के साधनऑफ़ऑनसेकंड इंटरव्लल्स इससे पहले - इससे पहले और लोड करने के लिए कितने टिक्सेस का एक दूसरा अंतराल समय पैरामीटर में निर्दिष्ट समय के साथ एक दूसरे का अंतराल समय-समय के अंतिम एक सेकेंड की टिक अंतराल की संख्या में उल्लिखित अवधिऑफ़ऑनसेकंडइंटरवल्स पैरामीटर से पहले और एक दूसरे टिक अंतराल के समय से पहले पहले एक सेकंड टिक अंतराल संख्या के साथ निर्दिष्ट numberOfOneSecondIntervalsAfter पैरामीटर संख्याOfOneSecondIntervalsAfter - कैसे समय के पैरामीटर में निर्दिष्ट समय के साथ एक दूसरे टिक अंतराल के बाद लोड करने के लिए बहुत से एक दूसरे टिक अंतराल रिटर्न: लोड किए गए टिक फेंकता है: JFException - जब डेटा लोड करते समय कुछ त्रुटि आती है निर्दिष्ट उपकरण, समय और गणना के लिए टिकी देता है जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। क्योंकि सभी डेटा को स्मृति में लोड किया जाता है, इस विधि को सावधानी के साथ बहुत अधिक डेटा नहीं लोड करने के लिए इस्तेमाल किया जाना चाहिए जो आउटऑफममेरी अपवाद पैरामीटर को जन्म दे सकती है: वित्तीय आविष्कार - टाइक्स संख्या के साधनऑफ़ऑनसेकंड इंटरवर्ल्स - इससे पहले और इसमें शामिल लोड करने के लिए कितने एक दूसरे अंतराल समय पैरामीटर में निर्दिष्ट समय के साथ एक दूसरे का अंतराल समय-समय के अंतिम एक सेकेंड की टिक अंतराल की संख्या में उल्लिखित अवधिऑफ़ऑनसेकंडइंटरवल्स पैरामीटर से पहले और एक दूसरे टिक अंतराल के समय से पहले पहले एक सेकंड टिक अंतराल संख्या के साथ निर्दिष्ट numberOfOneSecondIntervalsAfter पैरामीटर संख्याOfOneSecondIntervalsAfter - कैसे समय पैरामीटर में निर्दिष्ट समय के साथ एक सेकंड टिक अंतराल के बाद लोड करने के लिए बहुत से एक दूसरी टिक अंतराल रिटर्न: लोड किए गए टिक फेंकता है: JFException - जब डेटा लोड करते समय कुछ त्रुटि आती है निर्दिष्ट साधन, अवधि और पक्ष के लिए बार लौटाता है जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। क्योंकि सभी डेटा को स्मृति में लोड किया जाता है, इस विधि को सावधानी के साथ बहुत अधिक डेटा नहीं लोड करने के लिए इस्तेमाल किया जाना चाहिए जो आउटऑफममेरी एक्सपैशन की ओर ले जा सकता है एक समय अंतराल पर 5 सलाखों के बारे में सोचें: कई महीनों में दैनिक सलाखों के बारे में सोचें: पैरामीटर: उपकरण - साधन सलाखों की अवधि - बार की ओर की ओर - से सलाखों की तरफ - बार अंतराल की शुरूआत जिसके लिए सलाखों को लोड किया जाना चाहिए। निर्दिष्ट अवधि के लिए बार का सटीक शुरुआती समय होना चाहिए। GetBarStart (अवधि, लंबी) विवरण देखें यदि आप बार-बार मोमबत्ती के लिए समय प्राप्त करना चाहते हैं जिसमें विशिष्ट समय शामिल होता है - समय अंतराल के समाप्ति समय जिसके लिए सलाखों को लोड किया जाना चाहिए। यह लोड किए जाने वाले अंतिम मोमबत्ती का शुरुआती समय है रिटर्न: लोड किए गए बार फेंकता है: JFException - कब अवधि समर्थित नहीं है या डेटा लोड करते समय कुछ त्रुटि तब होती है निर्दिष्ट उपकरण, अवधि और पक्ष के लिए बार लौटाता है जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। क्योंकि सभी डेटा को स्मृति में लोड किया जाता है, इस विधि को सावधानी के साथ बहुत अधिक डेटा नहीं लोड करने के लिए इस्तेमाल किया जाना चाहिए, जो आउटऑफममेरी एक्सपैशन की ओर ले जा सकता है एक समय अंतराल पर 5 सलाखों के बारे में सोचें: पैरामीटर: वित्तीय इन्स्ट्रूमेंट - बार की अवधि के उपकरण - अवधि सलाखों के किनारे से - बार अंतराल की शुरूआत जिसके लिए सलाखों को लोड किया जाना चाहिए। निर्दिष्ट अवधि के लिए बार का सटीक शुरुआती समय होना चाहिए। GetBarStart (अवधि, लंबी) विवरण देखें यदि आप बार-बार मोमबत्ती के लिए समय प्राप्त करना चाहते हैं जिसमें विशिष्ट समय शामिल होता है - समय अंतराल के समाप्ति समय जिसके लिए सलाखों को लोड किया जाना चाहिए। यह लोड किए जाने वाले अंतिम मोमबत्ती का शुरुआती समय है रिटर्न: लोड किए गए बार फेंकता: JFException - जब अवधि समर्थित नहीं होती है या डेटा लोड करते समय कुछ त्रुटि तब होती है निर्दिष्ट उपकरण, अवधि, पक्ष और फ़िल्टर के लिए बार लौटाता है जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। क्योंकि सभी डेटा को स्मृति में लोड किया जाता है, इस विधि को सावधानी के साथ बहुत अधिक डेटा नहीं लोड करने के लिए उपयोग किया जाना चाहिए जो आउटऑफ़मोमरि एक्सपेक्शन पैरामीटर को जन्म दे सकती है: उपकरण - सलाखों की अवधि के साधन - सलाखों की अवधि - बार फिल्टर के किनारे - बार फ़िल्टरिंग पद्धति को देखने से फ़िल्टर - उस समय के अंतराल की शुरुआत है जिसके लिए सलाखों को लोड किया जाना चाहिए। निर्दिष्ट अवधि के लिए बार का सटीक शुरुआती समय होना चाहिए। GetBarStart (अवधि, लंबी) विवरण देखें यदि आप बार-बार मोमबत्ती के लिए समय प्राप्त करना चाहते हैं जिसमें विशिष्ट समय शामिल होता है - समय अंतराल के समाप्ति समय जिसके लिए सलाखों को लोड किया जाना चाहिए। यह लोड किए जाने वाले अंतिम मोमबत्ती का शुरुआती समय है रिटर्न: लोड किए गए बार फेंकता: JFException - जब अवधि समर्थित नहीं होती है या डेटा लोड करते समय कुछ त्रुटि तब होती है निर्दिष्ट उपकरण, अवधि, पक्ष और फ़िल्टर के लिए बार लौटाता है जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। क्योंकि सभी डेटा को स्मृति में लोड किया जाता है, इस विधि को सावधानी के साथ बहुत अधिक डेटा नहीं लोड करने के लिए उपयोग किया जाना चाहिए जो आउटऑफमोमररी एक्सपेशेशन पैरामीटर को जन्म दे सकती है: वित्तीयआक्रमण - सलाखों की अवधि के बार - बार की अवधि - बार फिल्टर के किनारे - बार फ़िल्टरिंग पद्धति को देखने से फ़िल्टर - उस समय के अंतराल की शुरुआत है जिसके लिए सलाखों को लोड किया जाना चाहिए। निर्दिष्ट अवधि के लिए बार का सटीक शुरुआती समय होना चाहिए। GetBarStart (अवधि, लंबी) विवरण देखें यदि आप बार-बार मोमबत्ती के लिए समय प्राप्त करना चाहते हैं जिसमें विशिष्ट समय शामिल होता है - समय अंतराल के समाप्ति समय जिसके लिए सलाखों को लोड किया जाना चाहिए। यह लोड किए जाने वाले अंतिम मोमबत्ती का शुरुआती समय है रिटर्न: लोड किए गए बार फेंकता है: JFException - कब अवधि समर्थित नहीं है या डेटा लोड करते समय कुछ त्रुटि तब होती है निर्दिष्ट उपकरण, अवधि और पक्ष के लिए बार लौटाता है जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। चूंकि सभी डेटा को स्मृति में लोड किया जाता है, इसलिए इस विधि को सावधानी के साथ बहुत अधिक डेटा लोड न करने के लिए उपयोग किया जाना चाहिए जो आउटऑफममेरी अपवाद को जन्म दे सकती है। यदि अनुरोधित अवधि में उस बार भी शामिल है जो पूरी तरह से अभी तक तैयार नहीं है (प्रगति पट्टी), तो इसमें शामिल है भले ही इसका फ्लैट मोमबत्ती अंतराल पर 5 सलाखों को प्राप्त करने पर विचार करें: पैरामीटर: उपकरण - बार की अवधि के साधन - अवधि सलाखों के किनारों की ओर - फिल्टर को मोमबत्तियों की संख्याओं को फ़िल्टर करने की अनुमति देता है- पहले कैंब्रिज - इससे पहले और लोड किए जाने वाले समय के साथ मोमबत्ती को लेकर समय-समय पर अंतिम मोमबत्ती का समय-समय क्रमांकऑफ कैंडल पहले पैरामीटर या पहले मोमबत्ती के समय संख्या के साथ विनिर्दिष्ट अवधि में संख्याओं के बाद पैरामीटर यदि संख्याऑफ़ कैंडल 0 से पहले है, या पहले मोमबत्ती से पहले संख्या के साथ निर्दिष्ट अवधि में मोमबत्ती से पहले संख्या के साथ निर्दिष्ट करेंऑफ़ कैंडिल्सअगर संख्याऑफ़ कैंडलअधिक है 0 संख्याऑफ़ कैंडलअधिक - कितने मोमबत्तियाँ समय पैरामीटर में निर्दिष्ट समय के साथ (बिना शामिल) मोमबत्ती के बाद लोड करने के लिए रिटर्न: भरी हुई सलाखों फेंकता: JFException - कब अवधि समर्थित नहीं है या डेटा लोड करते समय कुछ त्रुटि तब होती है I निर्दिष्ट के लिए बार लौटाता है I स्त्राव, अवधि और पक्ष जब तक सभी डेटा सर्वर से स्थानीय कैश में लोड नहीं किया जाएगा और फिर संग्रह में पढ़ा और संग्रहीत किया जाता है तब तक विधि ब्लॉक। चूंकि सभी डेटा को स्मृति में लोड किया जाता है, इसलिए इस विधि को सावधानी के साथ बहुत अधिक डेटा लोड न करने के लिए उपयोग किया जाना चाहिए जो आउटऑफममेरी अपवाद को जन्म दे सकती है। यदि अनुरोधित अवधि में उस बार भी शामिल है जो पूरी तरह से अभी तक तैयार नहीं है (प्रगति पट्टी), तो यह भी शामिल है, भले ही इसका फ्लैट मोमबत्ती अंतराल पर 5 सलाखों के बारे में सोच रहा हो: पैरामीटर: वित्तीय आविष्कार - बार की अवधि के साधन - अवधि सलाखों के किनारों की ओर - फिल्टर को मोमबत्तियों की संख्याओं को फ़िल्टर करने की अनुमति देता है- पहले कैंब्रिज - इससे पहले और लोड किए जाने वाले समय के साथ मोमबत्ती को लेकर समय-समय पर अंतिम मोमबत्ती का समय-समय क्रमांकऑफ कैंडल पहले पैरामीटर या पहले मोमबत्ती के समय संख्या के साथ विनिर्दिष्ट अवधि में संख्याओं के बाद पैरामीटर यदि संख्याऑफ़ कैंडल 0 से पहले है, या पहले मोमबत्ती से पहले संख्या के साथ निर्दिष्ट अवधि में मोमबत्ती से पहले संख्या के साथ निर्दिष्ट करेंऑफ़ कैंडिल्सअगर संख्याऑफ़ कैंडलअधिक है 0 संख्याऑफ़ कैंडलअधिक - कितने मोमबत्तियाँ समय पैरामीटर में निर्दिष्ट समय के साथ (बिना शामिल) मोमबत्ती के बाद लोड करने के लिए रिटर्न: भरी हुई सलाखों फेंकता है: JFException - कब अवधि समर्थित नहीं है या डेटा लोड होने पर कुछ त्रुटि तब होती है बैरस्टार्ट रिटर्न बार पैरामीटर में निर्दिष्ट समय भी शामिल है पैरामीटर: अवधि - बार की अवधि बार बार - बार जो बार के द्वारा शामिल है रिटर्न: बार फेंकता है: JFException - कब अवधि समर्थित नहीं है getNextBarStart का शुरुआती समय देता है बार के बगल में बार जिसमें बारटाइम पैरामीटर में निर्दिष्ट समय शामिल है पैरामीटर्स: अवधि - बार बार का बार टाइम टाइम जो वापस लौटने के पिछले पट्टी में शामिल है रिटर्न: बार फेंकता है: JFException - जब अवधि समर्थित नहीं होती है getPreviousBarStart पट्टी के शुरुआती समय देता है जिसमें बार टाइम पैरामीटर में निर्दिष्ट समय भी शामिल है पैरामीटर: अवधि - बार बार बार टाइमटाइम जो वापस लौटने के आगे पट्टी में शामिल होता है रिटर्न: बार का समय घूमता है फेंकता: JFException - कब अवधि समर्थित नहीं है getTimeForNBarsBack बार बार शुरू होता है जो संख्या है ऑफ़र्बर्स - 1 बार बार में जो पैरामीटर में निर्दिष्ट समय शामिल है । विधि का उपयोग करके getBars (com. dukascopy. api. Instrument, com. dukascopy. api. Period, com. dukascopy. api. OfferSide, लंबे, लंबा) विधि के लिए पैरामीटर से समय प्राप्त करने के लिए इस्तेमाल किया जा सकता है, जब अंतिम समय का ज्ञात समय बार और मोमबत्तियों की संख्या जिसे भारित करने की आवश्यकता है पैरामीटर: अवधि - बार बार की अवधि - अंतिम बार संख्या के समय ओफ़्बर्स - बार बार की संख्या जो कि पासबारी (com. dukascopy. एपीआई। इन्स्ट्रूमेंट, कॉमडोकस्किपी.एपीआई। पीरियड, कॉमडोकस्किपी.एपीआई। ओवरसर साइड, लम्बी, लम्बी) विधि रिटर्न: बार फेंकता का समय: JFException - कब अवधि समर्थित नहीं है getTimeForNBarsForward बार का प्रारंभ समय देता है भविष्य में नंबर ओफ़बर्स -1 है, जिसमें पैरामीटर से निर्दिष्ट समय शामिल है। विधि का उपयोग करने के लिए पैरामीटर में समय प्राप्त करने के लिए इस्तेमाल किया जा सकता है (com. dukascopy. api. Instrument, com. dukascopy. api. Pieriod, com. dukascopy. api. OfferSide, लंबे, लंबे) विधि जब पहली बार जाना जाता है bar and number of candles that needs to be loaded Parameters: period - period of the bars from - time of the first bar numberOfBars - number of bars that could be loaded when passing returned time and time specified in from parameter in getBars(com. dukascopy. api. Instrument, com. dukascopy. api. Period, com. dukascopy. api. OfferSide, long, long) method Returns: starting time of the last bar Throws: JFException - when period is not supported readOrdersHistory Loads orders from the server in the background. Method returns fast after creating request for data not waiting for any data to be loaded After internal request is sent, orders will be returned by calling method in ordersListener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method can be used for orders loading without blocking strategy execution NB Only one order history request can be sent at a time. If there is another request sent method will throw JFException Parameters: instrument - instrument of the orders from - start of the time interval for which orders should be loaded to - end time of the time interval for which orders should be loaded ordersListener - receives data about requested orders loadingProgress - used to control loading progress Throws: JFException - in case of any system error See Also: getOrdersHistory(Instrument instrument, long from, long to) readOrdersHistory Loads orders from the server in the background. Method returns fast after creating request for data not waiting for any data to be loaded After internal request is sent, orders will be returned by calling method in ordersListener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method can be used for orders loading without blocking strategy execution NB Only one order history request can be sent at a time. If there is another request sent method will throw JFException Parameters: financialInstrument - instrument of the orders from - start of the time interval for which orders should be loaded to - end time of the time interval for which orders should be loaded ordersListener - receives data about requested orders loadingProgress - used to control loading progress Throws: JFException - in case of any system error See Also: getOrdersHistory(IFinancialInstrument financialInstrument, long from, long to) getOrdersHistory Returns orders for specified instrument and time interval. Method blocks until all data will be loaded from the server. NB Only one order history request can be sent at a time. If there is another request sent method will throw JFException Parameters: instrument - instrument of the orders from - start of the time interval for which orders should be loaded to - end time of the time interval for which orders should be loaded Returns: loaded orders Throws: JFException - in case of any system error getOrdersHistory Returns orders for specified instrument and time interval. Method blocks until all data will be loaded from the server. NB Only one order history request can be sent at a time. If there is another request sent method will throw JFException Parameters: financialInstrument - instrument of the orders from - start of the time interval for which orders should be loaded to - end time of the time interval for which orders should be loaded Returns: loaded orders Throws: JFException - in case of any system error getHistoricalOrderById Returns historical (closed) order by position id for the given user account. Parameters: id - closed orders position id Returns: historical (closed) order with specified position id for the given user account or null if there is no one. Throws: JFException - in case of any system error Returns current equity calculated for every tick Returns tick for specified instrument, that is shifted back in time for number in ticks specified in shift parameter, 0 - current tick, 1 - previous tick. Parameters: instrument - instrument of the tick shift - number of tick back in time staring from current tick. 1 - previous tick, 2 - current tick minus 2 ticks and so on Returns: tick Throws: JFException - when instrument is not active (not opened in platform) or other errors Returns tick for specified instrument, that is shifted back in time for number in ticks specified in shift parameter, 0 - current tick, 1 - previous tick. Parameters: financialInstrument - instrument of the tick shift - number of tick back in time staring from current tick. 1 - previous tick, 2 - current tick minus 2 ticks and so on Returns: tick Throws: JFException - when instrument is not active (not opened in platform) or other errors getFeedData Returns bar for specified feed descriptor, that is shifted back in time for number in bars specified in shift parameter, 0 - current bar (currently generated), 1 - previous bar (last formed bar) If there is no bar loaded at that position, then function returns null. Parameters: feedDescriptor - holds parameters: data type, instrument, offer side, etc (depends on bar type), and describes what kind of bars must be loaded shift - number of bars back in time staring from current bar. 1 - previous bar, 2 - current bar minus 2 bars and so on Returns: bar or null if no bar is loaded, the type of returning bar depends on FeedDescriptor. getDataType() Throws: JFException - when some error occurs when loading data getFeedData A type-safe feed data retrieval for the specified feed getFeedData Returns bars for specified feed descriptor. Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException Parameters: feedDescriptor - holds parameters: data type, instrument, offer side, etc (depends on bar type), and describes what kind of bars must be loaded from - start of the time interval for which bars should be loaded to - end time of the time interval for which bars should be loaded. If there is bar with time equals to the time in to parameter then it will be loaded as well Returns: loaded bars Throws: JFException - when incorrect time interval is passed or some error occurs when loading data getFeedData A type-safe feed data retrieval for the specified feed getFeedData Returns bars for specified feedDescriptor. Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException . Parameters: feedDescriptor - holds parameters: data type, instrument, offer side, etc (depends on bar type), and describes what kind of bars must be loaded numberOfFeedBarsBefore - how much bars to load before and including bar with time specified in time parameter time - the time of the last bar in period specified in numberOfFeedBarsBefore parameter, or the time of the first bar in period specified with numberOfFeedBarsAfter parameter if numberOfFeedBarsBefore is 0, or the time of the bar prior to the first bar in period specified with numberOfFeedBarsAfter if numberOfFeedBarsBefore is 0 numberOfFeedBarsAfter - how much bars to load after (not including) bar with time specified in time parameter Returns: loaded bars Throws: JFException - when some error occurs when loading data getFeedData A type-safe feed data retrieval for the specified feed readFeedData Reads feed data from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, feed data items will be returned by calling method in feedListener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of bars without keeping them all in memory, and second is asynchronous processing Consider analyzing the last weeks renko bricks - namely calculating the average close price Parameters: feedDescriptor - feed descriptor of the feed data from - start of the time interval for which feed data items should be loaded. to - end time of the time interval for which feed data items should be loaded. feedListener - receives data about requested feed data items loadingProgress - used to control loading progress Throws: JFException - when some errors occurs readFeedData A type-safe feed data retrieval for the specified feed readFeedData Reads feed data from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, feed data will be returned by calling method in feedListener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of feed data without keeping them all in memory, and second is asynchronous processing Consider analyzing the last 1000 renko bricks - namely calculating the average close price Parameters: feedDescriptor - feed descriptor of the feed data numberOfFeedDataBefore - how much feed data items to load before and including feed data item with time specified in time parameter time - time of the last feed data item in period specified in numberOfFeedDataBefore parameter orand time of the feed data item prior first feed data item in period specified with numberOfFeedDataAfter parameter numberOfFeedDataAfter - how much feed data items to load after (not including) feed data item with time specified in time par ameter feedListener - receives feed data loadingProgress - used to control loading progress Throws: JFException - when some errors occurs readFeedData A type-safe feed data retrieval for the specified feed getPointAndFigure Returns Point and Figure for specified instrument, offer side, box size and reversal amount, that is shifted back in time for number in bars specified in shift parameter, 0 - current bar, 1 - previous bar (last formed bar) If there is no bar loaded at that position, then function returns null. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). To indicate specific base period andor data interpolation descriptor, use getFeedData(ITailoredFeedDescriptor, int) . Parameters: instrument - instrument of PF offerSide - bid or ask side of PF boxSize - box size of the PF reversalAmount - reversal amount of the PF shift - number of PF back in time staring from current PF. 1 - previous PF, 2 - current PF minus 2 bars and so on Returns: PF or null if no PF is loaded Throws: JFException - when shift value is negative or instrument is not active (not opened in platform) getPointAndFigures Returns Point and Figures for specified instrument, offer side, box size and reversal amount. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). To indicate specific base period andor data interpolation descriptor, use getFeedData(ITailoredFeedDescriptor, long, long). Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException If the requested period includes the bar that is not fully formed yet (in-progress bar), then it is included in result too Subscribe to Point and Figure live notification first, before call this method. Parameters: instrument - of PFs offerSide - offer side of PFs boxSize - box size of PFs reversalAmount - reversal amount of PFs from - start time of the time interval for which bars should be loaded. This time is included in interval start end of the first loaded bar to - end time of the time interval for which bars should be loaded. This time is included in interval start end of the last loaded bar Returns: loaded Point And Figures Throws: JFException - when incorrect time interval is passed or some error occurs when loading data getPointAndFigures Returns Point and Figures for specified instrument, offer side, box size and reversal amount. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). To indicate specific base period andor data interpolation descriptor, use getFeedData(ITailoredFeedDescriptor, int, long, int). Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException. If the requested period includes the bar that is not fully formed yet (in-progress bar), then it is included in result too Subscribe to Point and Figure live notification first, before call this method. Parameters: instrument - instrument of the PFs offerSide - offer side of the PFs boxSize - price range of the PFs numberOfBarsBefore - how much bars to load before and including bar with time specified in time parameter time - time of the last bar in period specified in numberOfBarsBefore parameter, or time of the first bar in period specified with numberOfBarsAfter parameter if numberOfBarsBefore is 0, or time of the candle prior to first candle in period specified with numberOfBarsAfter if numberOfBarsBefore is 0 numberOfBarsAfter - how much bars to load after (not including) bar with time specified in time parameter Returns: loaded bars Throws: JFException - when desired data amount is negative, etc or some error occurs when loading data readPointAndFigures Reads Point and Figures from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, bars will be returned by calling method in listener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of bars without keeping them all in memory, and second is asynchronous processing. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). Subscribe to Point and Figure live notification first, before call this method. Parameters: instrument - of PFs offerSide - offer side of PFs boxSize - box size of PFs reversalAmount - reversal amount of PFs from - start time of the time interval for which bars should be loaded. This time is included in interval start end of the first loaded bar to - end time of the time interval for which bars should be loaded. This time is included in interval start end of the last loaded bar listener - receives data about requested bars loadingProgress - used to control loading progress Throws: JFException - when incorrect time interval is passed or some error occurs when loading data readPointAndFigures Reads Point and Figures from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, bars will be returned by calling method in listener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of bars without keeping them all in memory, and second is asynchronous processing This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). Subscribe to Point and Figure live notification first, before call this method. Parameters: instrument - of PFs offerSide - offer side of PFs boxSize - box size of PFs reversalAmount - reversal amount of PFs numberOfBarsBefore - how much bars to load before and including bar with time specified in time parameter time - time of the last bar in period specified in numberOfBarsBefore parameter, or time of the first bar in period specified with numberOfBarsAfter parameter if numberOfBarsBefore is 0, or time of the candle prior to first candle in period specified with numberOfBarsAfter if numberOfBarsBefore is 0 numberOfBarsAfter - how much bars to load after (not including) bar with time specified in time parameter listener - receives data about requested bars loadingProgress - used to control loading progress Throws: JFException - when incorrect time interval is passed or some error occurs when loading data getTickBar Returns tick bar for specified instrument, offer side and tick bar size, that is shifted back in time for number in bars specified in shift parameter, 0 - current bar, 1 - previous bar (last formed bar) If there is no bar loaded at that position, then function returns null. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone. To indicate specific base period, use getFeedData(ITailoredFeedDescriptor, int) . Parameters: instrument - instrument of the tick bar offerSide - bid or ask side of the tick bar tickBarSize - tick bar size of the tick bar shift - number of tick bar back in time staring from current tick bar. 1 - previous tick bar, 2 - current tick bar minus 2 bars and so on Returns: range bar or null if no bar is loaded Throws: JFException - when shift value is negative or instrument is not active (not opened in platform) getTickBars Returns Tick Bars for specified instrument, offer side and tick bar size. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone. Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException If the requested period includes the bar that is not fully formed yet (in-progress bar), then it is included in result too Subscribe to Tick Bar live notification first, before call this method. Parameters: instrument - of Tick Bars offerSide - offer side of Tick Bars tickBarSize - tick bar size of Tick Bars from - start time of the time interval for which bars should be loaded. This time is included in interval start end of the first loaded bar to - end time of the time interval for which bars should be loaded. This time is included in interval start end of the last loaded bar Returns: loaded Tick Bars Throws: JFException - when incorrect time interval is passed or some error occurs when loading data getTickBars Returns Tick Bars for specified instrument, offer side and tick bar size. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone. Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException. If the requested period includes the bar that is not fully formed yet (in-progress bar), then it is included in result too Subscribe to Tick Bar live notification first, before call this method. Parameters: instrument - instrument of the tick bars offerSide - offer side of the tick bars tickBarSize - tick bar size of the tick bars numberOfBarsBefore - how much bars to load before and including bar with time specified in time parameter time - time of the last bar in period specified in numberOfBarsBefore parameter, or time of the first bar in period specified with numberOfBarsAfter parameter if numberOfBarsBefore is 0, or time of the candle prior to first candle in period specified with numberOfBarsAfter if numberOfBarsBefore is 0 numberOfBarsAfter - how much bars to load after (not including) bar with time specified in time parameter Returns: loaded bars Throws: JFException - when desired data amount is negative, etc or some error occurs when loading data readTickBars Reads Tick Bars from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, bars will be returned by calling method in listener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of bars without keeping them all in memory, and second is asynchronous processing This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone. Subscribe to Tick Bar live notification first, before call this method. Parameters: instrument - of Tick Bars offerSide - offer side of Tick Bars tickBarSize - tick bar size of Tick Bars from - start time of the time interval for which bars should be loaded. This time is included in interval start end of the first loaded bar to - end time of the time interval for which bars should be loaded. This time is included in interval start end of the last loaded bar listener - receives data about requested bars loadingProgress - used to control loading progress Throws: JFException - when incorrect time interval is passed or some error occurs when loading data readTickBars Reads Tick Bars from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, bars will be returned by calling method in listener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of bars without keeping them all in memory, and second is asynchronous processing This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone. Subscribe to Tick Bar live notification first, before call this method. Parameters: instrument - of Tick Bars offerSide - offer side of Tick Bars tickBarSize - tick bar size of Tick Bars numberOfBarsBefore - how much bars to load before and including bar with time specified in time parameter time - time of the last bar in period specified in numberOfBarsBefore parameter, or time of the first bar in period specified with numberOfBarsAfter parameter if numberOfBarsBefore is 0, or time of the candle prior to first candle in period specified with numberOfBarsAfter if numberOfBarsBefore is 0 numberOfBarsAfter - how much bars to load after (not including) bar with time specified in time parameter listener - receives data about requested bars loadingProgress - used to control loading progress Throws: JFException - when incorrect time interval is passed or some error occurs when loading data getRangeBars Returns Range Bars for specified instrument, offer side and price range. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException If the requested period includes the bar that is not fully formed yet (in-progress bar), then it is included in result too Subscribe to Range Bar live notification first, before call this method. Parameters: instrument - of Range Bars offerSide - offer side of Range Bars priceRange - price range of Range Bars from - start time of the time interval for which bars should be loaded. This time is included in interval start end of the first loaded bar to - end time of the time interval for which bars should be loaded. This time is included in interval start end of the last loaded bar Returns: loaded Range Bars Throws: JFException - when incorrect time interval is passed or some error occurs when loading data getRangeBars Returns Range Bars for specified instrument, offer side and price range. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException. If the requested period includes the bar that is not fully formed yet (in-progress bar), then it is included in result too Subscribe to Range Bar live notification first, before call this method. Parameters: instrument - instrument of the Range bars offerSide - offer side of the Range bars priceRange - price range of the Range bars numberOfBarsBefore - how much bars to load before and including bar with time specified in time parameter time - time of the last bar in period specified in numberOfBarsBefore parameter, or time of the first bar in period specified with numberOfBarsAfter parameter if numberOfBarsBefore is 0, or time of the candle prior to first candle in period specified with numberOfBarsAfter if numberOfBarsBefore is 0 numberOfBarsAfter - how much bars to load after (not including) bar with time specified in time parameter Returns: loaded bars Throws: JFException - when desired data amount is negative, etc or some error occurs when loading data readRangeBars Reads Range Bars from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, bars will be returned by calling method in listener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of bars without keeping them all in memory, and second is asynchronous processing This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). Subscribe to Range Bar live notification first, before call this method. Parameters: instrument - of Range Bars offerSide - offer side of Range Bars priceRange - price range of Range Bars from - start time of the time interval for which bars should be loaded. This time is included in interval start end of the first loaded bar to - end time of the time interval for which bars should be loaded. This time is included in interval start end of the last loaded bar listener - receives data about requested bars loadingProgress - used to control loading progress Throws: JFException - when incorrect time interval is passed or some error occurs when loading data readRangeBars Reads Range Bars from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, bars will be returned by calling method in listener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of bars without keeping them all in memory, and second is asynchronous processing This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). Subscribe to Range Bar live notification first, before call this method. Parameters: instrument - of Range Bars offerSide - offer side of Range Bars priceRange - price range of Range Bars numberOfBarsBefore - how much bars to load before and including bar with time specified in time parameter time - time of the last bar in period specified in numberOfBarsBefore parameter, or time of the first bar in period specified with numberOfBarsAfter parameter if numberOfBarsBefore is 0, or time of the candle prior to first candle in period specified with numberOfBarsAfter if numberOfBarsBefore is 0 numberOfBarsAfter - how much bars to load after (not including) bar with time specified in time parameter listener - receives data about requested bars loadingProgress - used to control loading progress Throws: JFException - when incorrect time interval is passed or some error occurs when loading data getRangeBar Returns range bar for specified instrument, offer side and price range, that is shifted back in time for number in bars specified in shift parameter, 0 - current bar, 1 - previous bar (last formed bar) If there is no bar loaded at that position, then function returns null. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone and default data interpolation descriptor ( DataInterpolationDescriptor. DEFAULT ). Parameters: instrument - instrument of the range bar offerSide - bid or ask side of the range bar priceRange - price range of the range bar shift - number of range bar back in time staring from current range bar. 1 - previous range bar, 2 - current range bar minus 2 bars and so on Returns: range bar or null if no bar is loaded Throws: JFException - when shift value is negative or instrument is not active (not opened in platform) getRenkoBar Returns renko bar for specified instrument, offer side and brick size, that is shifted back in time for number in bars specified in shift parameter, 0 - current bar, 1 - previous bar (last formed bar) If there is no bar loaded at that position, then function returns null. This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone, default renko session ( Period. ONEMIN ) and default price point ( RenkoCreationPoint. CLOSE ). Parameters: instrument - instrument of the Renko bar offerSide - bid or ask side of the Renko bar brickSize - price range of the Renko bar shift - number of bar back in time staring from current bar. 1 - previous bar, 2 - current bar minus 2 bars and so on Returns: Renko bar or null if no bar is loaded Throws: JFException - when shift value is negative or instrument is not active (not opened in platform) getRenkoBars Returns Renko Bars for specified instrument, offer side and brick size. Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException If the requested period includes the bar that is not fully formed yet (in-progress bar), then it is included in result too This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone, default renko session ( Period. ONEMIN ) and default price point ( RenkoCreationPoint. CLOSE ). Subscribe to Renko Bar live notification first, before call this method. Parameters: instrument - of Renko Bars offerSide - offer side of Renko Bars brickSize - price range of Renko Bars from - start time of the time interval for which bars should be loaded. This time is included in interval start end of the first loaded bar to - end time of the time interval for which bars should be loaded. This time is included in interval start end of the last loaded bar Returns: loaded Renko Bars Throws: JFException - when incorrect time interval is passed or some error occurs when loading data getRenkoBars Returns Renko Bars for specified instrument, offer side and brick size. Method blocks until all data will be loaded from the server into local cache and then read and stored in collection. Because all the data is loaded into the memory, this method should be used with caution to not load too much data which can lead to OutOfMemoryException. If the requested period includes the bar that is not fully formed yet (in-progress bar), then it is included in result too This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone, default renko session ( Period. ONEMIN ) and default price point ( RenkoCreationPoint. CLOSE ). Subscribe to Renko Bar live notification first, before call this method. Parameters: instrument - instrument of the Renko bars offerSide - offer side of the Renko bars brickSize - price range of the Renko bars numberOfBarsBefore - how much bars to load before and including bar with time specified in time parameter time - time of the last bar in period specified in numberOfBarsBefore parameter, or time of the first bar in period specified with numberOfBarsAfter parameter if numberOfBarsBefore is 0, or time of the candle prior to first candle in period specified with numberOfBarsAfter if numberOfBarsBefore is 0 numberOfBarsAfter - how much bars to load after (not including) bar with time specified in time parameter Returns: loaded bars Throws: JFException - when desired data amount is negative, etc or some error occurs when loading data readRenkoBars Reads Renko Bars from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, bars will be returned by calling method in listener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of bars without keeping them all in memory, and second is asynchronous processing This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone, default renko session ( Period. ONEMIN ) and default price point ( RenkoCreationPoint. CLOSE ). Subscribe to Renko Bar live notification first, before call this method. Parameters: instrument - of Renko Bars offerSide - offer side of Renko Bars brickSize - price range of Renko Bars from - start time of the time interval for which bars should be loaded. This time is included in interval start end of the first loaded bar to - end time of the time interval for which bars should be loaded. This time is included in interval start end of the last loaded bar listener - receives data about requested bars loadingProgress - used to control loading progress Throws: JFException - when incorrect time interval is passed or some error occurs when loading data readRenkoBars Reads Renko Bars from the local cache in the background. Method returns fast after creating request for data not waiting for any data to be read from local cache. After internal request is sent, bars will be returned by calling method in listener. LoadingProgressListener is used to receive feedback about loading progress, to cancel loading and its method LoadingProgressListener. loadingFinished(boolean, long, long, long) is called when loading is finished or as a result of error This method has two main purposes: one is to load a lot of bars without keeping them all in memory, and second is asynchronous processing This method uses default base period IFeedDescriptor. DEFAULTBASEPERIOD. which has EET time zone, default renko session ( Period. ONEMIN ) and default price point ( RenkoCreationPoint. CLOSE ). Subscribe to Renko Bar live notification first, before call this method. Parameters: instrument - of Renko Bars offerSide - offer side of Renko Bars brickSize - price range of Renko Bars numberOfBarsBefore - how much bars to load before and including bar with time specified in time parameter time - time of the last bar in period specified in numberOfBarsBefore parameter, or time of the first bar in period specified with numberOfBarsAfter parameter if numberOfBarsBefore is 0, or time of the candle prior to first candle in period specified with numberOfBarsAfter if numberOfBarsBefore is 0 numberOfBarsAfter - how much bars to load after (not including) bar with time specified in time parameter listener - receives data about requested bars loadingProgress - used to control loading progress Throws: JFException - when incorrect time interval is passed or some error occurs when loading data

No comments:

Post a Comment