Skip to content

Commit

Permalink
Fixed field names in IexTopOfTheBook model
Browse files Browse the repository at this point in the history
  • Loading branch information
gracg committed May 1, 2022
1 parent 504a4df commit 7a9b963
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/main/java/top/cptl/tiingo4j/models/IexTopOfTheBook.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package top.cptl.tiingo4j.models;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

@Data
Expand All @@ -9,8 +10,10 @@ public class IexTopOfTheBook {
private String quoteTimestamp;
private String lastSaleTimestamp;
private Double last;
private Integer size;
private Integer lastSize;
@JsonProperty("tngoLast")
private Double tiingoLast;
@JsonProperty("prevClose")
private Double previousClose;
private Double open;
private Double high;
Expand Down

0 comments on commit 7a9b963

Please sign in to comment.