We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f13c82a commit a51e5f3Copy full SHA for a51e5f3
1 file changed
src/instrument/candles.py
@@ -83,6 +83,12 @@ def main():
83
help="The end date for the candles to be fetched. Format is 'YYYY-MM-DD HH:MM:SS'"
84
)
85
86
+ parser.add_argument(
87
+ "--alignment-timezone",
88
+ default=None,
89
+ help="The timezone to used for aligning daily candles"
90
+ )
91
+
92
args = parser.parse_args()
93
94
account_id = args.config.active_account
@@ -110,6 +116,9 @@ def main():
110
116
if args.to_time is not None:
111
117
kwargs["toTime"] = api.datetime_to_str(args.to_time)
112
118
119
+ if args.alignment_timezone is not None:
120
+ kwargs["alignmentTimezone"] = args.alignment_timezone
121
113
122
price = "mid"
114
123
115
124
if args.mid:
0 commit comments