Skip to content

Commit

Permalink
Merge pull request #41 from bfoltyn/enablePortfolioMarginTrading
Browse files Browse the repository at this point in the history
  • Loading branch information
alplabin authored Oct 11, 2024
2 parents c4e26d9 + 4b69bb4 commit eebd013
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/modules/restful/wallet/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,8 @@ export interface getApiKeyPermissionResponse {
enableFutures: boolean;
enableMargin: boolean;
enableSpotAndMarginTrading: boolean;
tradingAuthorityExpirationTime: number;
tradingAuthorityExpirationTime?: number;
enablePortfolioMarginTrading: boolean;
}

export interface oneClickArrivalDepositApplyOptions {
Expand Down
3 changes: 2 additions & 1 deletion tests/mock_values/restful/wallet/getApiKeyPermission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@ export const mockResponse: RestWalletTypes.getApiKeyPermissionResponse = {
'enableFutures': false,
'enableMargin': false,
'enableSpotAndMarginTrading': false,
'tradingAuthorityExpirationTime': 1628985600000
'tradingAuthorityExpirationTime': 1628985600000,
'enablePortfolioMarginTrading': false
};

0 comments on commit eebd013

Please sign in to comment.