Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
krboktv authored Oct 30, 2024
1 parent f80d1dc commit 8558e92
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,16 @@ async function main() {
console.log('fills', data.fills)
break
}

if (data.status === OrderStatus.Expired) {
console.log('Order Expired')
break
}

if (data.status === OrderStatus.Cancelled) {
console.log('Order Cancelled')
break
}
} catch (e) {
console.log(e)
}
Expand Down

0 comments on commit 8558e92

Please sign in to comment.