The following part of code establishes just what the invest in/sell proportion bsp conditions would be to submit an purchase towards the copyright Rest API. The variable bsp is accustomed to work out invest in/promote price delta needed to submit the order based off of the latest transaction price https://r.valery.digital/content-4-1