Skip to content

Commit

Permalink
Merge pull request #1563 from c9s/edwin/bitget/test-place-order-2
Browse files Browse the repository at this point in the history
TEST: [bitget] add market/limit maker tests for place order
  • Loading branch information
c9s authored Mar 6, 2024
2 parents f84aa26 + 4f716ae commit f4a8dc0
Show file tree
Hide file tree
Showing 4 changed files with 543 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"code":"00000",
"msg":"success",
"requestTime":1709649001209,
"data":[
{
"userId":"8672173294",
"symbol":"BTCUSDT",
"orderId":"1148903850645331968",
"clientOid":"684a79df-f931-474f-a9a5-f1deab1cd770",
"price":"0",
"size":"6.0000000000000000",
"orderType":"market",
"side":"buy",
"status":"filled",
"priceAvg":"67360.8700000000000000",
"baseVolume":"0.0000890000000000",
"quoteVolume":"5.9951174300000000",
"enterPointSource":"API",
"feeDetail":"{\"BTC\":{\"deduction\":false,\"feeCoinCode\":\"BTC\",\"totalDeductionFee\":0,\"totalFee\":-8.90000000E-8},\"newFees\":{\"c\":0,\"d\":0,\"deduction\":false,\"r\":-8.9E-8,\"t\":-8.9E-8,\"totalDeductionFee\":0}}",
"orderSource":"market",
"cTime":"1709645944272",
"uTime":"1709645944272"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"code":"00000",
"msg":"success",
"requestTime":1709692258790,
"data":[
{
"userId":"8672173294",
"symbol":"BTCUSDT",
"orderId":"1148903850645331968",
"clientOid":"684a79df-f931-474f-a9a5-f1deab1cd770",
"priceAvg":"0",
"size":"6",
"orderType":"market",
"side":"buy",
"status":"live",
"basePrice":"0",
"baseVolume":"0",
"quoteVolume":"0",
"enterPointSource":"API",
"orderSource":"market",
"cTime":"1709645944272",
"uTime":"1709645944272"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"code":"00000",
"msg":"success",
"requestTime":1709692258790,
"data":[
{
"userId":"8672173294",
"symbol":"BTCUSDT",
"orderId":"1148903850645331968",
"clientOid":"684a79df-f931-474f-a9a5-f1deab1cd770",
"priceAvg":"0",
"size":"0.00009",
"orderType":"market",
"side":"sell",
"status":"live",
"basePrice":"0",
"baseVolume":"0",
"quoteVolume":"0",
"enterPointSource":"API",
"orderSource":"market",
"cTime":"1709645944272",
"uTime":"1709645944272"
}
]
}
Loading

0 comments on commit f4a8dc0

Please sign in to comment.