gporter0205 / schwab-api-client

GNU General Public License v3.0
6 stars 1 forks source link

Cannot deserialize value of type FLATTEN #20

Closed diya1991 closed 4 days ago

diya1991 commented 6 days ago

2024-09-11T16:58:24.020-07:00 INFO 7482 --- [ctor-http-nio-3] .a.c.a.SchwabAccountsAndTradingApiClient : Fetch Account [3099AC] with positions Error in processing orders or placing a new order: JSON decoding error: Cannot deserialize value of type com.pangility.schwab.api.client.accountsandtrading.model.order.OrderStrategyType from String "FLATTEN": not one of the values accepted for Enum class: [SINGLE, OCO, TRIGGER]

diya1991 commented 5 days ago

can we prioritize it, this looks like a minor change adding new Enum FLATTEN

gporter0205 commented 4 days ago

It is a minor change that I've made. I'll be promoting it today if all goes well.