|
1 | 1 | package bitget |
2 | 2 |
|
3 | 3 | import ( |
4 | | - "strconv" |
5 | 4 | "testing" |
6 | 5 | "time" |
7 | 6 |
|
@@ -243,7 +242,6 @@ func Test_unfilledOrderToGlobalOrder(t *testing.T) { |
243 | 242 | }, |
244 | 243 | Exchange: types.ExchangeBitget, |
245 | 244 | OrderID: uint64(orderId), |
246 | | - UUID: strconv.FormatInt(int64(orderId), 10), |
247 | 245 | Status: types.OrderStatusNew, |
248 | 246 | ExecutedQuantity: fixedpoint.NewFromFloat(0), |
249 | 247 | IsWorking: true, |
@@ -274,7 +272,6 @@ func Test_unfilledOrderToGlobalOrder(t *testing.T) { |
274 | 272 | }, |
275 | 273 | Exchange: types.ExchangeBitget, |
276 | 274 | OrderID: uint64(orderId), |
277 | | - UUID: strconv.FormatInt(int64(orderId), 10), |
278 | 275 | Status: types.OrderStatusNew, |
279 | 276 | ExecutedQuantity: fixedpoint.Zero, |
280 | 277 | IsWorking: true, |
@@ -304,7 +301,6 @@ func Test_unfilledOrderToGlobalOrder(t *testing.T) { |
304 | 301 | }, |
305 | 302 | Exchange: types.ExchangeBitget, |
306 | 303 | OrderID: uint64(orderId), |
307 | | - UUID: strconv.FormatInt(int64(orderId), 10), |
308 | 304 | Status: types.OrderStatusNew, |
309 | 305 | ExecutedQuantity: fixedpoint.Zero, |
310 | 306 | IsWorking: true, |
@@ -374,7 +370,6 @@ func Test_toGlobalOrder(t *testing.T) { |
374 | 370 | }, |
375 | 371 | Exchange: types.ExchangeBitget, |
376 | 372 | OrderID: uint64(orderId), |
377 | | - UUID: strconv.FormatInt(int64(orderId), 10), |
378 | 373 | Status: types.OrderStatusFilled, |
379 | 374 | ExecutedQuantity: fixedpoint.NewFromFloat(5), |
380 | 375 | IsWorking: false, |
@@ -447,7 +442,6 @@ func Test_toGlobalOrder(t *testing.T) { |
447 | 442 | }, |
448 | 443 | Exchange: types.ExchangeBitget, |
449 | 444 | OrderID: uint64(orderId), |
450 | | - UUID: strconv.FormatInt(int64(orderId), 10), |
451 | 445 | Status: types.OrderStatusFilled, |
452 | 446 | ExecutedQuantity: fixedpoint.NewFromFloat(5), |
453 | 447 | IsWorking: false, |
@@ -887,7 +881,6 @@ func TestOrder_toGlobalOrder(t *testing.T) { |
887 | 881 | }, |
888 | 882 | Exchange: types.ExchangeBitget, |
889 | 883 | OrderID: uint64(newO.OrderId), |
890 | | - UUID: strconv.FormatInt(int64(newO.OrderId), 10), |
891 | 884 | Status: types.OrderStatusPartiallyFilled, |
892 | 885 | ExecutedQuantity: newO.AccBaseVolume, |
893 | 886 | IsWorking: newO.Status.IsWorking(), |
@@ -944,7 +937,6 @@ func TestOrder_toGlobalOrder(t *testing.T) { |
944 | 937 | }, |
945 | 938 | Exchange: types.ExchangeBitget, |
946 | 939 | OrderID: uint64(newO.OrderId), |
947 | | - UUID: strconv.FormatInt(int64(newO.OrderId), 10), |
948 | 940 | Status: types.OrderStatusPartiallyFilled, |
949 | 941 | ExecutedQuantity: newO.AccBaseVolume, |
950 | 942 | IsWorking: newO.Status.IsWorking(), |
@@ -1003,7 +995,6 @@ func TestOrder_toGlobalOrder(t *testing.T) { |
1003 | 995 | }, |
1004 | 996 | Exchange: types.ExchangeBitget, |
1005 | 997 | OrderID: uint64(newO.OrderId), |
1006 | | - UUID: strconv.FormatInt(int64(newO.OrderId), 10), |
1007 | 998 | Status: types.OrderStatusPartiallyFilled, |
1008 | 999 | ExecutedQuantity: newO.AccBaseVolume, |
1009 | 1000 | IsWorking: newO.Status.IsWorking(), |
@@ -1062,7 +1053,6 @@ func TestOrder_toGlobalOrder(t *testing.T) { |
1062 | 1053 | }, |
1063 | 1054 | Exchange: types.ExchangeBitget, |
1064 | 1055 | OrderID: uint64(newO.OrderId), |
1065 | | - UUID: strconv.FormatInt(int64(newO.OrderId), 10), |
1066 | 1056 | Status: types.OrderStatusPartiallyFilled, |
1067 | 1057 | ExecutedQuantity: newO.AccBaseVolume, |
1068 | 1058 | IsWorking: newO.Status.IsWorking(), |
|
0 commit comments