jp.sourceforge.orangesignal.trading.strategy.systems
クラス ChannelBreakoutShortEntry

java.lang.Object
  上位を拡張 jp.sourceforge.orangesignal.trading.strategy.AbstractStrategy
      上位を拡張 jp.sourceforge.orangesignal.trading.strategy.StrategySupport
          上位を拡張 jp.sourceforge.orangesignal.trading.strategy.systems.ChannelBreakoutShortEntry
すべての実装されたインタフェース:
Strategy

public class ChannelBreakoutShortEntry
extends StrategySupport


フィールドの概要
protected  Number[] lowest
           
 
コンストラクタの概要
ChannelBreakoutShortEntry()
           
 
メソッドの概要
 int getPeriod()
          期間を返します。
 FourPrice getPrice()
          4本値の種類を返します。
 void init()
          ストラテジーを初期化します。
 StrategyStatus process()
          ストラテジーを処理します。
 void setPeriod(int period)
          期間を設定します。
 void setPrice(FourPrice price)
          4本値の種類を設定します。
 void terminate()
          ストラテジーを終了します。
 
クラス jp.sourceforge.orangesignal.trading.strategy.StrategySupport から継承されたメソッド
buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buy, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, buyToCover, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sell, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort, sellShort
 
クラス jp.sourceforge.orangesignal.trading.strategy.AbstractStrategy から継承されたメソッド
buy, buyToCover, createOrder, getCandlestick, getClose, getCommission, getCurrentDataIndex, getCurrentEntries, getCurrentPosition, getCurrentPositions, getDataset, getDate, getDefaultOrderTiming, getEndDataIndex, getEntryDate, getEntryPrice, getHigh, getLow, getMarketPositionType, getOpen, getStartDataIndex, getStrategyName, getSymbol, getTrader, getVolume, sell, sellShort, setCurrentDataIndex, setDataset, setDate, setDefaultOrderTiming, setEndDataIndex, setStartDataIndex, setSymbol, setTrader
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

lowest

protected Number[] lowest
コンストラクタの詳細

ChannelBreakoutShortEntry

public ChannelBreakoutShortEntry()
メソッドの詳細

getPrice

public FourPrice getPrice()
4本値の種類を返します。

戻り値:
4本値の種類

setPrice

public void setPrice(FourPrice price)
4本値の種類を設定します。

パラメータ:
price - 4本値の種類

getPeriod

public int getPeriod()
期間を返します。

戻り値:
期間

setPeriod

public void setPeriod(int period)
期間を設定します。

パラメータ:
period - 期間

init

public void init()
クラス AbstractStrategy の記述:

ストラテジーを初期化します。

デフォルトの実装は何も行いません。

定義:
インタフェース Strategy 内の init
オーバーライド:
クラス AbstractStrategy 内の init

process

public StrategyStatus process()
インタフェース Strategy の記述:

ストラテジーを処理します。

戻り値:
処理結果。又は null

terminate

public void terminate()
クラス AbstractStrategy の記述:

ストラテジーを終了します。

デフォルトの実装は何も行いません。

定義:
インタフェース Strategy 内の terminate
オーバーライド:
クラス AbstractStrategy 内の terminate


Copyright © 2006-2009 OrangeSignal.com. All Rights Reserved.