From 0e44e03c07ad4c1c3ce36a1f3820e2b083b4c882 Mon Sep 17 00:00:00 2001 From: "Louis S. Berman" Date: Wed, 18 Sep 2024 17:41:12 -0400 Subject: [PATCH] Update AccountFinancingMode.cs Transaction with AccountFinancingMode are returning DAILY_COMPONENT and SECOND_BY_SECOND_COMPONENT. Not sure if these are new or replacement values, but I needed the change to prevent serialization errors on transaction streaming --- src/FFT.Oanda/Accounts/AccountFinancingMode.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/FFT.Oanda/Accounts/AccountFinancingMode.cs b/src/FFT.Oanda/Accounts/AccountFinancingMode.cs index 5f9e78a..54ac8af 100644 --- a/src/FFT.Oanda/Accounts/AccountFinancingMode.cs +++ b/src/FFT.Oanda/Accounts/AccountFinancingMode.cs @@ -25,4 +25,11 @@ public enum AccountFinancingMode /// Account daily at 5pm New York time. /// DAILY, + + // Observed in the wild but not reflected by the OANDA docs + // Not sure if these are replacements values or additions but + // whatever the case, the change was needed to prevent + // transaction serilization errors + DAILY_COMPONENT, + SECOND_BY_SECOND_COMPONENT }