df-lighter-core 0.0.1-beta

Lighter SDK for Rust: markets, account, trading, transfers, pools and binary options on Lighter and on Robinhood Chain, with exact decimals and the API key signer in Rust. Native and wasm.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Orders already placed: cancel one, cancel all (now, in one market, or on a schedule as a dead
//! man's switch), modify one.
//!
//! - [`cancel`]: `CancelOrder` (15), by the client index it was placed with or the venue's index.
//! - [`cancel_all`]: `CancelAllOrders` (16).
//! - [`modify`]: `ModifyOrder` (17): a new size, price or trigger, and the version it must pass.

pub mod cancel;
pub mod cancel_all;
pub mod modify;

pub use cancel::CancelOrder;
pub use cancel_all::{CANCEL_ALL_LEAST_MS, CANCEL_ALL_MOST_MS, CancelAllOrders, CancelAllTime};
pub use modify::{ModifyIntent, ModifyOrder};