Merge pull request #22 from odyzzey/patch-1

Restore balanceAccount functionality
This commit is contained in:
Riordan Panayides 2022-04-18 09:41:56 +01:00 committed by GitHub
commit c81f6afce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -1063,7 +1063,6 @@ async function balanceAccount(
spotMarkets: Market[],
perpMarkets: PerpMarket[],
) {
return;
if (Date.now() < lastRebalance + rebalanceInterval) {
return;
}