bradamelton / saberfin.io

Issues for the https://saberfin.io website
0 stars 0 forks source link

UGGGG When shorting / going long, it is not using the right prices. #89

Closed bradamelton closed 1 year ago

bradamelton commented 1 year ago

When going long, it needs to go by ASK, shorting goes by BID. It is not doing that! :( :( all my percents are off.

bradamelton commented 1 year ago

This was due to the === vs == for bad types. Need to migrate to Typescript