Advertisement
Guest User

Untitled

a guest
Jul 21st, 2018
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.46 KB | None | 0 0
  1.  
  2. SpreadCloseStart: -0.0596%
  3. SpreadCloseEnd: 0.0227%
  4. <b>Dragged:</b> 0.0823%
  5.  
  6. Binance: Limit
  7. Bitmex: Limit
  8.  
  9.  
  10. <b>Durations</b>
  11. Binance: 00:23.875
  12. Bitmex: 00:02.671
  13. <b>Position:</b> 14:59:40.988
  14.  
  15. <b>Binance Prices</b>
  16. Start: 7292.0400$
  17. End: 7298.1600$
  18.  
  19. <b>Bitmex Prices</b>
  20. Start: 7296.5000$
  21. End: 7296.5000$
  22.  
  23. <b>Binance Amounts</b>
  24. Start: 0.013714
  25. End: 0.013714
  26.  
  27. <b>Bitmex Amounts</b>
  28. Start: 100.000000
  29. End: 100.000000
  30.  
  31. <b>Profit</b>: +0.0829%
  32. <b>Profit [fee]</b>: -0.01710% ❌
  33. <b>Profit [rebate]</b>: +0.04290% 💰💰💰
  34.  
  35. Open positions: 14 / 15
  36. Closed positions: 1 / 25
  37. Total positions: 15 / 25
  38. [05:42:11.576 Debug] [CloseLimit][CloseLimitPosition] Strategy was closed. Closed: 1. Open: 14
  39. [05:42:11.576 Debug] Change state to Waiting was finished
  40. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0382, 0.0648. Return
  41. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0313, 0.0648. Return
  42. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0439, 0.0648. Return
  43. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0370, 0.0648. Return
  44. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0222, 0.0648. Return
  45. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0291, 0.0648. Return
  46. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0922, 0.0648. Return
  47. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0991, 0.0648. Return
  48. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0088, 0.0648. Return
  49. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0157, 0.0648. Return
  50. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0825, 0.0648. Return
  51. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0756, 0.0648. Return
  52. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0984, 0.0648. Return
  53. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0915, 0.0648. Return
  54. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0315, 0.0648. Return
  55. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0246, 0.0648. Return
  56. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0150, 0.0648. Return
  57. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0219, 0.0648. Return
  58. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: -0.0350, 0.0648. Return
  59. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: -0.0419, 0.0648. Return
  60. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0794, 0.0648. Return
  61. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0725, 0.0648. Return
  62. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Limit profit or atr are bad: 0.0552, 0.0648. Return
  63. [05:42:11.576 Debug] [Waiting][TryToClosePosition] Market profit or atr are bad: 0.0483, 0.0648. Return
  64. [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
  65. [05:42:11.592 Debug] Change state to CloseLimit was finished
  66. [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
  67. [05:42:13.859 Debug] [CloseLimit][CheckForClosePosition] Binance: Ask: 7299.99000000, Bid: 7295.01000000 | Bitmex: Ask: 7299, Bid: 7298.5
  68. [05:42:13.859 Debug] -----------------------------------------------------------------
  69. [05:42:13.859 Information] Close was started [eb98c6dbdc494d2ab0792cdb7b54dc65]
  70. [05:42:13.859 Debug] Binance is heigher
  71. [05:42:13.859 Debug] [Frontrun Bitmex] Trade amount with bias: 100. Bias: 0. Amount in USDT: 100
  72. [05:42:13.859 Debug] [Frontrun Bitmex] Start place order with price: 7299.0. Amount: 100
  73. [05:42:13.859 Debug] [Frontrun Binance] Trade amount with bias: -0.07325824. Bias: -0.08696624. Amount in USDT: 100
  74. [05:42:13.859 Debug] [Frontrun Binance] Start place order with price: 7295.02000000. Amount: -0.07325824
  75. [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
  76. [05:42:13.873 Debug] Add Mutual data: Binance. Price: 7295.02000000$
  77. [05:42:13.873 Debug] [Frontrun Binance] Binance price: 7295.02000000. Other Bitmex price: -1
  78. [05:42:13.873 Debug] [Frontrun Binance] Order was placed and frontrunPrepared. Price: 0. Amount: 0
  79. [05:42:13.873 Debug] [Frontrun Binance] Frontrun was finished. Wait for event
  80. [05:42:13.873 Debug] [Frontrun Binance] Wait for frontrun event was finished
  81. [05:42:13.873 Debug] [Frontrun Binance] Frontrun was finished! TradeInfos Count: 0
  82. [05:42:13.873 Debug] Default BNB: 2.0. Cur BNB: 2.131295950. Diff res: False
  83. [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
  84. [05:42:14.092 Debug] Add Mutual data: Bitmex. Price: 7299$
  85. [05:42:14.092 Debug] [Frontrun Bitmex] Bitmex price: 7299. Other Binance price: 7295.02000000
  86. [05:42:14.092 Debug] [Frontrun Bitmex] Order was placed and frontrunPrepared. Price: 7299. Amount: 100
  87. [05:42:30.624 Debug] [Frontrun Bitmex] Trade execute Filled. Price: 7299$. Amount: 100. Fee: -0.00000333
  88. [05:42:30.624 Debug] [Frontrun Bitmex][UpdateFilledAmount] Add new trade data: Amount: 100, Price: 7299, Fee: -0.00000333, Rebate: 0
  89. [05:42:30.624 Debug] [Frontrun Bitmex][UpdateFilledAmount] Filled amount: 100
  90. [05:42:30.624 Debug] Update Bitmex amount: 1.277112150
  91. [05:42:30.671 Debug] [Frontrun Bitmex] Frontrun was finished. Wait for event
  92. [05:42:30.671 Debug] [Frontrun Bitmex] Wait for frontrun event was finished
  93. [05:42:30.671 Debug] [Frontrun Bitmex] Frontrun was finished! TradeInfos Count: 1
  94. [05:42:30.718 Error] Attempted to divide by zero.
  95. ----- at System.Decimal.FCallDivide(Decimal& d1, Decimal& d2)
  96. at System.Decimal.op_Division(Decimal d1, Decimal d2)
  97. at ExhausterTemplate.Util.Ext.GetProfit(Data data, Exchange exchange) in C:\Users\User\Documents\Exhauster\Exhauster_Arbitrage\ExhausterTemplate\Util\Ext.cs:line 623
  98. at ExhausterTemplate.Controllers.Statistics.SimpleStatisticsController.GetData(String guid) in C:\Users\User\Documents\Exhauster\Exhauster_Arbitrage\ExhausterTemplate\Controllers\Statistics\StatisticsControllerBase.cs:line 164
  99. at ExhausterTemplate.Controllers.Statistics.StatisticsControllerBase.SaveStatistics(String guid) in C:\Users\User\Documents\Exhauster\Exhauster_Arbitrage\ExhausterTemplate\Controllers\Statistics\StatisticsControllerBase.cs:line 40
  100. -----
  101. -----
  102. -----
  103. [05:42:30.718 Debug] Update bias. Binance notional: 100.08696624$ | Bitmex notional: -200$ Binance bias: -99.91303376$ | Bitmex bias: 0$
  104. [05:42:30.718 Debug] Binance notional: 100.08696624. Bitmex notional: 100.08696624. Diff: 99.91303376. Invalid balance: True
  105. [05:42:30.718 Warning] PositionAmount error. Check it
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement