ExchangeOperations

Documentation for ExchangeOperations.

ExchangeOperations.send!Method
send!(
    x::SimulatorSession,
    op::AbstractOperation
) -> SimulatorSession

This is a catchall send method to warn about unimplemented simulator operations.

source
ExchangeOperations.send!Method
send!(
    s::SimulatorSession,
    buy::SimulatorMarketBuy
) -> SimulatorSession

Send a market buy order to the simulator.

source
ExchangeOperations.send!Method
send!(
    s::SimulatorSession,
    sell::SimulatorMarketSell
) -> SimulatorSession

Send a market sell order to the simulator.

source
ExchangeOperations.update!Method
update!(
    s::SimulatorSession,
    ts::Dates.DateTime,
    next_price::Float64
)

Update the current time and current price of the asset in the simulator session. This also checks to see if stop orders should be triggered, and executes them if they should.

source