업비트

업비트 uuids 체크

개발자J군 2021. 12. 18. 16:02
#주문 체결 전
{'uuid': '85706323-7cad-4bc0-9e67-181fcc39b7df', 'side': 'bid', 'ord_type': 'limit', 'price': '5075.0', 'state': 'wait', 'market': 'KRW-THETA', 'created_at': '2021-12-18T15:44:40+09:00', 'volume': '2.0', 'remaining_volume': '2.0', 'reserved_fee': '5.075', 'remaining_fee': '5.075', 'paid_fee': '0.0', 'locked': '10155.075', 'executed_volume': '0.0', 'trades_count': 0, 'trades': []}

#주문 체결 되었으나 모두 매수 되지 않은 경우
{'uuid': '85706323-7cad-4bc0-9e67-181fcc39b7df', 'side': 'bid', 'ord_type': 'limit', 'price': '5075.0', 'state': 'wait', 'market': 'KRW-THETA', 'created_at': '2021-12-18T15:44:40+09:00', 'volume': '2.0', 'remaining_volume': '1.62889779', 'reserved_fee': '5.075', 'remaining_fee': '4.133328142125', 'paid_fee': '0.941671857875', 'locked': '8270.789612392125', 'executed_volume': '0.37110221', 'trades_count': 1, 'trades': [{'market': 'KRW-THETA', 'uuid': 'ad4ebe10-8166-48ed-8399-ed4cc36ac2bb', 'price': '5075.0', 'volume': '0.37110221', 'funds': '1883.34371575', 'created_at': '2021-12-18T15:46:59+09:00', 'side': 'bid'}]}
{'uuid': '85706323-7cad-4bc0-9e67-181fcc39b7df', 'side': 'bid', 'ord_type': 'limit', 'price': '5075.0', 'state': 'wait', 'market': 'KRW-THETA', 'created_at': '2021-12-18T15:44:40+09:00', 'volume': '2.0', 'remaining_volume': '0.62889779', 'reserved_fee': '5.075', 'remaining_fee': '1.595828142125', 'paid_fee': '3.479171857875', 'locked': '3193.252112392125', 'executed_volume': '1.37110221', 'trades_count': 2, 'trades': [{'market': 'KRW-THETA', 'uuid': 'ad4ebe10-8166-48ed-8399-ed4cc36ac2bb', 'price': '5075.0', 'volume': '0.37110221', 'funds': '1883.34371575', 'created_at': '2021-12-18T15:46:59+09:00', 'side': 'bid'}, {'market': 'KRW-THETA', 'uuid': 'f6a4a270-8656-4e4d-aff1-06b4d72e437b', 'price': '5075.0', 'volume': '1.0', 'funds': '5075.0', 'created_at': '2021-12-18T15:47:16+09:00', 'side': 'bid'}]}

#모든 매수수량 체결
{'uuid': '85706323-7cad-4bc0-9e67-181fcc39b7df', 'side': 'bid', 'ord_type': 'limit', 'price': '5075.0', 'state': 'done', 'market': 'KRW-THETA', 'created_at': '2021-12-18T15:44:40+09:00', 'volume': '2.0', 'remaining_volume': '0.0', 'reserved_fee': '5.075', 'remaining_fee': '0.0', 'paid_fee': '5.075', 'locked': '0.0', 'executed_volume': '2.0', 'trades_count': 3, 'trades': [{'market': 'KRW-THETA', 'uuid': 'ad4ebe10-8166-48ed-8399-ed4cc36ac2bb', 'price': '5075.0', 'volume': '0.37110221', 'funds': '1883.34371575', 'created_at': '2021-12-18T15:46:59+09:00', 'side': 'bid'}, {'market': 'KRW-THETA', 'uuid': 'f6a4a270-8656-4e4d-aff1-06b4d72e437b', 'price': '5075.0', 'volume': '1.0', 'funds': '5075.0', 'created_at': '2021-12-18T15:47:16+09:00', 'side': 'bid'}, {'market': 'KRW-THETA', 'uuid': '1bcc3564-7bff-4d93-b4aa-6c7c92765565', 'price': '5075.0', 'volume': '0.62889779', 'funds': '3191.65628425', 'created_at': '2021-12-18T15:47:32+09:00', 'side': 'bid'}]}
반응형