Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dont quote permissioned markets #223

Merged
merged 2 commits into from
Feb 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/client/src/book.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ use openbook_v2::state::{
Market, Orderbook, Side, DROP_EXPIRED_ORDER_LIMIT, FILL_EVENT_REMAINING_LIMIT,
};

// TODO Adjust this number after doing some calculations
pub const MAXIMUM_TAKEN_ORDERS: u8 = 8;
const MAXIMUM_REMAINING_ACCOUNTS: usize = 4;
pub const MAXIMUM_TAKEN_ORDERS: u8 = 45;
const MAXIMUM_REMAINING_ACCOUNTS: usize = 0;

pub struct Amounts {
pub total_base_taken_native: u64,
Expand Down
Loading
Loading