public static Trade adaptTrade ( BTCTurkTrades btcTurkTrade , CurrencyPair currencyPair ) { return new Trade ( null , btcTurkTrade . getAmount ( ) , currencyPair , btcTurkTrade . getPrice ( ) , btcTurkTrade . getDate ( ) , btcTurkTrade . getTid ( ) . toString ( ) ) ; }
Adapts a BTCTurkTrade to a Trade Object