| | |
| | | openPrice = holdOrderEntity.getOpeningPrice();
|
| | | type = holdOrderEntity.getOpeningType();
|
| | | index++;
|
| | | log.info("--{}, {}, {}, {}, {}", maxCnt, subCnt, openPrice, type, index);
|
| | | }
|
| | |
|
| | | if (index == 0) {
|
| | |
| | | subCnt = holdOrderEntity.getSymbolCntSale();
|
| | | type = holdOrderEntity.getOpeningType();
|
| | | openPrice = holdOrderEntity.getOpeningPrice();
|
| | | log.info("{}, {}, {}, {}", maxCnt, subCnt, type, openPrice);
|
| | | log.info("---{}, {}, {}, {}, {}", maxCnt, subCnt, type, openPrice, index);
|
| | | }
|
| | | feeAmount = feeAmount.add(holdOrderEntity.getOpeningFeeAmount());
|
| | | sku = holdOrderEntity.getSymbolSku();
|
| | | }
|
| | | BigDecimal forceSetPrice = BigDecimal.ZERO;
|
| | | if (subCnt != 0) {
|
| | | log.info("{}, {}, {}, {}, {}", openPrice, subCnt, sku, type, maxCnt);
|
| | | log.info("--->{}, {}, {}, {}, {}", openPrice, subCnt, sku, type, maxCnt);
|
| | | forceSetPrice = getForceSetPrice(walletContract.getTotalBalance().subtract(feeAmount), openPrice, subCnt, sku, type, memberEntity);
|
| | | }
|
| | |
|