Jforex Api Storia Registrazione


Descrizione dei metodi getTimeOfLastTick restituisce ora dell'ultima tick ricevuto per lo strumento specifico. Restituisce -1 se non segno di spunta è stato ricevuto ancora. Parametri: strumento - strumento dei rendimenti tick: ora dell'ultima tick oppure -1 se non segno di spunta è stata ricevuta Genera: JFException - quando lo strumento non è attivo (non aperto in piattaforma) getTimeOfLastTick restituisce ora dell'ultima tick ricevuto per lo strumento specifico. Restituisce -1 se non segno di spunta è stato ricevuto ancora. Parametri: financialInstrument - strumento dei rendimenti tick: tempo di ultimo tick oppure -1 se non segno di spunta è stata ricevuta Genera: JFException - quando lo strumento non è attivo (non aperto in piattaforma) getLastTick restituisce ultimo tick per i parametri dello strumento specificati: strumento - strumento di Resi tick: tick Produce: JFException - quando lo strumento non è attivo (non aperto in piattaforma) getLastTick restituisce ultimo tick per i parametri dello strumento specificati: financialInstrument - strumento dei rendimenti tick: tick Genera: JFException - quando lo strumento non è attivo (non aperto piattaforma) getStartTimeOfCurrentBar Restituisce tempo della barra corrente (bar attualmente generato da zecche) per lo strumento e il periodo specificato di partenza. Se nessun segno di spunta è stato ricevuto per questo strumento, poi ritorna -1. Parametri: strumento - strumento del periodo bar - periodo dei rendimenti a barre: il tempo della barra corrente di avviamento o -1 se non è stata ricevuta segno di spunta Genera: JFException - quando periodo non è supportato o strumento non è attivo (non aperto in piattaforma) getStartTimeOfCurrentBar restituisce ora di inizio della barra corrente (bar attualmente generato da zecche) per lo strumento e il periodo specificato. Se nessun segno di spunta è stato ricevuto per questo strumento, poi ritorna -1. Parametri: financialInstrument - strumento del periodo bar - periodo dei rendimenti a barre: il tempo della barra corrente di avviamento o -1 se non è stata ricevuta segno di spunta Genera: JFException - quando periodo non è supportato o strumento non è attivo (non aperto in piattaforma) I ritorni bar per strumento specificato, il periodo e laterale, che viene spostato indietro nel tempo per il numero nei bar specificato nel parametro turno, 0 - barra corrente (attualmente generata da zecche), 1 - precedente bar (barra di ultima formato) Se non c'è un bar caricata in quella posizione, poi funzione restituisce null. prendere in considerazione ottenere i precedenti un'ora bar Parametri: strumento - strumento del periodo bar - periodo del lato del bar - offerta o chiedere lato del cambio bar - numero di candela indietro nel tempo a guardare dalla barra corrente. 1 - precedente bar, 2 - bar corrente meno 2 bar e così via ritorni: bar o null se è stato caricato nessun bar Produce: JFException - quando periodo non è supportato o strumento non è attivo (non aperto in piattaforma) Restituisce bar per strumento specificato , il periodo e laterale, che viene spostato indietro nel tempo per il numero nei bar specificato nel parametro turno, 0 - barra corrente (attualmente generata da zecche), 1 - barra precedente (bar ultima formato) Se non c'è un bar caricato in quella posizione, allora la funzione restituisce null. prendere in considerazione ottenere i precedenti un'ora bar Parametri: financialInstrument - strumento del periodo bar - periodo del lato del bar - offerta o chiedere lato del cambio bar - numero di candela indietro nel tempo a guardare dalla barra corrente. 1 - bar precedente, 2 - bar corrente meno di 2 bar e così via ritorni: bar o null se viene caricato nessun bar Produce: JFException - quando periodo non è supportato o strumento non è attivo (non aperto in piattaforma) Legge zecche dal locale cache in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, zecche saranno restituiti chiamando metodi in tickListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore. Questo metodo ha due scopi principali: uno è quello di caricare un sacco di zecche senza di loro tutto mantenendo in memoria, e la seconda è l'elaborazione asincrona Considerare l'analisi degli ultimi giorni zecche - cioè il calcolo della media chiedere prezzo ed i parametri massimi di offerta: strumento - strumento di le zecche da - inizio dell'intervallo di tempo durante il quale le zecche devono essere caricati - ora di fine dell'intervallo di tempo per cui le zecche devono essere caricati. Se c'è zecca con il tempo uguale al tempo per il parametro allora verrà caricato così tickListener - riceve i dati su richiesta zecche loadingProgress - usato per controllare il processo di caricamento Genera: JFException - quando si verifica un errore durante la creazione richiesta interna per i dati Legge zecche dalla cache locale in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, zecche saranno restituiti chiamando metodi in tickListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore. Questo metodo ha due scopi principali: uno è quello di caricare un sacco di zecche senza di loro tutto mantenendo in memoria, e la seconda è l'elaborazione asincrona Considerare l'analisi degli ultimi giorni zecche - cioè il calcolo della media chiedere prezzo ed i parametri massimi di offerta: financialInstrument - strumento di le zecche da - inizio dell'intervallo di tempo durante il quale le zecche devono essere caricati - ora di fine dell'intervallo di tempo per cui le zecche devono essere caricati. Se c'è zecca con il tempo uguale al tempo per il parametro allora verrà caricato così tickListener - riceve i dati su richiesta zecche loadingProgress - usato per controllare il processo di caricamento Genera: JFException - quando si verifica un errore durante la creazione richiesta interna per i dati Legge zecche dalla cache locale in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, zecche verrà restituito dal metodo chiamando in tickListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore Questo metodo ha due scopi principali: uno è quello di caricare un sacco di zecche senza di loro tutto mantenendo in memoria, e la seconda è parametri di elaborazione asincrona: strumento - strumento della numberOfOneSecondIntervalsBefore zecche - quanto uno secondo intervallo di zecche per caricare prima e di cui uno secondo intervallo di zecche con il tempo specificato nel parametro tempo tempo - ora dell'ultima intervallo di un secondo segno di spunta nel periodo indicato numberOfOneSecondIntervalsBefore tempo parametro Orand di di un secondo tick intervallo prima primo intervallo uno secondo tick nel periodo specificato con numberOfOneSecondIntervalsAfter parametro numberOfOneSecondIntervalsAfter - quanto intervalli di un secondo tick a carico dopo (non incluso ) un secondo intervallo tick con il tempo specificato nel parametro tempo tickListener - riceve i dati su richiesta zecche loadingProgress - utilizzato per controllare il progresso di caricamento Genera: JFException - se si verificano alcuni errori Legge zecche dalla cache locale in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, zecche verrà restituito dal metodo chiamando in tickListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore Questo metodo ha due scopi principali: uno è quello di caricare un sacco di zecche senza di loro tutto mantenendo in memoria, e la seconda è asincrona parametri di lavorazione: financialInstrument - strumento finanziario della numberOfOneSecondIntervalsBefore zecche - quanto uno secondo intervallo di zecche per caricare prima e di cui uno secondo intervallo di zecche con il tempo specificato nel tempo tempo parametro - ora l'ultimo secondo intervallo tick nel periodo indicato numberOfOneSecondIntervalsBefore tempo parametro Orand di di un secondo tick intervallo prima primo intervallo uno secondo tick nel periodo specificato con numberOfOneSecondIntervalsAfter parametro numberOfOneSecondIntervalsAfter - quanto intervalli di un secondo tick per caricare dopo (non compresi) un secondo intervallo tick con il tempo specificato nel parametro tempo tickListener - riceve i dati su richiesta zecche loadingProgress - utilizzato per controllare il progresso di caricamento Genera: JFException - se si verificano alcuni errori Legge bar dalla cache locale in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, bar saranno restituiti con il metodo chiamando in barListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore Questo metodo ha due scopi principali: uno è quello di caricare un sacco di bar senza di loro tutto mantenendo in memoria, e la seconda è l'elaborazione asincrona Considerare l'analisi delle ultime settimane 1 bar minuto - cioè il calcolo del prezzo medio di chiusura e dei parametri di dimensione massima bar: strumento - strumento del periodo di bar - periodo bar lato - lato delle barre da - inizio dell'intervallo di tempo in cui devono essere caricati bar. Dovrebbe essere l'ora esatta di partenza della barra per il periodo specificato. Vedere getBarStart descrizione (Periodo, lunga) se si vuole ottenere barra orario di inizio per la barra che include tempo specifico per - ora di fine dell'intervallo di tempo per il quale barre dovrebbero essere caricato. Questo è il momento di iniziare l'ultimo bar per essere caricato barListener - riceve i dati su bar richiesti loadingProgress - utilizzato per controllare il progresso di caricamento Produce: JFException - quando periodo non è supportato o intervallo di tempo non è valida per il periodo specificato Vedi anche: getBarStart (Periodo , lungo) Legge bar dalla cache locale in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, bar saranno restituiti con il metodo chiamando in barListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore Questo metodo ha due scopi principali: uno è quello di caricare un sacco di bar senza di loro tutto mantenendo in memoria, e la seconda è l'elaborazione asincrona Considerare l'analisi delle ultime settimane 1 bar minuto - cioè il calcolo del prezzo medio di chiusura e dei parametri di dimensione massima bar: financialInstrument - strumento del periodo di bar - periodo bar lato - lato delle barre da - inizio dell'intervallo di tempo in cui devono essere caricati bar. Dovrebbe essere l'ora esatta di partenza della barra per il periodo specificato. Vedere getBarStart descrizione (Periodo, lunga) se si vuole ottenere barra orario di inizio per la barra che include tempo specifico per - ora di fine dell'intervallo di tempo per il quale barre dovrebbero essere caricato. Questo è il momento di iniziare l'ultimo bar per essere caricato barListener - riceve i dati su bar richiesti loadingProgress - utilizzato per controllare il progresso di caricamento Produce: JFException - quando periodo non è supportato o intervallo di tempo non è valida per il periodo specificato Vedi anche: getBarStart (Periodo , lungo) Legge bar dalla cache locale in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, bar saranno restituiti con il metodo chiamando in barListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore Questo metodo ha due scopi principali: uno è quello di caricare un sacco di bar senza di loro tutto mantenendo in memoria, e la seconda è l'elaborazione asincrona Considerare l'analisi delle ultime settimane 1 bar minuto - cioè il calcolo del prezzo medio di chiusura e dei parametri di dimensione massima bar: strumento - strumento del periodo di bar - periodo barre laterali - lato del filtro bar - bar metodo di filtraggio vedere Filter da - inizio dell'intervallo di tempo per il quale devono essere caricati bar. Dovrebbe essere l'ora esatta di partenza della barra per il periodo specificato. Vedere getBarStart descrizione (Periodo, lunga) se si vuole ottenere barra orario di inizio per la barra che include tempo specifico per - ora di fine dell'intervallo di tempo per il quale barre dovrebbero essere caricato. Questo è il momento di iniziare l'ultimo bar per essere caricato barListener - riceve i dati su bar richiesti loadingProgress - utilizzato per controllare il progresso di caricamento Produce: JFException - quando periodo non è supportato o intervallo di tempo non è valida per il periodo specificato Vedi anche: getBarStart (Periodo , lungo) Legge bar dalla cache locale in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, bar saranno restituiti con il metodo chiamando in barListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore Questo metodo ha due scopi principali: uno è quello di caricare un sacco di bar senza di loro tutto mantenendo in memoria, e la seconda è l'elaborazione asincrona Considerare l'analisi delle ultime settimane 1 bar minuto - cioè il calcolo del prezzo medio di chiusura e dei parametri di dimensione massima bar: financialInstrument - strumento del periodo di bar - periodo barre laterali - lato del filtro bar - bar metodo di filtraggio vedere Filter da - inizio dell'intervallo di tempo per il quale devono essere caricati bar. Dovrebbe essere l'ora esatta di partenza della barra per il periodo specificato. Vedere getBarStart descrizione (Periodo, lunga) se si vuole ottenere barra orario di inizio per la barra che include tempo specifico per - ora di fine dell'intervallo di tempo per il quale barre dovrebbero essere caricato. Questo è il momento di iniziare l'ultimo bar per essere caricato barListener - riceve i dati su bar richiesti loadingProgress - utilizzato per controllare il progresso di caricamento Produce: JFException - quando periodo non è supportato o intervallo di tempo non è valida per il periodo specificato Vedi anche: getBarStart (Periodo , lungo) Legge bar dalla cache locale in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, bar saranno restituiti con il metodo chiamando in barListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore Questo metodo ha due scopi principali: uno è quello di caricare un sacco di bar senza di loro tutto mantenendo in memoria, e la seconda è l'elaborazione asincrona consideri analizzando le barre 100000 1 minuto - cioè il calcolo del prezzo medio di chiusura e dei parametri di dimensione massima bar: strumento - strumento del periodo di bar - periodo di barre lato - lato del filtro barre - consente di filtrare le candele numberOfCandlesBefore - quanto candele a carico prima e tra cui la candela con il tempo specificato in tempo parametro di tempo - il tempo delle ultime candele nel periodo specificato nel numberOfCandlesBefore tempo parametro Orand della candela prima prima candela nel periodo indicato con numberOfCandlesAfter parametro numberOfCandlesAfter - quanto candele a carico dopo (non incluso) candela con il tempo specificato nel parametro tempo barListener - riceve dati su bar richiesti loadingProgress - utilizzati per il controllo avanzamento del caricamento Produce: JFException - quando periodo non è supportato o tempo intervallo non è valida per il periodo specificato Vedi anche: getBarStart (periodo, lunga) Legge bar dalla cache locale in background. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di eventuali dati da leggere dalla cache locale. Dopo richiesta interna viene inviata, bar saranno restituiti con il metodo chiamando in barListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore Questo metodo ha due scopi principali: uno è quello di caricare un sacco di bar senza di loro tutto mantenendo in memoria, e la seconda è l'elaborazione asincrona Considerare analizzando le barre 100000 1 minuto - cioè il calcolo del prezzo medio di chiusura e dei parametri di dimensione massima bar: financialInstrument - strumento del periodo di bar - periodo di barre lato - lato del filtro barre - consente di filtrare le candele numberOfCandlesBefore - quanto candele a carico prima e tra cui la candela con il tempo specificato in tempo parametro di tempo - il tempo delle ultime candele nel periodo specificato nel numberOfCandlesBefore tempo parametro Orand della candela prima prima candela nel periodo indicato con numberOfCandlesAfter parametro numberOfCandlesAfter - quanto candele a carico dopo (non incluso) candela con il tempo specificato nel parametro tempo barListener - riceve dati su bar richiesti loadingProgress - utilizzati per il controllo avanzamento del caricamento Produce: JFException - quando periodo non è supportato o tempo intervallo non è valida per il periodo specificato Vedi anche: getBarStart (periodo, lunga) Restituisce zecche per lo strumento specifico e l'intervallo di tempo. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati in memoria, questo metodo dovrebbe essere usato con cautela per non caricare i dati troppo che può portare a OutOfMemoryException Parametri: strumento - strumento di zecche da - inizio dell'intervallo di tempo per il quale le zecche dovrebbe essere caricato a - ora di fine dell'intervallo di tempo per cui le zecche devono essere caricati. Se c'è zecca con il tempo uguale al tempo per il parametro allora sarà caricato come pure ritorni: zecche caricati Produce: JFException - quando si verifica un errore durante il caricamento restituisce i dati zecche per lo strumento specifico e l'intervallo di tempo. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati in memoria, questo metodo dovrebbe essere usato con cautela per non caricare i dati troppo che può portare a OutOfMemoryException Parametri: financialInstrument - strumento delle zecche da - inizio dell'intervallo di tempo per il quale le zecche dovrebbe essere caricato a - ora di fine dell'intervallo di tempo per cui le zecche devono essere caricati. Se c'è zecca con il tempo uguale al tempo per il parametro allora sarà caricato come pure ritorni: zecche caricati Produce: JFException - quando si verifica un errore durante il caricamento restituisce i dati zecche per lo strumento specifico, il tempo e contare. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati in memoria, questo metodo dovrebbe essere usato con cautela per non caricare i dati troppo che può portare a OutOfMemoryException Parametri: strumento - strumento della numberOfOneSecondIntervalsBefore zecche - quanto uno secondo intervallo di zecche per caricare prima e compreso intervallo di un secondo di zecche con il tempo specificato in tempo parametro tempo - ora l'ultimo secondo intervallo tick nel periodo indicato numberOfOneSecondIntervalsBefore tempo parametro Orand di di un secondo tick intervallo prima primo intervallo uno secondo tick nel periodo specificato con numberOfOneSecondIntervalsAfter parametro numberOfOneSecondIntervalsAfter - come molto intervalli di un secondo tick per caricare dopo (non incluso) un secondo intervallo tick con il tempo specificato nel tempo ritorni parametri: zecche caricati Produce: JFException - quando si verifica un errore durante il caricamento restituisce i dati zecche per lo strumento specifico, il tempo e contare. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati in memoria, questo metodo dovrebbe essere usato con cautela per non caricare i dati troppo che può portare a OutOfMemoryException Parametri: financialInstrument - strumento della numberOfOneSecondIntervalsBefore zecche - quanto uno secondo intervallo di zecche per caricare prima e compreso intervallo di un secondo di zecche con il tempo specificato in tempo parametro tempo - ora l'ultimo secondo intervallo tick nel periodo indicato numberOfOneSecondIntervalsBefore tempo parametro Orand di di un secondo tick intervallo prima primo intervallo uno secondo tick nel periodo specificato con numberOfOneSecondIntervalsAfter parametro numberOfOneSecondIntervalsAfter - come molto intervalli di un secondo tick per caricare dopo (non incluso) un secondo intervallo tick con il tempo specificato nel tempo ritorni parametri: zecche caricati Produce: JFException - quando si verifica un errore durante il caricamento dei dati restituisce bar per strumento specificato, periodo e laterale. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati in memoria, questo metodo dovrebbe essere usato con cautela per non caricare i dati troppo che può portare a OutOfMemoryException Prendere in considerazione ottenere 5 bar in un intervallo di tempo: Prendere in considerazione ottenere barre giornaliere nell'arco di diversi mesi: Parametri: strumento - strumento del periodo barre - periodo di lato barre - lato delle barre da - inizio dell'intervallo di tempo in cui devono essere caricati bar. Dovrebbe essere l'ora esatta di partenza della barra per il periodo specificato. Vedere getBarStart descrizione (Periodo, lunga) se si vuole ottenere barra orario di inizio per la candela che include tempo specifico per - ora di fine dell'intervallo di tempo per il quale barre dovrebbero essere caricato. Questo è il momento di iniziare l'ultima candela da caricare Returns: barre caricate Produce: JFException - quando periodo non è supportato o qualche errore si verifica durante il caricamento dei dati restituisce bar per strumento specificato, periodo e laterale. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati nella memoria, questo metodo dovrebbe essere utilizzato con cautela per non caricare troppi dati che possono portare a OutOfMemoryException considerazione ottenere 5 bar per un intervallo di tempo: Parametri: financialInstrument - strumento del periodo barre - periodo bar lato - lato delle barre da - inizio dell'intervallo di tempo in cui devono essere caricati bar. Dovrebbe essere l'ora esatta di partenza della barra per il periodo specificato. Vedere getBarStart descrizione (Periodo, lunga) se si vuole ottenere barra orario di inizio per la candela che include tempo specifico per - ora di fine dell'intervallo di tempo per il quale barre dovrebbero essere caricato. Questo è il momento di iniziare l'ultima candela da caricare Returns: barre caricate Produce: JFException - quando periodo non è supportato o qualche errore si verifica durante il caricamento dei dati restituisce bar per strumento specificato, periodo, lato e filtro. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati nella memoria, questo metodo dovrebbe essere utilizzato con cautela per non caricare troppi dati che possono portare a OutOfMemoryException Parametri: strumento - strumento del periodo barre - periodo di lato barre - lato del filtro barre - bar metodo di filtraggio vedere Filter da - inizio dell'intervallo di tempo per il quale devono essere caricati bar. Dovrebbe essere l'ora esatta di partenza della barra per il periodo specificato. Vedere getBarStart descrizione (Periodo, lunga) se si vuole ottenere barra orario di inizio per la candela che include tempo specifico per - ora di fine dell'intervallo di tempo per il quale barre dovrebbero essere caricato. Questo è il momento di iniziare l'ultima candela da caricare Returns: barre caricate Produce: JFException - quando periodo non è supportato o qualche errore si verifica durante il caricamento dei dati restituisce bar per strumento specificato, periodo, lato e filtro. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati nella memoria, questo metodo dovrebbe essere utilizzato con cautela per non caricare troppi dati che possono portare a OutOfMemoryException Parametri: financialInstrument - strumento del periodo barre - periodo di lato barre - lato del filtro barre - bar metodo di filtraggio vedere Filter da - inizio dell'intervallo di tempo per il quale devono essere caricati bar. Dovrebbe essere l'ora esatta di partenza della barra per il periodo specificato. Vedere getBarStart descrizione (Periodo, lunga) se si vuole ottenere barra orario di inizio per la candela che include tempo specifico per - ora di fine dell'intervallo di tempo per il quale barre dovrebbero essere caricato. Questo è il momento di iniziare l'ultima candela da caricare Returns: barre caricate Produce: JFException - quando periodo non è supportato o qualche errore si verifica durante il caricamento dei dati restituisce bar per strumento specificato, periodo e laterale. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati nella memoria, questo metodo dovrebbe essere utilizzato con cautela per non caricare troppi dati che possono portare a OutOfMemoryException. Se il periodo richiesto include la barra che non è ancora completamente formato (in-progress bar), allora è incluso anche se il suo piatto Prendere in considerazione ottenere 5 bar nel corso di un intervallo di candela: Parametri: strumento - strumento del periodo barre - periodo della barre laterali - lato del filtro barre - consente di filtrare le candele numberOfCandlesBefore - quanto candele a carico prima e tra cui la candela con il tempo specificato in tempo parametro di tempo - ora dell'ultima candela nel periodo specificato nel parametro numberOfCandlesBefore, o il tempo della prima candela nel periodo indicato con il parametro numberOfCandlesAfter se numberOfCandlesBefore è 0, o il tempo della candela prima di prima candela nel periodo specificato con numberOfCandlesAfter se numberOfCandlesBefore è 0 numberOfCandlesAfter - quanto candele a carico dopo (non incluso) candela con il tempo specificato nel tempo ritorni parametri: barre caricate Produce: JFException - quando periodo non è supportato o qualche errore si verifica quando il caricamento dei dati restituisce bar per strumento specificato, periodo e laterale. blocchi metodo finché tutti i dati verranno caricati dal server nella cache locale e poi letti e memorizzati in collezione. Poiché tutti i dati vengono caricati nella memoria, questo metodo dovrebbe essere utilizzato con cautela per non caricare troppi dati che possono portare a OutOfMemoryException. Se il periodo richiesto include la barra che non è ancora completamente formato (in-progress bar), allora è incluso anche se il suo piatto Prendere in considerazione ottenere 5 bar nel corso di un intervallo di candela: Parametri: financialInstrument - strumento del periodo barre - periodo della barre laterali - lato del filtro barre - consente di filtrare le candele numberOfCandlesBefore - quanto candele a carico prima e tra cui la candela con il tempo specificato in tempo parametro di tempo - ora dell'ultima candela nel periodo specificato nel parametro numberOfCandlesBefore, o il tempo della prima candela nel periodo indicato con il parametro numberOfCandlesAfter se numberOfCandlesBefore è 0, o il tempo della candela prima di prima candela nel periodo specificato con numberOfCandlesAfter se numberOfCandlesBefore è 0 numberOfCandlesAfter - quanto candele a carico dopo (non incluso) candela con il tempo specificato nel tempo ritorni parametri: barre caricate Produce: JFException - quando periodo non è supportato o un errore si verifica durante il caricamento restituisce i dati getBarStart tempo della barra che include tempo specificato in parametro ora di partenza: periodo - periodo di tempo bar - il tempo che è incluso con i ritorni a barre : ora di inizio della barra Genera: JFException - quando periodo non è supportato getNextBarStart Restituisce tempo di avviamento del bar accanto alla barra che include tempo specificato in Bartime parametro: periodo - periodo della barra Bartime - il tempo che è incluso dalla barra Precedente ai ritorni restituiti: ora di inizio della barra Produce: JFException - quando periodo non è supportata getPreviousBarStart Restituisce tempo della barra precedente alla barra che include tempo specificato in Bartime parametro di partenza: periodo - periodo al bar Bartime - volta che è incluso dal bar accanto ai rendimenti restituiti: tempo a fissare della barra Genera: JFException - quando periodo non è supportata getTimeForNBarsBack restituisce ora di inizio del bar che è numberOfBars - 1 indietro nel tempo al bar che comprende tempo specificato per il parametro . Metodo può essere utilizzato per ottenere il tempo per il parametro da per getBars (com. dukascopy. api. Instrument, com. dukascopy. api. Period, com. dukascopy. api. OfferSide, lungo, lungo) metodo quando è l'ora dell'ultima nota bar e il numero di candele che deve essere caricato Parametri: periodo - periodo delle barre - il tempo delle ultime numberOfBars bar - numero di barre che possono essere caricati quando passa il tempo tornato e il tempo specificato nel parametro di a getBars (com. dukascopy. api. Instrument, com. dukascopy. api. Period, com. dukascopy. api. OfferSide, lunghe, lunghe) restituisce: ora di inizio della barra Genera: JFException - quando periodo non è supportata getTimeForNBarsForward restituisce ora di inizio della barra che è numberOfBars - 1 in futuro per la barra che include tempo specificato dal parametro. Metodo può essere utilizzato per ottenere il tempo per il al parametro per getBars (com. dukascopy. api. Instrument, com. dukascopy. api. Period, com. dukascopy. api. OfferSide, lungo, lungo) metodo quando è tempo della prima nota bar e il numero di candele che ha bisogno di essere caricati i parametri: periodo - periodo delle barre da - tempo dei primi numberOfBars bar - numero di barre che possono essere caricati quando passa il tempo tornato e il tempo specificato nel parametro da a getBars (com. dukascopy. api. Instrument, com. dukascopy. api. Period, com. dukascopy. api. OfferSide, lunghe, lunghe) restituisce: a partire momento dell'ultima barra di Genera: JFException - quando periodo non è supportato Carica readOrdersHistory ordini dal server in lo sfondo. Metodo restituisce veloce dopo la creazione di richiesta di dati non in attesa di tutti i dati che devono essere caricati Dopo richiesta interna è inviata, gli ordini sarà restituito con il metodo chiamando in ordersListener. LoadingProgressListener viene utilizzato per ricevere un feedback sul progresso di caricamento, di annullare il carico e il suo metodo LoadingProgressListener. loadingFinished (booleano, lunga, lunga, lunga) viene chiamato quando il caricamento è finito o come risultato di un errore Questo metodo può essere utilizzato per gli ordini di carico senza bloccare esecuzione della strategia NB Solo un ordine richiesta storia può essere inviata alla volta. 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 parameter 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 dataLetter from the President Dear Audio Professional, API has a history rooted in the 1960s mdash the decade when the search for preserving audio quality was at its most frantic. The now-legendary recordings that were made during the 60s and 70s live on today as historic landmarks for the music industry. I am proud to say that API was an integral part of that past and is proud to carry on that tradition. Today API is both pleased and gratified to continue to play a major role in the recording and production of music. As we enter our fifth decade of manufacturing the best audio gear we can, API stands ready to deliver that same warm analog quotmagicquot that we have been known for since the 1960s. I was thrilled with the opportunity to acquire API more than 10 years ago, and I am just as thrilled today, as it remains an exciting time to be producing such extraordinary audio equipment. The quotstandardquot API products like the 512c Mic Preamp, 525 Compressor and the 550b EQs continue to win listening tests, technology awards, and new fans, while the quotnewerquot products such as the 2500 Bus Compressor, the A 2 D Mic Pre, the 527 Compressor and the phenomenally successful 1608 console demonstrate just why API gear is involved in so many of todays top recorded projects ndash everything from slammin demos to chart-topping hits. With our long-standing tradition of providing a no hassle, 5-year parts warranty on every product we make, the demand for API continues to increase. I invite you to make an investment in the API tradition, and in turn, I would like to welcome you to the API club of enthusiastic and dedicated Audio Professionals. Best regards, Larry Droppa President API An Abbreviated History of API In 1968, Automated Processes, Inc. was formed by engineers and music professionals with a vision. Today API is well known for many contributions to the field as well as a long-standing trademark warm sound. The 2520 amplifier, a unique amp invented by co-founder Saul Walker has been and will continue to be at the heart of all API discrete products. The 2520 continues to provide reliability and sonic purity unmatched by the competition. The early API consoles met the needs of music, commercial and broadcast industries. API became the leading audio broadcast console manufacturer for radio and television networks and high profile stations. In addition, recording studios, large and small, began using API. and receiving rave reviews from engineers and producers. There are over 700 API consoles across the nation and around the world, including the three major networks. Over forty years later, many of these consoles are still in daily use in some of the most prestigious recording and broadcast facilities in the world because, to date, there are few, if any consoles of equal sound quality at such a cost-effective price. API co-founder Saul Walker creates the 2520 Discrete Circuit

Comments