orderspec refactor for server and web

This commit is contained in:
Tim Olson
2023-12-07 18:37:11 -04:00
parent 545583586c
commit 83619ea248
12 changed files with 306 additions and 110 deletions

View File

@@ -1,5 +1,5 @@
export function applyFills( orderStatus, filled ) {
// console.log('apply fills', orderStatus, filled)
console.log('apply fills', orderStatus, filled)
orderStatus[4] = filled[0][0]
orderStatus[5] = filled[0][1]
for( const i in filled[1] ) {
@@ -7,7 +7,7 @@ export function applyFills( orderStatus, filled ) {
orderStatus[6][i] = filledIn
orderStatus[7][i] = filledOut
}
// console.log('applied fills', orderStatus)
console.log('applied fills', orderStatus)
}