How to write Python
Python code
import math
import numpy as np
import pandas as pd
import time
import datetime
import decimal
import get_raw_data, get_raw_data_in_df # functions to get the time-series data
# The object you have to put your code's result into
result : pd.DataFrame
'''
You code runs here
'''
# Convert result into JSON array.
# The structure should be the table with the columns.
return result
.where(pd.notnull(code_dict["result"]), None)
.replace({np.nan: None})
.to_dict(orient="records")
How to get market data
1. get_raw_data
2. get_raw_data_in_df
Information
Last updated

