Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (.venv) ubuntu@ip-172-31-31-23:~/pydmm$ python3 mm.py
- 2200.0
- {'base': 3945.0, 'quote': 81.56648915}
- {'book': {'ask_price': 0.004903, 'bid_price': 0.003767}, 'balance': {'base': 3945.0, 'quote': 81.56648915}}
- 1739270659186 - 0.004335
- bitmart: cur balances: {'base': 3945.0, 'quote': 81.56648915}, zero base: 8943, zero quote: 57.6577
- mid price: 0.004335
- -4998.0 ~~~ -8200.0
- -23.908789149999997 -- 15.0
- ask_bound=0.004335 bid_bound=0.004335 <<<<<<
- [0.004357, 0.004389]
- built
- ([], [[0.004313, 1738.9288198469742], [0.004281, 1751.927119831815]])
- 6
- 0.000001
- 1
- bitmart asks: []
- bitmart bids: []
- New len: 0 + 2, cancel len: 0
- []
- {'book': {'ask_price': 0.004903, 'bid_price': 0.004313}, 'balance': {'base': 3945.0, 'quote': 81.56648915000001}}
- exception: name 'params' is not defined
- {'book': {'ask_price': 0.004903, 'bid_price': 0.004313}, 'balance': {'base': 3945.0, 'quote': 81.56648915000001}}
- exception: name 'params' is not defined
- ^CTraceback (most recent call last):
- File "/home/ubuntu/pydmm/mm.py", line 20, in <module>
- bot.run_event_loop()
- File "/home/ubuntu/pydmm/market_making.py", line 524, in run_event_loop
- time.sleep(self.cooldown)
- KeyboardInterrupt
- (.venv) ubuntu@ip-172-31-31-23:~/pydmm$ python3 mm.py
- 2200.0
- {'base': 3945.0, 'quote': 81.56648915000001}
- {'book': {'ask_price': 0.004927, 'bid_price': 0.004313}, 'balance': {'base': 3945.0, 'quote': 81.56648915000001}}
- 1739270802263 - 0.00462
- bitmart: cur balances: {'base': 3945.0, 'quote': 81.56648915000001}, zero base: 8943, zero quote: 57.6577
- mid price: 0.00462
- -4998.0 ~~~ -8200.0
- -23.90878915000001 -- 15.0
- ask_bound=0.00462 bid_bound=0.00462 <<<<<<
- [0.004643, 0.004678]
- built
- ([[0.004643, 1100.0], [0.004678, 1100.0]], [[0.004597, 1631.498803567544], [0.004562, 1644.0157825515125]])
- 6
- 0.000001
- 1
- bitmart asks: []
- bitmart bids: [{'id': '944065012505521410', 'quantity': 1751.0, 'price': 0.004281}, {'id': '944065012505521409', 'quantity': 1738.0, 'price': 0.004313}]
- New len: 2 + 2, cancel len: 2
- [[0.004643, 1100.0], [0.004678, 1100.0]]
- {'book': {'ask_price': 0.004643, 'bid_price': 0.004597}, 'balance': {'base': 2877.0, 'quote': 86.51281633}}
- trades during cd: [{'price': 0.004643, 'quantity': 1068.0, 'side': 'sell', 'timestamp': 1739270804380}]
- mp_up_delta 48.54545454545455
- mp_down_delta 0.0
- mid price result 0.004642428
- 1739270805718 - 0.004642428
- bitmart: cur balances: {'base': 1745.0, 'quote': 91.79395639}, zero base: 8943, zero quote: 57.6577
- mid price: 0.004642428
- -7198.0 ~~~ -8200.0
- -34.13625639000001 -- 15.0
- ask_bound=0.004642428 bid_bound=0.004642428 <<<<<<
- [0.004778, 0.004812]
- exception: bitmart stopped
- {'book': {'ask_price': 0.004904, 'bid_price': 0.004778}, 'balance': {'base': 1745.0, 'quote': 91.79395639}}
- 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}]
- mp_up_delta 100.0
- mp_down_delta 0.0
- mid price result 0.00468885228
- 1739270808706 - 0.00468885228
- {'book': {'ask_price': 0.004904, 'bid_price': 0.004778}, 'balance': {'base': 1745.0, 'quote': 91.79395639}}
- trades during cd: []
- mp_up_delta 0.0
- mp_down_delta 0.0
- mid price result 0.00468885228
- 1739270811502 - 0.00468885228
- {'book': {'ask_price': 0.004904, 'bid_price': 0.004778}, 'balance': {'base': 1745.0, 'quote': 91.79395639}}
- trades during cd: []
- mp_up_delta 0.0
- mp_down_delta 0.0
- mid price result 0.00468885228
- 1739270814312 - 0.00468885228
- ^CTraceback (most recent call last):
- File "/home/ubuntu/pydmm/mm.py", line 20, in <module>
- bot.run_event_loop()
- File "/home/ubuntu/pydmm/market_making.py", line 524, in run_event_loop
- time.sleep(self.cooldown)
- KeyboardInterrupt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement