Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SpreadCloseStart: -0.0596%
- SpreadCloseEnd: 0.0227%
- <b>Dragged:</b> 0.0823%
- Binance: Limit
- Bitmex: Limit
- <b>Durations</b>
- Binance: 00:23.875
- Bitmex: 00:02.671
- <b>Position:</b> 14:59:40.988
- <b>Binance Prices</b>
- Start: 7292.0400$
- End: 7298.1600$
- <b>Bitmex Prices</b>
- Start: 7296.5000$
- End: 7296.5000$
- <b>Binance Amounts</b>
- Start: 0.013714
- End: 0.013714
- <b>Bitmex Amounts</b>
- Start: 100.000000
- End: 100.000000
- <b>Profit</b>: +0.0829%
- <b>Profit [fee]</b>: -0.01710% ❌
- <b>Profit [rebate]</b>: +0.04290% 💰💰💰
- Open positions: 14 / 15
- Closed positions: 1 / 25
- Total positions: 15 / 25
- [05:42:11.576 Debug] [CloseLimit][CloseLimitPosition] Strategy was closed. Closed: 1. Open: 14
- [05:42:11.576 Debug] Change state to Waiting was finished
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0382, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0313, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0439, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0370, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0222, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0291, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0922, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0991, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0088, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0157, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0825, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0756, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0984, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0915, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0315, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0246, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0150, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0219, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0350, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0419, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0794, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0725, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0552, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0483, 0.0648. Return
- [05:42:11.576 Debug] [Waiting][TryToClosePosition] Try to close limit pos. Wait for 2 sec. Spread: -0.0116%. Profit: 0.1579%. Bitmex amounts: 124147
- [05:42:11.592 Debug] Change state to CloseLimit was finished
- [05:42:13.859 Debug] [CloseLimit][CheckForClosePosition] Close check was passed! Average profit: 0.1588%. Current spread: -0.0547%. Spead on Start: 0.1463%. Atr: 0.0826. AtrEnter: 0.25%. Bitmex amount: 152050
- [05:42:13.859 Debug] [CloseLimit][CheckForClosePosition] Binance: Ask: 7299.99000000, Bid: 7295.01000000 | Bitmex: Ask: 7299, Bid: 7298.5
- [05:42:13.859 Debug] -----------------------------------------------------------------
- [05:42:13.859 Information] Close was started [eb98c6dbdc494d2ab0792cdb7b54dc65]
- [05:42:13.859 Debug] Binance is heigher
- [05:42:13.859 Debug] [Frontrun Bitmex] Trade amount with bias: 100. Bias: 0. Amount in USDT: 100
- [05:42:13.859 Debug] [Frontrun Bitmex] Start place order with price: 7299.0. Amount: 100
- [05:42:13.859 Debug] [Frontrun Binance] Trade amount with bias: -0.07325824. Bias: -0.08696624. Amount in USDT: 100
- [05:42:13.859 Debug] [Frontrun Binance] Start place order with price: 7295.02000000. Amount: -0.07325824
- [05:42:13.873 Debug] [Frontrun Binance] Order was placed: Symbol: , ErrorCode: -1100, Error: Illegal characters found in parameter 'quantity'; legal range is '^([0-9]{1,20})(\.[0-9]{1,20})?$'., ClientOrderId: , Price: 0, OrigQty: 0, ExecutedQty: 0, Status: Active, Side: Buy
- [05:42:13.873 Debug] Add Mutual data: Binance. Price: 7295.02000000$
- [05:42:13.873 Debug] [Frontrun Binance] Binance price: 7295.02000000. Other Bitmex price: -1
- [05:42:13.873 Debug] [Frontrun Binance] Order was placed and frontrunPrepared. Price: 0. Amount: 0
- [05:42:13.873 Debug] [Frontrun Binance] Frontrun was finished. Wait for event
- [05:42:13.873 Debug] [Frontrun Binance] Wait for frontrun event was finished
- [05:42:13.873 Debug] [Frontrun Binance] Frontrun was finished! TradeInfos Count: 0
- [05:42:13.873 Debug] Default BNB: 2.0. Cur BNB: 2.131295950. Diff res: False
- [05:42:14.092 Debug] [Frontrun Bitmex] End place order: OrderId: 0d390faf-0387-7d83-9b12-05a185573925, Symbol: XBTUSD, Side: Sell, Quantity: 100, FilledQuantity: 0, LeavesContracts: 100, Price: 7299, OrderStatus: New, Error: , ErrorCode: -1, HasError: False
- [05:42:14.092 Debug] Add Mutual data: Bitmex. Price: 7299$
- [05:42:14.092 Debug] [Frontrun Bitmex] Bitmex price: 7299. Other Binance price: 7295.02000000
- [05:42:14.092 Debug] [Frontrun Bitmex] Order was placed and frontrunPrepared. Price: 7299. Amount: 100
- [05:42:30.624 Debug] [Frontrun Bitmex] Trade execute Filled. Price: 7299$. Amount: 100. Fee: -0.00000333
- [05:42:30.624 Debug] [Frontrun Bitmex][UpdateFilledAmount] Add new trade data: Amount: 100, Price: 7299, Fee: -0.00000333, Rebate: 0
- [05:42:30.624 Debug] [Frontrun Bitmex][UpdateFilledAmount] Filled amount: 100
- [05:42:30.624 Debug] Update Bitmex amount: 1.277112150
- [05:42:30.671 Debug] [Frontrun Bitmex] Frontrun was finished. Wait for event
- [05:42:30.671 Debug] [Frontrun Bitmex] Wait for frontrun event was finished
- [05:42:30.671 Debug] [Frontrun Bitmex] Frontrun was finished! TradeInfos Count: 1
- [05:42:30.718 Error] Attempted to divide by zero.
- ----- at System.Decimal.FCallDivide(Decimal& d1, Decimal& d2)
- at System.Decimal.op_Division(Decimal d1, Decimal d2)
- at ExhausterTemplate.Util.Ext.GetProfit(Data data, Exchange exchange) in C:\Users\User\Documents\Exhauster\Exhauster_Arbitrage\ExhausterTemplate\Util\Ext.cs:line 623
- at ExhausterTemplate.Controllers.Statistics.SimpleStatisticsController.GetData(String guid) in C:\Users\User\Documents\Exhauster\Exhauster_Arbitrage\ExhausterTemplate\Controllers\Statistics\StatisticsControllerBase.cs:line 164
- at ExhausterTemplate.Controllers.Statistics.StatisticsControllerBase.SaveStatistics(String guid) in C:\Users\User\Documents\Exhauster\Exhauster_Arbitrage\ExhausterTemplate\Controllers\Statistics\StatisticsControllerBase.cs:line 40
- -----
- -----
- -----
- [05:42:30.718 Debug] Update bias. Binance notional: 100.08696624$ | Bitmex notional: -200$ Binance bias: -99.91303376$ | Bitmex bias: 0$
- [05:42:30.718 Debug] Binance notional: 100.08696624. Bitmex notional: 100.08696624. Diff: 99.91303376. Invalid balance: True
- [05:42:30.718 Warning] PositionAmount error. Check it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement