-
-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
210 additions
and
91 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
/** | ||
* WhatToShow. | ||
*/ | ||
|
||
export const WhatToShow = { | ||
None: "", | ||
|
||
// only these are valid for real-time bars | ||
TRADES: "TRADES", | ||
MIDPOINT: "MIDPOINT", | ||
BID: "BID", | ||
ASK: "ASK", | ||
|
||
BID_ASK: "BID_ASK", | ||
HISTORICAL_VOLATILITY: "HISTORICAL_VOLATILITY", | ||
OPTION_IMPLIED_VOLATILITY: "OPTION_IMPLIED_VOLATILITY", | ||
YIELD_ASK: "YIELD_ASK", | ||
YIELD_BID: "YIELD_BID", | ||
YIELD_BID_ASK: "YIELD_BID_ASK", | ||
YIELD_LAST: "YIELD_LAST", | ||
ADJUSTED_LAST: "ADJUSTED_LAST", | ||
SCHEDULE: "SCHEDULE", | ||
} as const; | ||
export type WhatToShow = (typeof WhatToShow)[keyof typeof WhatToShow]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Time in Force. | ||
*/ | ||
|
||
export const TimeInForce = { | ||
DAY: "DAY", | ||
GTC: "GTC", | ||
OPG: "OPG", | ||
IOC: "IOC", | ||
GTD: "GTD", | ||
GTT: "GTT", | ||
AUC: "AUC", | ||
FOK: "FOK", | ||
GTX: "GTX", | ||
DTC: "DTC", | ||
Minutes: "Minutes", | ||
} as const; | ||
export type TimeInForce = (typeof TimeInForce)[keyof typeof TimeInForce]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.