Advertisement
den4ik2003

Untitled

Feb 11th, 2025
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.77 KB | None | 0 0
  1. (.venv) ubuntu@ip-172-31-31-23:~/pydmm$ python3 mm.py
  2. 2200.0
  3. {'base': 3945.0, 'quote': 81.56648915}
  4. {'book': {'ask_price': 0.004903, 'bid_price': 0.003767}, 'balance': {'base': 3945.0, 'quote': 81.56648915}}
  5. 1739270659186 - 0.004335
  6. bitmart: cur balances: {'base': 3945.0, 'quote': 81.56648915}, zero base: 8943, zero quote: 57.6577
  7. mid price: 0.004335
  8. -4998.0 ~~~ -8200.0
  9. -23.908789149999997 -- 15.0
  10. ask_bound=0.004335 bid_bound=0.004335 <<<<<<
  11. [0.004357, 0.004389]
  12. built
  13. ([], [[0.004313, 1738.9288198469742], [0.004281, 1751.927119831815]])
  14. 6
  15. 0.000001
  16. 1
  17. bitmart asks: []
  18. bitmart bids: []
  19. New len: 0 + 2, cancel len: 0
  20. []
  21. {'book': {'ask_price': 0.004903, 'bid_price': 0.004313}, 'balance': {'base': 3945.0, 'quote': 81.56648915000001}}
  22. exception: name 'params' is not defined
  23. {'book': {'ask_price': 0.004903, 'bid_price': 0.004313}, 'balance': {'base': 3945.0, 'quote': 81.56648915000001}}
  24. exception: name 'params' is not defined
  25. ^CTraceback (most recent call last):
  26. File "/home/ubuntu/pydmm/mm.py", line 20, in <module>
  27. bot.run_event_loop()
  28. File "/home/ubuntu/pydmm/market_making.py", line 524, in run_event_loop
  29. time.sleep(self.cooldown)
  30. KeyboardInterrupt
  31.  
  32. (.venv) ubuntu@ip-172-31-31-23:~/pydmm$ python3 mm.py
  33. 2200.0
  34. {'base': 3945.0, 'quote': 81.56648915000001}
  35. {'book': {'ask_price': 0.004927, 'bid_price': 0.004313}, 'balance': {'base': 3945.0, 'quote': 81.56648915000001}}
  36. 1739270802263 - 0.00462
  37. bitmart: cur balances: {'base': 3945.0, 'quote': 81.56648915000001}, zero base: 8943, zero quote: 57.6577
  38. mid price: 0.00462
  39. -4998.0 ~~~ -8200.0
  40. -23.90878915000001 -- 15.0
  41. ask_bound=0.00462 bid_bound=0.00462 <<<<<<
  42. [0.004643, 0.004678]
  43. built
  44. ([[0.004643, 1100.0], [0.004678, 1100.0]], [[0.004597, 1631.498803567544], [0.004562, 1644.0157825515125]])
  45. 6
  46. 0.000001
  47. 1
  48. bitmart asks: []
  49. bitmart bids: [{'id': '944065012505521410', 'quantity': 1751.0, 'price': 0.004281}, {'id': '944065012505521409', 'quantity': 1738.0, 'price': 0.004313}]
  50. New len: 2 + 2, cancel len: 2
  51. [[0.004643, 1100.0], [0.004678, 1100.0]]
  52. {'book': {'ask_price': 0.004643, 'bid_price': 0.004597}, 'balance': {'base': 2877.0, 'quote': 86.51281633}}
  53. trades during cd: [{'price': 0.004643, 'quantity': 1068.0, 'side': 'sell', 'timestamp': 1739270804380}]
  54. mp_up_delta 48.54545454545455
  55. mp_down_delta 0.0
  56. mid price result 0.004642428
  57. 1739270805718 - 0.004642428
  58. bitmart: cur balances: {'base': 1745.0, 'quote': 91.79395639}, zero base: 8943, zero quote: 57.6577
  59. mid price: 0.004642428
  60. -7198.0 ~~~ -8200.0
  61. -34.13625639000001 -- 15.0
  62. ask_bound=0.004642428 bid_bound=0.004642428 <<<<<<
  63. [0.004778, 0.004812]
  64. exception: bitmart stopped
  65. {'book': {'ask_price': 0.004904, 'bid_price': 0.004778}, 'balance': {'base': 1745.0, 'quote': 91.79395639}}
  66. trades during cd: [{'price': 0.004678, 'quantity': 1100.0, 'side': 'sell', 'timestamp': 1739270805641}, {'price': 0.004643, 'quantity': 32.0, 'side': 'sell', 'timestamp': 1739270805640}, {'price': 0.004643, 'quantity': 1068.0, 'side': 'sell', 'timestamp': 1739270804380}]
  67. mp_up_delta 100.0
  68. mp_down_delta 0.0
  69. mid price result 0.00468885228
  70. 1739270808706 - 0.00468885228
  71. {'book': {'ask_price': 0.004904, 'bid_price': 0.004778}, 'balance': {'base': 1745.0, 'quote': 91.79395639}}
  72. trades during cd: []
  73. mp_up_delta 0.0
  74. mp_down_delta 0.0
  75. mid price result 0.00468885228
  76. 1739270811502 - 0.00468885228
  77. {'book': {'ask_price': 0.004904, 'bid_price': 0.004778}, 'balance': {'base': 1745.0, 'quote': 91.79395639}}
  78. trades during cd: []
  79. mp_up_delta 0.0
  80. mp_down_delta 0.0
  81. mid price result 0.00468885228
  82. 1739270814312 - 0.00468885228
  83. ^CTraceback (most recent call last):
  84. File "/home/ubuntu/pydmm/mm.py", line 20, in <module>
  85. bot.run_event_loop()
  86. File "/home/ubuntu/pydmm/market_making.py", line 524, in run_event_loop
  87. time.sleep(self.cooldown)
  88. KeyboardInterrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement