Skip to content

Commit

Permalink
patch cypher query
Browse files Browse the repository at this point in the history
  • Loading branch information
Montague McMarten committed Dec 14, 2024
1 parent 25c1226 commit 8d8e8cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/schema_exchange_orders.rs
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ impl ExchangeOrder {
/// Note original data was in an RFC rfc3339 with Z for UTC, Cypher seems to prefer with offsets +00000
pub fn to_cypher_object_template(&self) -> String {
format!(
r#"{{user: {}, accepter: {}, order_type: "{}", amount: {}, price:{}, created_at: datetime("{}"), created_at_ts: {}, filled_at: datetime("{}"), filled_at_ts: {}, accepter_shill_up: {},accepter_shill_down: {}, rms_hour: {}, rms_24hour: {}, price_vs_rms_hour: {}, price_vs_rms_24hour: {} }}"#,
r#"{{user: {}, accepter: {}, order_type: "{}", amount: {}, price:{}, created_at: datetime("{}"), created_at_ts: {}, filled_at: datetime("{}"), filled_at_ts: {}, accepter_shill_down: {}, accepter_shill_up: {}, rms_hour: {}, rms_24hour: {}, price_vs_rms_hour: {}, price_vs_rms_24hour: {} }}"#,
self.user,
self.accepter,
self.order_type,
Expand Down

0 comments on commit 8d8e8cc

Please sign in to comment.