Skip to content

Commit fe41656

Browse files
committed
Add orientation to dataframe creation
1 parent 0617064 commit fe41656

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

investing_algorithm_framework/infrastructure/services/market_service/ccxt_market_service.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -432,8 +432,7 @@ def get_ohlcv(
432432
col_names = ["Datetime", "Open", "High", "Low", "Close", "Volume"]
433433

434434
# Combine the Series into a DataFrame with given column names
435-
df = pl.DataFrame(data, schema=col_names)
436-
435+
df = pl.DataFrame(data, schema=col_names, orient="row")
437436
return df
438437

439438
def get_ohlcvs(

0 commit comments

Comments
 (0)