public interface ITakeProfitOrder extends IOrderComponent
Modifier and Type | Method and Description |
---|---|
double |
getPrice()
Returns take profit price.
|
void |
setPrice(double price)
Sets take profit price.
|
cancel, getAmount, getComment, getCreationTime, getGoodTillTime, getId, getOrderCommand, setComment, setGoodTillTime, waitForUpdate, waitForUpdate
double getPrice()
void setPrice(double price) throws JFException
getPrice()
method will still return old value until server will accept this changes.
By default, may not be called on the same order more often than once per second (exact value of max order update per second is sent by server).
price
- price to setJFException
- when price change failsCopyright © 2024. All rights reserved.