Class BasicCassandreStrategy
- java.lang.Object
-
- tech.cassandre.trading.bot.strategy.GenericCassandreStrategy
-
- tech.cassandre.trading.bot.strategy.BasicCassandreStrategy
-
- All Implemented Interfaces:
CassandreStrategyInterface
public abstract class BasicCassandreStrategy extends GenericCassandreStrategy
Basic strategy.
-
-
Field Summary
-
Fields inherited from class tech.cassandre.trading.bot.strategy.GenericCassandreStrategy
currencyMapper, exchangeService, importedTickersRepository, logger, orderMapper, orderRepository, positionFlux, positionMapper, positionRepository, positionService, strategy, tickerMapper, tradeMapper, tradeRepository, tradeService
-
-
Constructor Summary
Constructors Constructor Description BasicCassandreStrategy()
-
Method Summary
-
Methods inherited from class tech.cassandre.trading.bot.strategy.GenericCassandreStrategy
accountsUpdates, canBuy, canBuy, canBuy, canBuy, canSell, canSell, canSell, canSell, closePosition, createBuyLimitOrder, createBuyMarketOrder, createLongPosition, createSellLimitOrder, createSellMarketOrder, createShortPosition, getAccountByAccountId, getAccounts, getAmountsLockedByCurrency, getAmountsLockedByPosition, getEstimatedBuyableAmount, getEstimatedBuyingCost, getExchangeService, getGains, getImportedTickers, getImportedTickers, getLastPriceForCurrencyPair, getLastTickerByCurrencyPair, getLastTickers, getOrderByOrderId, getOrders, getPositionByPositionId, getPositions, getStrategyDTO, getTradeAccount, getTradeByTradeId, getTrades, initialize, initializeAccounts, onAccountsUpdates, onOrdersUpdates, onPositionsStatusUpdates, onPositionsUpdates, onTickersUpdates, onTradesUpdates, ordersUpdates, positionsUpdates, setExchangeService, setImportedTickersRepository, setOrderRepository, setPositionFlux, setPositionRepository, setPositionService, setStrategy, setTradeRepository, setTradeService, tickersUpdates, tradesUpdates, updatePositionRules
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface tech.cassandre.trading.bot.strategy.CassandreStrategyInterface
getRequestedCurrencyPairs, getTradeAccount
-
-