Function agnostic_orderbook::instruction::new_order [−][src]
pub fn new_order(
agnostic_orderbook_program_id: Pubkey,
market_account: Pubkey,
caller_authority: Pubkey,
event_queue: Pubkey,
bids: Pubkey,
asks: Pubkey,
new_order_params: Params
) -> Instruction
Expand description
Execute a new order on the orderbook.
Depending on the provided parameters, the program will attempt to match the order with existing entries in the orderbook, and then optionally post the remaining order.