Fix ROI calculation for Strategy
This commit is contained in:
@@ -4,7 +4,7 @@ import {closeGmxPositionImpl, getClientForAddress} from '../../src/plugins/custo
|
||||
import {TradeDirection} from '../../src/generated/ManagingApiTypes'
|
||||
|
||||
test('GMX Position Closing', async (t) => {
|
||||
await t.test('should close a long position for BTC', async () => {
|
||||
await t.test('should close position', async () => {
|
||||
const sdk = await getClientForAddress('0x932167388dD9aad41149b3cA23eBD489E2E2DD78')
|
||||
|
||||
const result = await closeGmxPositionImpl(
|
||||
|
||||
Reference in New Issue
Block a user