Improve CandleStore grain deactivating
This commit is contained in:
@@ -5,12 +5,12 @@ import {TradeDirection} from '../../src/generated/ManagingApiTypes'
|
||||
|
||||
test('GMX Position Closing', async (t) => {
|
||||
await t.test('should close position', async () => {
|
||||
const sdk = await getClientForAddress('0x932167388dD9aad41149b3cA23eBD489E2E2DD78')
|
||||
const sdk = await getClientForAddress('0x1aDD85ee6f327d20340A451A8210FB32c4c97504')
|
||||
|
||||
const result = await closeGmxPositionImpl(
|
||||
sdk,
|
||||
"ETH",
|
||||
TradeDirection.Short
|
||||
"XRP",
|
||||
TradeDirection.Long
|
||||
)
|
||||
console.log('Position closing result:', result)
|
||||
assert.ok(result, 'Position closing result should be defined')
|
||||
|
||||
Reference in New Issue
Block a user