MCPcopy Create free account

hub / github.com/MatthewDarnell/redis_orderbook / functions

Functions109 in github.com/MatthewDarnell/redis_orderbook

↓ 23 callersFunctionget_connection
@ip_addr: Pass <None> to use default <redis://127.0.0.1:6379>
redis/src/connection.rs:13
↓ 14 callersFunctiondel
(conn: &mut redis::Connection, key: &str)
redis/src/connection.rs:33
↓ 14 callersFunctionget_input_string
()
src/main.rs:24
↓ 8 callersFunctionhget
(conn: &'a mut redis::Connection, key: &'a str, field: &'b str)
redis/src/types/redis_hash.rs:10
↓ 8 callersMethodserialize
(&self)
order/src/order/store/order_store.rs:26
↓ 6 callersFunctionget_pair_by_id
(conn: &mut Connection, pair_id: Uuid)
order/src/order/store/order_pair_store.rs:43
↓ 6 callersFunctionhset
(conn: &mut redis::Connection, key: &str, field: F, val: V)
redis/src/types/redis_hash.rs:26
↓ 6 callersFunctionincrement_user_open_order_balance
(conn: &mut Connection, order: &Order, delta: T)
order/src/order/store/order_store.rs:66
↓ 5 callersFunctionsadd
(conn: &'a mut redis::Connection, key: &'a str, value: &'a str)
redis/src/types/redis_set.rs:6
↓ 5 callersFunctionzadd
(conn: &mut redis::Connection, key: &str, value: T, score: U)
redis/src/types/redis_sorted_set.rs:6
↓ 4 callersFunctioncreate_order
Add a new order to uuid=>Order hash table and the uuid to the User=>uuid hash table
order/src/order/store/order_store.rs:164
↓ 4 callersFunctionget
(conn: &'a mut redis::Connection, key: &'a str)
redis/src/types/redis_key.rs:6
↓ 4 callersFunctionget_order_by_id
(conn: &mut Connection, uuid: &Uuid)
order/src/order/store/order_store.rs:37
↓ 4 callersFunctionget_pairs
(conn: &mut Connection)
order/src/order/store/order_pair_store.rs:26
↓ 4 callersFunctionllen
(conn: &'a mut redis::Connection, list: &'a str)
redis/src/types/redis_list.rs:7
↓ 4 callersFunctionrpush
(conn: &mut redis::Connection, list: &str, val: T)
redis/src/types/redis_list.rs:19
↓ 4 callersFunctionsmembers
(conn: &mut redis::Connection, key: &str)
redis/src/types/redis_set.rs:14
↓ 3 callersFunctiondelete_order
Delete an order
order/src/order/store/order_store.rs:188
↓ 3 callersFunctionget_orders_by_price
(conn: &mut Connection, order_type: &OrderType, pair: &Pair, min: T, max: V)
order/src/order/store/order_execution_type_store.rs:86
↓ 3 callersFunctionget_orders_from_uuid_list
(conn: &mut Connection, orders: &Vec<String>)
order/src/order/store/order_execution_type_store.rs:15
↓ 3 callersFunctionhincrby
(conn: &mut redis::Connection, key: &str, field: &str, delta: T)
redis/src/types/redis_hash.rs:22
↓ 3 callersFunctionhmget
(conn: &mut redis::Connection, key: &str, field: T)
redis/src/types/redis_hash.rs:18
↓ 3 callersFunctioninit
(ip_addr: &str)
src/lib.rs:16
↓ 3 callersFunctionupdate_sums
(conn: &mut Connection, order_type: &OrderType, pair_id: &String, price: u128, amount: T)
order/src/order/store/order_store.rs:81
↓ 3 callersFunctionzrange
(conn: &mut redis::Connection, key: T, start: isize, stop: isize)
redis/src/types/redis_sorted_set.rs:10
↓ 2 callersFunctionadd_new_pair
(conn: &mut Connection, pair: &Pair)
order/src/order/store/order_pair_store.rs:8
↓ 2 callersMethodcan_execute_order
(&self, order: &Order, existing_order: &Order)
order/src/order/order_executor.rs:17
↓ 2 callersFunctionget_orderbook
(conn: &mut Connection, pair_id: &str, depth: u32)
src/lib.rs:23
↓ 2 callersFunctionget_orders_by_price_index
(conn: &mut Connection, order_type: &OrderType, pair: &Pair, start: isize, end: isize)
order/src/order/store/order_execution_type_store.rs:61
↓ 2 callersFunctionget_range_sorted_set_by_index
(conn: &mut Connection, key: &str, start: isize, end: isize, desc: bool)
order/src/order/store/order_type_store.rs:31
↓ 2 callersFunctionget_range_sorted_set_for_order_type
(conn: &mut Connection, key: &str, min: T, max: V, desc: bool)
order/src/order/store/order_type_store.rs:24
↓ 2 callersFunctionget_sorted_set_for_order_type
(conn: &mut Connection, key: &str, depth: isize, desc: bool)
order/src/order/store/order_type_store.rs:16
↓ 2 callersFunctionget_sum_of_orders_for_price_point
(conn: &mut Connection, order_type: &OrderType, pair: &String, price: u128)
order/src/order/orderbook.rs:23
↓ 2 callersFunctionhdel
(conn: &'a mut redis::Connection, key: &'a str, field: &'b str)
redis/src/types/redis_hash.rs:6
↓ 2 callersFunctionlrange
(conn: &mut redis::Connection, list: &str, start: i32, stop: i32)
redis/src/types/redis_list.rs:11
↓ 2 callersFunctionplace_trade
( conn: &mut Connection, publish_completed_trades: bool, user_id: &str, order_type: &str,
src/lib.rs:28
↓ 2 callersFunctionpublish
(conn: &'a mut redis::Connection, key: &'a str, field: &'b str)
redis/src/types/redis_pubsub.rs:5
↓ 2 callersMethodserialize
(&self)
order/src/order.rs:54
↓ 2 callersMethodserialize
(&self)
trade/src/trade.rs:48
↓ 2 callersFunctionsismember
(conn: &mut redis::Connection, key: U, member: V)
redis/src/types/redis_set.rs:10
↓ 2 callersFunctionzrangebyscore
(conn: &mut redis::Connection, key: T, min: U, max: V)
redis/src/types/redis_sorted_set.rs:22
↓ 2 callersFunctionzrevrange
(conn: &mut redis::Connection, key: T, stop: isize, start: isize)
redis/src/types/redis_sorted_set.rs:18
↓ 2 callersFunctionzrevrangebyscore
(conn: &mut redis::Connection, key: T, max: U, min: V)
redis/src/types/redis_sorted_set.rs:26
↓ 1 callersFunctioncreate_ask
(conn: &mut Connection, order: &Order, list_entry: &ListEntry)
order/src/order/store/order_store.rs:145
↓ 1 callersFunctioncreate_bid
(conn: &mut Connection, order: &Order, list_entry: &ListEntry)
order/src/order/store/order_store.rs:128
↓ 1 callersFunctioncreate_pair
(conn: &mut Connection, price_ticker: &str, ref_ticker: &str)
src/lib.rs:87
↓ 1 callersMethodexecute_order
(&self, new_order: &Order, existing_order: &Order)
order/src/order/order_executor.rs:42
↓ 1 callersFunctionflushall
(conn: &mut redis::Connection)
redis/src/connection.rs:36
↓ 1 callersFunctionget_all_pairs
(conn: &mut Connection)
src/lib.rs:92
↓ 1 callersFunctionget_input
(min: u32, max: u32)
src/main.rs:33
↓ 1 callersFunctionget_matching_limit_orders_for_execution
(conn: &mut Connection, order: &Order)
order/src/order/orderbook.rs:79
↓ 1 callersFunctionget_matching_market_orders_for_execution
(conn: &mut Connection, order: &Order)
order/src/order/orderbook.rs:47
↓ 1 callersFunctionget_orders_by_user_id
(conn: &mut Connection, user_id: &str)
order/src/order/store/order_store.rs:229
↓ 1 callersFunctionget_orders_by_user_id_and_pair_id
(conn: &mut Connection, user_id: &str, pair_id: &str)
order/src/order/store/order_store.rs:254
↓ 1 callersFunctionget_user_open_order_sum
(conn: &mut Connection, user_id: &str)
src/lib.rs:83
↓ 1 callersFunctioninit_listening_for_orders
(order_subscription_channel: &'static str, created_order_publishing_channel: &'static str)
src/lib.rs:147
↓ 1 callersFunctionlrem
(conn: &mut redis::Connection, list: &str, start: i32, val: T)
redis/src/types/redis_list.rs:15
↓ 1 callersFunctionprint_menu
()
src/main.rs:20
↓ 1 callersMethodserialize
(&self)
order/src/order/order_pair.rs:21
↓ 1 callersFunctionset
(conn: &mut redis::Connection, key: &str, val: T)
redis/src/types/redis_key.rs:10
↓ 1 callersFunctionsrem
(conn: &'a mut redis::Connection, key: &'a str, value: &'a str)
redis/src/types/redis_set.rs:18
↓ 1 callersMethodtotal_cost
(&self)
order/src/order.rs:51
↓ 1 callersFunctionupdate_order_amount
(conn: &mut Connection, order: &mut Order, amount_to_update: i128)
order/src/order/store/order_store.rs:101
↓ 1 callersFunctionzrem
(conn: &mut redis::Connection, key: &str, value: T)
redis/src/types/redis_sorted_set.rs:14
Methodcreate
(&self, price: u128, amount: u128)
order/src/order/order_executor_result.rs:11
Methoddeserialize
(json: &String)
src/lib.rs:137
Methoddeserialize
(json: &String)
order/src/order.rs:58
Methoddeserialize
(json: &String)
order/src/order/order_pair.rs:25
Methoddeserialize
(json: &String)
order/src/order/store/order_store.rs:30
Methoddeserialize
(json: &String)
trade/src/trade.rs:52
Functionget_key_by_order_type
(order_type: &OrderType)
order/src/order/store/order_type_store.rs:8
Functionget_message
(conn: &mut redis::PubSub)
redis/src/types/redis_pubsub.rs:15
Functionget_open_orders_for_ticker
(conn: &mut Connection, user_id: &str, ticker: &str)
order/src/order/store/order_store.rs:52
Functionget_orderbook
(conn: &mut Connection, pair_id: String, depth: u32)
order/src/lib.rs:7
Functionget_user_open_order_sum
(conn: &mut Connection, user_id: &str, ticker: &str)
order/src/order/orderbook.rs:9
Functionhgetall
(conn: &'a mut redis::Connection, key: &'a str)
redis/src/types/redis_hash.rs:14
Functioninit_pubsub
(conn: &mut connection::Connection)
src/lib.rs:143
Functionis_valid_pair
(conn: &mut Connection, pair: &Pair)
order/src/order/store/order_pair_store.rs:13
Functionit_works
()
redis/src/lib.rs:7
Functionit_works
()
trade/src/lib.rs:6
Functionmain
()
dummy.rs:2
Functionmain
()
src/main.rs:55
Functionmain
()
src/bin/redis_pubsub_listener.rs:5
Functionmain
()
src/bin/redis_created_orders_listener.rs:6
Functionmain
()
src/bin/http_api.rs:14
Functionmain
()
src/bin/redis_trades_completed_listener.rs:6
Methodnew
(user_id: &str, order_type: order_type::OrderType, order_execution_type: order_execution_type::OrderExecutionT
order/src/order.rs:28
Methodnew
(price_ticker: &str, ref_ticker: &str, uuid: Uuid)
order/src/order/order_pair.rs:14
Methodnew
(user_id: &str, uuid: &str)
order/src/order/store/order_store.rs:20
Methodnew
(pair_id: String, pair: String, execution_price: String, filled_amount: String, side: String, bid_user_id: Str
trade/src/trade.rs:34
Functionplace_trade
(conn: &mut Connection, publish_completed_trades: bool, o: &mut Order)
trade/src/trade.rs:58
Functionsubscribe
(conn: &mut redis::PubSub, channel: &str)
redis/src/types/redis_pubsub.rs:8
Functiontest_create_retrieve_order
()
order/src/order/store/order_store.rs:289
Functiontest_get_order_by_id
()
order/src/order/orderbook.rs:100
Functiontest_get_orders_from_uuid_list
()
order/src/order/store/order_execution_type_store.rs:115
Functiontest_get_set
()
redis/src/types/redis_key.rs:19
Functiontest_hget_hincrby
()
redis/src/types/redis_hash.rs:70
Functiontest_hget_hset
()
redis/src/types/redis_hash.rs:35
Functiontest_hget_hset_str
()
redis/src/types/redis_hash.rs:86
Functiontest_hmget
()
redis/src/types/redis_hash.rs:50
next →1–100 of 109, ranked by callers